Merge "Revert "Don't use ignoreskipactivation for thin LVM""

This commit is contained in:
Jenkins 2017-07-05 14:43:59 +00:00 committed by Gerrit Code Review
commit 640b870f9c

View File

@ -672,8 +672,7 @@ class LVM(executor.Executor):
# and fails.
cmd = ['lvchange', '-a', 'y', '--yes']
if (self.supports_lvchange_ignoreskipactivation and
self.vg_thin_pool is None):
if self.supports_lvchange_ignoreskipactivation:
cmd.append('-K')
# If permanent=True is specified, drop the skipactivation flag in
# order to make this LV automatically activated after next reboot.