yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06520
[Bug 1247185] Re: libvirt extract snapshot fails if qemu-img >= 0.12.1
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1247185
Title:
libvirt extract snapshot fails if qemu-img >= 0.12.1
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Running stable/havana tempest against havana 2013.2 nova with this
test:
tempest/tempest/api/compute/images/test_images_oneserver.py:test_create_second_image_when_first_image_is_being_saved
Using the libvirt driver on x86_64 RHEL 6.5 fails with this:
http://paste.openstack.org/show/50398/
Essentially: Stderr: "convert: invalid option -- 's'\n"
This is the code:
https://github.com/openstack/nova/blob/2013.2/nova/virt/libvirt/utils.py#L549
Looks like it's not a new change, it's just incompatible with the
latest qemu-img:
https://github.com/openstack/nova/commit/b216ed51914986087ea7dee57bc29904fda001a0
Looks like in the latest qemu-img the snapshot was moved into it's own
sub-command:
[root@rhel62 ~]# qemu-img --help
qemu-img version 0.12.1, Copyright (c) 2004-2008 Fabrice Bellard
usage: qemu-img command [command options]
QEMU disk image utility
Command syntax:
check [-f fmt] filename
create [-f fmt] [-o options] filename [size]
commit [-f fmt] [-t cache] filename
convert [-c] [-p] [-f fmt] [-t cache] [-O output_fmt] [-o options] [-S sparse_size] filename [filename2 [...]] output_filename
info [-f fmt] filename
snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename
rebase [-f fmt] [-t cache] [-p] [-u] -b backing_file [-F backing_fmt] filename
resize filename [+ | -]size
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1247185/+subscriptions