]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add retype in lvm driver
authorLisaLi <xiaoyan.li@intel.com>
Fri, 13 Nov 2015 02:09:03 +0000 (02:09 +0000)
committerLisaLi <xiaoyan.li@intel.com>
Tue, 1 Dec 2015 02:17:10 +0000 (02:17 +0000)
commit2dc4335338c3de8949c4a501d49f7cbe0315207e
treec5ee351120f20e9e1ea9fd1dced403bf24ec4af9
parent78873c7f65d93cdb66eb3b34f6c63de95347777b
Add retype in lvm driver

During retype operation, it makes sure that volume
types have same encryption, and same backend qos
before moving on.

In lvm driver, no extra_spec and qos are used. As
a result, if retype a volume to same host, it just
needs to return True, and no needs to migrate the
volume.

Change-Id: Id6273046424190ee3e36dabd4bfcf69466bf23ad
Closes-Bug: #1515840
cinder/tests/unit/test_volume.py
cinder/volume/drivers/lvm.py