]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM: Volume is deleted unexpectedly during volume migration
authorMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Thu, 18 Dec 2014 14:07:24 +0000 (09:07 -0500)
committerMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Fri, 19 Dec 2014 21:12:42 +0000 (16:12 -0500)
commit37e35047062b66321f9af6393b2b1c609af54e1a
tree6801338b2d48e3bcda6f95b0f7a48c1848aeaf91
parentd1b89778f97fe235bef68a81215249ea590f327b
LVM: Volume is deleted unexpectedly during volume migration

When using LVMISCSIDriver, a volume is unexpectedly deleted during
volume migration operation. This problem only occurs when the
volume_group of backend A and backend B is same value such as
misconfiguration. Even if the configuration is wrong, cinder should
not delete the volume unexpectedly for user.

Closes-Bug: 1404013
Change-Id: I010be0c70589459a488cdef7cd83380eab27c61c
cinder/tests/test_volume.py
cinder/volume/drivers/lvm.py