/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
When creating a cluster in a region where subscription doesn't have enough quota, it doesn't fast fail but keeps reconciling
What did you expect to happen:
It should fast fail after checking whether it has enough quota in the sub
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version): /etc/os-release): /good-first-issue
@CecileRobertMichon:
This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.
In response to this:
/good-first-issue
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign
/unassign
/assign
/unassign
Discussed with @ritazh and others.
@shanalily @ritazh, do you have any findings to share about this issue that could be useful for someone else when they pick up the issue that you want to share?
The team discussed what the user experience should be for this issue.
Some options are:
/assign
To add a bit to @ritazh's comment above, just for posterity. We also discussed using Compute Usage API to see if there are enough of a VM SKU available.
Might be useful for changes to MachineDeployment / MachinePool validation.
Option 1) seems like the best way to handle this to me as well.
We might also want to bubble up the error (and other errors) to AzureMachine status as well, right now AzureCluster and AzureMachine status don't show much. For future improvement, it would be nice to add a Phase similar to Cluster/Machine status.
@ritazh are you working on this? I see you're still assigned.
@CecileRobertMichon sorry for the delay. Have not had time to work on this yet.
/unassign
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
@fejta-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue with/reopen.
Mark the issue as fresh with/remove-lifecycle rotten.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Most helpful comment
/assign