libvirt extract snapshot fails if qemu-img >= 0.12.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Vladan Popovic | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running stable/havana tempest against havana 2013.2 nova with this test:
tempest/
Using the libvirt driver on x86_64 RHEL 6.5 fails with this:
http://
Essentially: Stderr: "convert: invalid option -- 's'\n"
This is the code:
https:/
Looks like it's not a new change, it's just incompatible with the latest qemu-img:
https:/
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
Changed in nova: | |
assignee: | nobody → Vladan Popovic (vpopovic) |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
It is curious, the '-s' works well on qemu-img- 0.12.1. 2-2.355. el6.x86_ 64 on RHEL6.4 even though qemu-img does not recommend the option 's'. On RHEL6.5 beta, it does not work. The version is qemu-img- 0.12.1. 2-2.402. el6.x86_ 64