]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dell Storage Center Driver API bug
authorTom Swanson <tom_swanson@dell.com>
Fri, 27 Feb 2015 17:25:38 +0000 (11:25 -0600)
committerTom Swanson <tom_swanson@dell.com>
Sat, 28 Feb 2015 02:02:39 +0000 (20:02 -0600)
commit7da2dff16f2273de9d9d257568b7c7921de695cb
tree5d1623acfdea9024bc87f78b8b8b38e9ac9b1076
parent3660070d78560dbb74f34bc26d2ca9e5910b8137
Dell Storage Center Driver API bug

In later versions of the Dell Storage Center REST API
the index attribute is removed from the ScVolume object.
Referencing this caused an exception that failed volume
creation.  Replaced with instanceId.

Also _init_volume was mapping/unmapping to every server
that was currently up on the Storage Center rather than
a single server.  While this would certainly initialize
the volume it would create a lot of extra work on a busy
system.  We now break after the first map/unmap.

Changed copyright to 2015 to match when it will actually
be released.

Change-Id: I89f3967144d7effbb67d1498fc3b4a7a23042a59
Closes-Bug: 1426463
cinder/volume/drivers/dell/dell_storagecenter_api.py
cinder/volume/drivers/dell/dell_storagecenter_common.py
cinder/volume/drivers/dell/dell_storagecenter_fc.py
cinder/volume/drivers/dell/dell_storagecenter_iscsi.py