tempest/tempest/common
Lee Yarwood 1bd6059454 compute: Rework attach_volume waiters and cleanup
This change reworks both the waiters while attaching a volume *and* the
ordering of the waiters when detaching.

This is done to ensure the wait_for_volume_attachment_remove_from_server
waiter is called first as this  uses the servers client and is able to
dump the contents of the instance console when we hit a timeout.  The
contents of the instance console being incredibly useful to debug issues
within the guestOS when detaching devices as seen in bug #.

The wait_for_volume_attachment_remove_from_server waiter is also
extended to ignore missing Nova volume attachments as this can easily
happen if tests have manually detached volumes ahead of the cleanups
being called.

TODOs are also left to move away from using the volume status to
determine when a given volume has been attached and instead use the
state of volume attachments both in Nova and Cinder.

Related-Bug: #1931702
Change-Id: I8f7986dc6d8689d569b7fba74cca38de4236c6d6
2021-08-06 08:16:02 +00:00
..
utils Wait couple of seconds for dns servers to be set in the guest 2021-07-23 13:22:16 +02:00
__init__.py Changes the namespace from storm to tempest, as well as adding addition tests and improvements 2011-12-06 16:48:03 -06:00
compute.py Remove usage of six 2021-02-18 10:43:57 +08:00
credentials_factory.py Add system scope for admin auth 2021-01-11 19:11:45 +00:00
custom_matchers.py Remove checking of Accept-Range header 2020-07-08 08:55:18 +00:00
identity.py Add autopep8 to tox.ini 2019-03-08 16:04:05 +01:00
image.py Replace six.iteritems with dict.items 2017-01-03 23:17:34 +00:00
tempest_fixtures.py Update all Oslo module use 2015-03-11 21:07:56 +00:00
waiters.py compute: Rework attach_volume waiters and cleanup 2021-08-06 08:16:02 +00:00