]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Change iogrp property when retyping for Storwize/SVC
authorLi Min Liu <liminliu@cn.ibm.com>
Tue, 1 Apr 2014 09:08:37 +0000 (17:08 +0800)
committerjohn-griffith <john.griffith@solidfire.com>
Fri, 4 Apr 2014 14:41:10 +0000 (08:41 -0600)
commit6d29278f05aafdbb9b0165178866e4a05fb534f0
tree80b0a116289f25c07c9390344a543823fc18f339
parent5a1fcc88ce613b01cf50c55f2508c01bbc609ed4
Change iogrp property when retyping for Storwize/SVC

If need migration when retyping, Storwize/SVC driver will add a copy
of the volume first, and then start a task to check volume sync
progress which will run each 10 mins. At last delete the origin copy
when sync finished.

But iogrp property is not a parameter of addvdiskcopy, so the iogrp
of the copy volume is the same as the origin. If iogrp property is
diff between the old and new volume type, the property will not
change when retyped.

Change-Id: Ie4414bcf95fa6e61d7d618618f48837eef740da4
closed-bug: #1298247
(cherry picked from commit 5c336123d3252e7fc4e1aeabd853457ab05838be)
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
cinder/volume/drivers/ibm/storwize_svc/ssh.py