test-kitchen / kitchen-openstack

OpenStack Compute driver for Test-Kitchen
Other
56 stars 77 forks source link

Check for ERROR status after server create #220

Closed dtroyer closed 3 years ago

dtroyer commented 3 years ago

Description

After create_server returns check for an ERROR status and raise an exception. Since the ERROR state is unrecoverable there is no need to wait for glance_cache_wait_timeout to expire. glance_cache_wait_timeout is usually set to higher values than the other timeouts used with the OpenStack API. In CI scenarios where server create failures are more painful due to volume this change eliminates most of this wait time and allows the CI job to enter its retry logic sooner.

Issues Resolved

n/a

Check List