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

Better UX to indicate the reason of WaitingForInfrastructure when using MachinePool/AzureMachinePool #4964

Open
MadJlzz opened this issue Jul 5, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@MadJlzz
Copy link
Contributor

MadJlzz commented Jul 5, 2024

/kind bug

What steps did you take and what happened:
Add a AzureMachinePool to a cluster with a vmSize not available in the MachinePool specified failureDomains.

While monitor the advancement of the pool provisionning with clusterctl, I've noticed that the state was not changing and staying blocked on WaitingForInfrastructure

Describing both MachinePool and AzureMachinePool object gave me no indication that the chosen vmSize was not available in the region/zones I've specified.

Finding the problem required me to check the logs of capz controller.

What did you expect to happen:
Have a better explanation on the status of the object to know why we're WaitingForInfrastructure.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • cluster-api-provider-azure version
> kg provider -A
NAMESPACE                           NAME                    AGE   TYPE                     PROVIDER      VERSION
capa-system                         infrastructure-aws      71d   InfrastructureProvider   aws           v2.3.1
capi-kubeadm-bootstrap-system       bootstrap-kubeadm       71d   BootstrapProvider        kubeadm       v1.7.2
capi-kubeadm-control-plane-system   control-plane-kubeadm   71d   ControlPlaneProvider     kubeadm       v1.7.2
capi-system                         cluster-api             71d   CoreProvider             cluster-api   v1.7.2
capz-system                         infrastructure-azure    71d   InfrastructureProvider   azure         v1.15.1
  • Kubernetes version: (use kubectl version)
> kubectl version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.12-gke.1115000
WARNING: version difference between client (1.29) and server (1.27) exceeds the supported minor version skew of +/-1
  • OS (e.g. from /etc/os-release): Ubuntu 22.04
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 5, 2024
@willie-yao
Copy link
Contributor

/priority backlog

@k8s-ci-robot k8s-ci-robot added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
Status: No status
Development

No branches or pull requests

3 participants