QemuImageInfo() can't succeed because QemuImageInfo requires first argument
Bug #1157412 reported by
Sean Dague
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Davanum Srinivas (DIMS) |
Bug Description
In nova/virt/image.py if we ever manage to get to:
def qemu_img_
"""Return an object containing the parsed output from qemu-img info."""
if not os.path.
return QemuImgInfo()
out, err = utils.execute(
return QemuImgInfo(out)
and path does not exist, we throw an exception, as QemuImgInfo requires at least one argument.
We should probably fix it by making out="" in the QemuImgInfo constructor.
Changed in nova: | |
assignee: | nobody → Davanum Srinivas (DIMS) (dims-v) |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/24839
Review: https:/