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. # and fails.
cmd = ['lvchange', '-a', 'y', '--yes'] cmd = ['lvchange', '-a', 'y', '--yes']
if (self.supports_lvchange_ignoreskipactivation and if self.supports_lvchange_ignoreskipactivation:
self.vg_thin_pool is None):
cmd.append('-K') cmd.append('-K')
# If permanent=True is specified, drop the skipactivation flag in # If permanent=True is specified, drop the skipactivation flag in
# order to make this LV automatically activated after next reboot. # order to make this LV automatically activated after next reboot.