Make openstack VM provisioning error visiable#1686
Merged
cb-spider merged 1 commit intocloud-barista:masterfrom Mar 24, 2026
Merged
Make openstack VM provisioning error visiable#1686cb-spider merged 1 commit intocloud-barista:masterfrom
cb-spider merged 1 commit intocloud-barista:masterfrom
Conversation
Signed-off-by: Seokho Son <shsongist@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Improves the OpenStack driver’s VM provisioning wait loop so that VM creation failures surface the underlying Nova fault details instead of timing out with a generic “exceeded maximum retry count” message.
Changes:
- Adds periodic status logging while waiting for a VM to transition to
ACTIVE. - Detects
ERRORstatus during provisioning and returns an error containing Nova fault information when available. - Enhances the timeout error to include the VM’s last observed status.
cb-spider
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current OpenStack driver does not provide a clear error message during VM provisioning.
It keep checking
strings.ToLower(serverResult.Status) == "active"regardless of its internal Error..And, only returns
failed to start VM, exceeded maximum retry count (240), which prevents users from understanding the root cause.This PR fix the issue.