[openstack-dev] [tempest][qa][ironic][nova] When Nova should mark instance as successfully deleted?
Vasyl Saienko
vsaienko at mirantis.com
Fri May 27 13:01:43 UTC 2016
Hello Community!
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
Ironic side.
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.
Sincerely,
Vasyl Saienko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160527/2d8b6bfc/attachment.html>
More information about the OpenStack-dev
mailing list