]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM: Activate source snap LV when cloning from volume
authorEric Harney <eharney@redhat.com>
Fri, 13 Dec 2013 16:18:56 +0000 (11:18 -0500)
committerEric Harney <eharney@redhat.com>
Fri, 13 Dec 2013 20:49:59 +0000 (15:49 -0500)
commit673057320929d33095c998d477c2537567ccf74b
tree720331ab1ce40155e6ef3e6a75fc69bb231a19ae
parente3ce1ca32c758f71fb801e605a8ff0326223f69b
LVM: Activate source snap LV when cloning from volume

Similar to the change made in:
01a2199 LVM: Activate source LV before cloning from it

Previous change only fixed this issue for clone-from-snapshot.

This activates the source snapshot LV when cloning from volume
as well, fixing the problem where cloning fails due to inability
to open the source LV device.

Change-Id: If48be8516fd71738cb83a91683c33d02f227b9d6
Related-Bug: 1252423
Closes-Bug: 1260786
cinder/tests/brick/fake_lvm.py
cinder/volume/drivers/lvm.py