]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NetApp FC drivers should not set 'rw' access mode
authorClinton Knight <cknight@netapp.com>
Mon, 4 Jan 2016 19:05:40 +0000 (14:05 -0500)
committerClinton Knight <cknight@netapp.com>
Tue, 5 Jan 2016 20:36:00 +0000 (20:36 +0000)
commit67187e5e813b223588a9fc44a6c37d8fb2482cbe
tree6c5e839876cc86d25fe19f97bff9fe363a697016
parent7df01a599ac40b28ad8bd753660d9a466cec6250
NetApp FC drivers should not set 'rw' access mode

The volume manager is responsible for setting the initiator access
mode in initialize_connection based on volume metadata.  The NetApp
FC drivers currently hardcode the access mode to 'rw'.  So the fix
is to stop setting the access_mode value in the connection info that
is returned from the NetApp drivers.

Partial-Bug: 1526152
Change-Id: I587bba62ebfc067bb362ce95b324b4a74c0e02d0
cinder/tests/unit/volume/drivers/netapp/dataontap/fakes.py
cinder/tests/unit/volume/drivers/netapp/eseries/test_library.py
cinder/volume/drivers/netapp/dataontap/block_base.py
cinder/volume/drivers/netapp/eseries/library.py