From e8509ceb240faf929b9220eec1eff2a9cd5568ef Mon Sep 17 00:00:00 2001 From: Fergal Mc Carthy Date: Tue, 27 Oct 2015 14:25:45 -0400 Subject: [PATCH] lvconvert missing from cinder volume.filters The LVM lvconvert command is invoked by the revert method of the cinder.brick.local_dev.lvm.LVM class but was missing a matching volume.filters CommandFilter entry which has now been added. Change-Id: Ib436f562a6dd7b8828e34051b5d73273c1f52b50 Closes-Bug: 1510654 --- etc/cinder/rootwrap.d/volume.filters | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/cinder/rootwrap.d/volume.filters b/etc/cinder/rootwrap.d/volume.filters index 9e7ab384c..c4187eaec 100644 --- a/etc/cinder/rootwrap.d/volume.filters +++ b/etc/cinder/rootwrap.d/volume.filters @@ -61,6 +61,9 @@ lvextend: CommandFilter, lvextend, root # cinder/brick/local_dev/lvm.py: 'lvchange -a y -K ' lvchange: CommandFilter, lvchange, root +# cinder/brick/local_dev/lvm.py: 'lvconvert', '--merge', snapshot_name +lvconvert: CommandFilter, lvconvert, root + # cinder/volume/driver.py: 'iscsiadm', '-m', 'discovery', '-t',... # cinder/volume/driver.py: 'iscsiadm', '-m', 'node', '-T', ... iscsiadm: CommandFilter, iscsiadm, root -- 2.45.2