yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02236
[Bug 1175886] Re: nova-compute crash during taking snapshot
** 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/1175886
Title:
nova-compute crash during taking snapshot
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Nova Folsum version. Version Qemu 1.2.0
During taking snapshot, after a snapshot is taken and before it's
deleted, qemu-img might get this output:
[root@onelab1 ~]# qemu-img info /var/lib/nova/instances/instance-00000091/disk
image: /var/lib/nova/instances/instance-00000091/disk
file format: qcow2
virtual size: 9.8G (10486808576 bytes)
disk size: 274M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/52cc75a4d822082eb93df5cfe7c74496649abccb
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 instance-00000091_snapshot 261M 2013-05-02 17:01:06 30:48:06.288
That will cause exception in nova/virt/images.py:
def qemu_img_info(path):
"""Return a dict containing the parsed output from qemu-img info."""
out, err = utils.execute('env', 'LC_ALL=C', 'LANG=C',
'qemu-img', 'info', path)
# output of qemu-img is 'field: value'
data = {}
for line in out.splitlines():
field, val = line.split(':', 1) #<== Exception at this line when processing lines containing no ":"
if val[0] == " ": #<== this line causes exception when process the line of "Snapshot list:"
val = val[1:]
data[field] = val
return data
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1175886/+subscriptions