scenario manager cleans up in reverse order of creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Expired
|
Medium
|
Unassigned |
Bug Description
tempst/
The way the tests are written this is great, assuming that that tests are successful. The problem is that if there's an issue as there often is in the boot_from_volume test this might not work.
Common issue being seen in the gates currently is:
1. Boot from volume is called
2. bootable volume is created and succeeds
3. nova boot is called against that volume
This call fails frequently timing out waiting to become ready
In this situation the test fails and bails out... and then calls clean up. Now, clean up is in a situation where it tries to pop "things" (specifically the volume) and delete it. The problem is that the volume is still in an "in-use" status from the "nova boot" process, so the cleanup fails.
Probably need to implement addCleanup here like we've done in other places that clears up the instance and frees up the volume.
Example occurrence of this can be found here: logs.openstack. org/57/ 60257/5/ check/check- tempest- dsvm-full/ d7c1324/ console. html
http://