Activity log for bug #1394119

Date Who What changed Old value New value Message
2014-11-19 09:33:30 Li Ma bug added bug
2014-11-19 09:33:37 Li Ma rally: assignee Li Ma (nick-ma-z)
2014-11-19 11:17:24 OpenStack Infra rally: status New In Progress
2014-11-19 15:48:20 Boris Pavlovic rally: importance Undecided Medium
2014-11-20 01:39:57 Li Ma description When Nova allows soft-delete operation, currently, rally cannot deal with it and throws the exception when clean up all the created VMs. In benchmark/scenarios/nova/utils.py: def _delete_server(self, server): .... server.delete() <-- this can be soft-delete operation, meaning that VM is recycled temporarily but not completely deleted. If we use force_delete() function, VM can be safely deleted. When Nova allows soft-delete operation, currently, rally cannot deal with it and throws the exception when clean up all the created VMs. In benchmark/scenarios/nova/utils.py:     def _delete_server(self, server):         ....         server.delete() <-- this can be soft-delete operation, meaning that VM is recycled temporarily but not completely deleted. If we use force_delete() function, VM can be safely deleted. Reproducing: (Nova enables soft-delete) 1. Run task: boot-from-volume-and-delete.json 2. It creates several VMs and volumes. 3. It deletes VMs. 4. VM states change to soft-deleted, but volume state is still in-use because VM is not truly deleted. 5. It throws an exception saying that volume cannot be deleted. 6. The task is failed.
2014-11-25 16:52:04 OpenStack Infra rally: status In Progress Fix Committed
2014-11-25 17:10:51 Boris Pavlovic rally: status Fix Committed Fix Released