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

Improve status_reason when cluster creation is stalled #470

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jrosser
Copy link
Contributor

@jrosser jrosser commented Jan 8, 2025

If during cluster creation or update, one or more nodes cannot be created by Nova (because, for example, the project runs out of quota, or Nova runs out of suitable hypervisors), the cluster stalls with CREATE_IN_PROGRESS status. The status_reason in this case is not helpful as it only reports the previous step which succeeded.

This patch adds a check of each individual machine status looking for machines which are not ready and reports any reason found. This can result in useful status_reason messages such as
'error creating Openstack instance ... Quota exceeded for instances'

@jrosser jrosser force-pushed the better-status-reports-pr branch from 802a072 to 8fdb65e Compare January 8, 2025 19:26
If during cluster creation or update, one or more nodes cannot be
created by Nova (because, for example, the project runs out of
quota, or Nova runs out of suitable hypervisors), the cluster stalls
with CREATE_IN_PROGRESS status. The status_reason in this case is
not helpful as it only reports the previous step which succeeded.

This patch adds a check of each individual machine status looking
for machines which are not ready and reports any reason found.
This can result in useful status_reason messages such as
 'error creating Openstack instance ... Quota exceeded for instances'
@jrosser jrosser force-pushed the better-status-reports-pr branch from 8fdb65e to df7e0a1 Compare January 8, 2025 20:43
@yaguangtang yaguangtang requested a review from mnaser January 10, 2025 11:49
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.

2 participants