nova/nova/tests
Hironori Shiina 0e24e9e2ec ironic: Cleanup instance information when spawn fails
Instance information such as an instance_uuid set to an ironic node by
_add_driver_fields() is not cleared when spawning is aborted by an
exception raised before ironic starts deployment. Then, ironic node
stays AVAILABLE state with instance_uuid set. This information is not
cleared even if the instance is deleted. The ironic node cannot be
removed nor deployed again becuase instance_uuid remains.

This patch adds a method to remove the information. This method is
called if ironic doesn't need unprovisioning when an instance is
destroyed.

Change-Id: Idf5191aa1c990552ca2340856d5d5b6ac03f7539
Closes-Bug: 1596922
2016-08-05 00:59:28 +09:00
..
functional Merge "Transform instance.resize notifications" 2016-07-11 02:17:47 +00:00
live_migration/hooks Merge "Skip NFS and Ceph in live migration job test run" 2016-06-14 19:48:46 +00:00
unit ironic: Cleanup instance information when spawn fails 2016-08-05 00:59:28 +09:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fixtures.py Transform instance.delete notifications 2016-06-30 16:54:51 +02:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00