Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for ERROR status after server create #220

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

dtroyer
Copy link

@dtroyer dtroyer commented Sep 30, 2021

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

  • All tests pass. See TESTING.md for details.
  • New functionality includes testing.
  • New functionality has been documented in the README if applicable.

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.

Signed-off-by: Dean Troyer <dtroyer@gmail.com>
@tas50 tas50 merged commit d61f523 into test-kitchen:master Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants