diff options
| author | Pádraig Brady <pbrady@redhat.com> | 2012-05-16 13:44:46 +0100 |
|---|---|---|
| committer | Pádraig Brady <pbrady@redhat.com> | 2012-05-16 15:53:24 +0100 |
| commit | 0624b7aab0c0fe4869111ad8e302151548d6ba20 (patch) | |
| tree | 42f41f53d258873557222b1ffc9e305e1ee5a8d4 /nova/openstack | |
| parent | dc9c3cb3e376e6af263e4ffae88471317f830e0a (diff) | |
| download | nova-0624b7aab0c0fe4869111ad8e302151548d6ba20.tar.gz nova-0624b7aab0c0fe4869111ad8e302151548d6ba20.tar.xz nova-0624b7aab0c0fe4869111ad8e302151548d6ba20.zip | |
handle updated qemu-img info output
Originally `qemu-img info` always output an (actual path: ...)
even if it was duplicated with that already on the line.
$ instances=/var/lib/nova/instances/
$ qemu-img info $instances/instance-00000017/disk | grep 'backing'
backing file: $instances/_base/24083... (actual path: $the_same)
Whereas after the change referenced at:
https://lists.gnu.org/archive/html/qemu-devel/2012-05/msg01468.html
It suppresses a duplicate (actual path:)
$ instances=/var/lib/nova/instances/
$ qemu-img info $instances/instance-00000017/disk | grep 'backing'
backing file: $instances/_base/24083...
* nova/virt/libvirt/utils.py (get_disk_backing_file):
Avoid an indexError exception when parsing the newer format.
Fixes bug 1000261
Change-Id: Ie2889b6da8a5c93e0e874e7a330529f6e6e71b0b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
