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.
Reviewed: https:/ /review. openstack. org/18900 github. com/openstack/ nova/commit/ e91e6c07d9e34b7 9114ecac29b3669 084e331f5a
Committed: http://
Submitter: Jenkins
Branch: master
commit e91e6c07d9e34b7 9114ecac29b3669 084e331f5a
Author: Pádraig Brady <email address hidden>
Date: Thu Jan 3 02:59:34 2013 +0000
ensure failure to inject user files results in startup error
This was the case in Essex but was inadvertantly changed in: 2-95-g0d166ca.
folsom-
* nova/virt/ disk/api. py: Refactor to allow specifying libvirt/ driver. py: Specify that user 'files' test_virt_ disk.py: A new test for the
mandatory injection items, that result in an exception
on failure to inject.
* nova/virt/
are mandatory items and thus result in VM startup failure
unless injected successfully.
* nova/tests/
separate warning and error cases.
Fixes bug: 1095744 2098ce44a7aae95 7a44fb2674f
Change-Id: Idab5c4294c1cb5