summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorPádraig Brady <pbrady@redhat.com>2013-01-03 02:59:34 +0000
committerPádraig Brady <pbrady@redhat.com>2013-01-22 14:50:35 +0000
commite91e6c07d9e34b79114ecac29b3669084e331f5a (patch)
tree56c28d7f519f52f556e1d220e4824dc0bede95ae /nova/utils.py
parentfab8af583bf6c363d2cebbc360ae2709325d80bd (diff)
downloadnova-e91e6c07d9e34b79114ecac29b3669084e331f5a.tar.gz
nova-e91e6c07d9e34b79114ecac29b3669084e331f5a.tar.xz
nova-e91e6c07d9e34b79114ecac29b3669084e331f5a.zip
ensure failure to inject user files results in startup error
This was the case in Essex but was inadvertantly changed in: folsom-2-95-g0d166ca. * nova/virt/disk/api.py: Refactor to allow specifying mandatory injection items, that result in an exception on failure to inject. * nova/virt/libvirt/driver.py: Specify that user 'files' are mandatory items and thus result in VM startup failure unless injected successfully. * nova/tests/test_virt_disk.py: A new test for the separate warning and error cases. Fixes bug: 1095744 Change-Id: Idab5c4294c1cb52098ce44a7aae957a44fb2674f
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions