]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
IBM Storwize driver: Retype the volume with correct empty QoS
authorVincent Hou <sbhou@cn.ibm.com>
Fri, 12 Sep 2014 08:10:02 +0000 (16:10 +0800)
committerThierry Carrez <thierry@openstack.org>
Wed, 8 Oct 2014 10:27:04 +0000 (12:27 +0200)
commit2601acaec8d3c154f7638db0e7dad307d0efcc48
tree3dd8095910526ddee6f2e600a272d0df8714c99e
parent20d1476624d7257bd7f5439a54f802fd4f20f765
IBM Storwize driver: Retype the volume with correct empty QoS

* Currently for Storwzie driver, if the new type does not have QoS
configurations, the old QoS configurations remain in the volume after
retyping it. It should be retyped into a volume with empty QoS for the
Storwize driver.
* Refactor three dicts into one for better maintainance of the QoS keys
for Storwize driver.

DocImpact

Change-Id: I2b2801a4ef72ef02c11392ed00b56f5263a8a7e4
Closes-Bug: #1368595
(cherry picked from commit 26de1b1d829849665dae921b8be739194b84515d)
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py