]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dell SC: Incorrect values in REST API Login call
authorTom Swanson <tom_swanson@dell.com>
Mon, 22 Feb 2016 20:56:39 +0000 (14:56 -0600)
committerTom Swanson <tom_swanson@dell.com>
Tue, 8 Mar 2016 17:33:47 +0000 (11:33 -0600)
commit3274e4c49df1c2d0b9ded51361e7bb9cdcdaaeda
tree84025d4c53687d0d4ef07333de9971a425088ec5
parent8fbc112a9997c0bece61fa522fca9736aae56868
Dell SC: Incorrect values in REST API Login call

The Dell SC REST API driver (dell_storagecenter_api.py) could
specify the wrong api version header. On connection failure
the driver needs to parse the failure text to see if it is
the wrong value and try a second time.

Added the apiversion variable to the StorageCenterApiHelper
class so that this value only needs to be discovered once.

Updated open_connection appropriately.

Change-Id: Ibab6cf227f298b0fbf990aabcc674350a56c5439
Closes-Bug: 1548496
cinder/tests/unit/test_dellfc.py
cinder/tests/unit/test_dellsc.py
cinder/tests/unit/test_dellscapi.py
cinder/volume/drivers/dell/dell_storagecenter_api.py