Merge lp://qastaging/~vishvananda/nova/lp824433 into lp://qastaging/~hudson-openstack/nova/trunk
Proposed by
Vish Ishaya
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Brian Lamar | ||||
Approved revision: | 1530 | ||||
Merged at revision: | 1590 | ||||
Proposed branch: | lp://qastaging/~vishvananda/nova/lp824433 | ||||
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk | ||||
Diff against target: |
173 lines (+84/-44) 2 files modified
nova/tests/test_libvirt.py (+71/-33) nova/virt/libvirt/connection.py (+13/-11) |
||||
To merge this branch: | bzr merge lp://qastaging/~vishvananda/nova/lp824433 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Lamar (community) | Approve | ||
Mark McLoughlin (community) | Approve | ||
Todd Willey (community) | Approve | ||
Review via email:
|
Description of the change
Fixes the handling of snapshotting in libvirt driver to actually use the proper image type instead of using raw for everything. Also cleans up an unneeded flag. Based on doude's initial work.
To post a comment you must log in.
Not sure why, but this seems to fail for me:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= in_raw_ format (nova.tests. test_libvirt. LibvirtConnTest Case) ------- ------- ------- ------- ------- ------- ------- ------- ------- brian.lamar/ Projects/ openstack/ nova/lp824433/ nova/tests/ test_libvirt. py", line 357, in test_snapshot_ in_raw_ format assertEquals( snapshot[ 'disk_format' ], FLAGS.snapshot_ image_format)
FAIL: test_snapshot_
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 'qcow2' != None
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 1730 tests in 478.018s
FAILED (SKIP=4, failures=1)