From 7dbf9c7de23623223ef60c0566d9330797c5f87e Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Thu, 8 Mar 2012 16:26:13 -0800 Subject: Make snapshots with qemu-img instead of libvirt * snapshot is only supposed to snapshot the root drive, whereas libvirt snapshots snapshot the memory and all attached disks * removes silly qemu_img flag * fixes bug 946830 Change-Id: I6afc9dbaa855f06864cd5a37f89ad63555e35d23 --- nova/rootwrap/compute.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/rootwrap') diff --git a/nova/rootwrap/compute.py b/nova/rootwrap/compute.py index 31c0ad91d..9985edb3a 100755 --- a/nova/rootwrap/compute.py +++ b/nova/rootwrap/compute.py @@ -179,6 +179,10 @@ filterlist = [ # nova/virt/xenapi/vm_utils.py: 'mkfs' filters.CommandFilter("/sbin/mkfs", "root"), + # nova/virt/libvirt/utils.py: 'qemu-img' + filters.CommandFilter("/usr/bin/qemu-img", "root"), + # nova/virt/libvirt/connection.py: filters.ReadFileFilter("/etc/iscsi/initiatorname.iscsi"), + ] -- cgit