0e24e9e2ec
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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_client_wrapper.py | ||
test_driver.py | ||
test_patcher.py | ||
utils.py |