]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM: Activate source LV before cloning from it
authorEric Harney <eharney@redhat.com>
Mon, 18 Nov 2013 18:42:37 +0000 (13:42 -0500)
committerEric Harney <eharney@redhat.com>
Wed, 20 Nov 2013 20:14:41 +0000 (15:14 -0500)
commitb9ff8cd7ad8c402787324d2baca9b32f61eafb4a
tree4db35607d3a85d4129d86361d3fcb79b03952814
parent1099f09a2d22389b75377758f89a4f3365e69305
LVM: Activate source LV before cloning from it

LVM may be configured to not automatically activate
thin-provisioned LVs.

Ensure they are activated when performing a clone, otherwise
dd will fail as the device does not exist in /dev/mapper/.

Closes-Bug: #1252423

Change-Id: Ibcb946ffe7804b1976bf1b1863c48340c8cc7fd5
cinder/brick/local_dev/lvm.py
cinder/tests/brick/test_brick_lvm.py
cinder/volume/drivers/lvm.py
etc/cinder/rootwrap.d/volume.filters