2014-09-23 00:26:22 |
Joe Gordon |
description |
tempest doesn't always check to make sure deleting servers worked
For example tempest/api/compute/images/test_images_negative.py:test_create_image_from_stopped_server calls: self.addCleanup(self.servers_client.delete_server, server['id'])
This means that its easier for delete server bugs to go unnoticed and this will also cause tempest to leak resources.
but the nova command to delete a server is asynchrounous and tempest/services/compute/json/servers_client.py:delete_server doesn't wait until the server is done deleting. There is a separate command that does that tempest/services/compute/json/servers_client.py:wait_for_server_termination. But it would be nice if there was a single function that did delete_server_and_wait_for_termination or something like that.
Found while investigating https://bugs.launchpad.net/nova/+bug/1372670 (using http://logs.openstack.org/43/116443/7/check/check-tempest-dsvm-full/6ccbfa9/logs/tempest.txt.gz) |
tempest doesn't always check to make sure deleting servers worked
For example tempest/api/compute/images/test_images_negative.py:test_create_image_from_stopped_server calls: self.addCleanup(self.servers_client.delete_server, server['id'])
This means that its easier for delete server bugs to go unnoticed and this will also cause tempest to leak resources.
but the nova command to delete a server is asynchronous and tempest/services/compute/json/servers_client.py:delete_server doesn't wait until the server is done deleting. There is a separate command that does that tempest/services/compute/json/servers_client.py:wait_for_server_termination. But it would be nice if there was a single function that did delete_server_and_wait_for_termination or something like that.
Found while investigating https://bugs.launchpad.net/nova/+bug/1372670 (using http://logs.openstack.org/43/116443/7/check/check-tempest-dsvm-full/6ccbfa9/logs/tempest.txt.gz) |
|