Remove redundant logic on read-only volume in VNX Cinder Driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Jeegn Chen |
Bug Description
The logic on read-only volume in cinder/
The logic in cinder/
cinder/
def initialize_
volume_metadata = {}
for metadata in volume[
access_mode = volume_
if access_mode is None:
access_mode = ('ro'
LOG.
# Add access_mode to connection info
cinder/
volume_metadata = self.db.
if conn_info[
access_mode = volume_
if access_mode is None:
# NOTE(zhiyan): client didn't call 'os-attach' before
access_mode = ('ro'
conn_
Changed in cinder: | |
status: | New → Confirmed |
assignee: | nobody → EMC VNX OpenStack (emc-vnx-openstack) |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in cinder: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-1 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/173183
Review: https:/