[openstack-dev] [tempest][qa][ironic][nova] When Nova should mark instance as successfully deleted?
vsaienko at mirantis.com
Fri May 27 13:01:43 UTC 2016
At the moment Nova with ironic virt_driver consider instance as deleted,
while on Ironic side server goes to cleaning which can take a while. As
result current implementation of Nova tempest tests doesn't work for case
when Ironic is enabled.
There are two possible options how to fix it:
1. Update Nova tempest test scenarios for Ironic case to wait when
cleaning is finished and Ironic node goes to 'available' state.
2. Mark instance as deleted in Nova only after cleaning is finished on
I'm personally incline to 2 option. From user side successful instance
termination means that no instance data is available any more, and nobody
can access/restore that data. Current implementation breaks this rule.
Instance is marked as successfully deleted while in fact it may be not
cleaned, it may fail to clean and user will not know anything about it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev