cinder/cinder/brick
Eric Harney 99d79431e3 LVM: Activate LV before creating exports
In some circumstances (such as after a reboot),
especially with thin LVM, the LV may not be activated, so
creating a target from it will fail.

Activate the LV before creating a target.

When using permanent=True for activation, don't supply
the -K/ignoreskipactivation argument.  This is rejected
by LVM 2.02.171, and is not a reasonable request, since
it asks to simultaneously unset a flag, and also to ignore
the flag (which should now be unset) during the same
activation operation.

This fixes a failure to clone a volume from another thin
LVM volume in the same pool.

Closes-Bug: #1701545

Change-Id: I925ece8833cc99a95c4cf693804ca3698f8cb114
2017-07-21 11:22:31 -04:00
..
local_dev LVM: Activate LV before creating exports 2017-07-21 11:22:31 -04:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
README.txt Remove Brick from cinder codebase 2015-05-11 08:23:27 -07:00

Brick has been migrated to a new standalone
pypi library called os-brick.

We are leaving the local_dev directory here for the time
being until we can migrate it to a new home.