summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-02-21 19:33:23 +0000
committerDaniel P. Berrange <berrange@redhat.com>2013-02-21 19:44:35 +0000
commit78126baa70f9f05ae9fd9f7423da4ea0ba45c49c (patch)
tree9b3e16a3d6ad2c24cef891e0733426b23b27981d /nova/utils.py
parent0f0a8c6bcce1b230a5719b35089f25e55a1359a8 (diff)
downloadnova-78126baa70f9f05ae9fd9f7423da4ea0ba45c49c.tar.gz
nova-78126baa70f9f05ae9fd9f7423da4ea0ba45c49c.tar.xz
nova-78126baa70f9f05ae9fd9f7423da4ea0ba45c49c.zip
Fix launching libvirt instances with swap
The code in commit 7be531fe9462f2b07d4a1abf6687f649d1dfbb89 Author: Daniel P. Berrange <berrange@redhat.com> Date: Tue Jan 15 20:43:48 2013 +0000 Refactor code for setting up libvirt disk mappings accidentally broken launching of instances where the flavor had non-zero swap specified. This was not caught due to complete lack of test coverage for the '_create_image' method. This adds two test cases for that method, exercising this bug. It also fixes a bug in netutils which was not handling a NULL network mapping, which is a valid scenario for several callers. Fixes bug #1131306 Change-Id: I214561ba3ec6440d11a5afb0665e6b6f990bd148 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions