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

Cluster creation fails when no resource pool is specified #1640

Closed
srm09 opened this issue Oct 12, 2022 · 0 comments · Fixed by #1641
Closed

Cluster creation fails when no resource pool is specified #1640

srm09 opened this issue Oct 12, 2022 · 0 comments · Fixed by #1641
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@srm09
Copy link
Contributor

srm09 commented Oct 12, 2022

/kind bug

What steps did you take and what happened:

  • Enable the node anti affinity feature for the CAPV deployment
  • Create a cluster with the KCP and the MD objects using VSphereMachineTemplate objects without a resource pool, set VSPHERE_RESOURCE_POOL to ''
  • Cluster creation fails since the VSphereCluster object never moves to Ready state.

What did you expect to happen:

  • Cluster creation should succeed since resource pool is an optional field for VSphereMachineTemplate CR.

Anything else you would like to add:
Similar to the clone operation, if no resource pool is specified, then the resource pool lookup should fallback to the default value.

Environment:

  • Cluster-api-provider-vsphere version: v1.4.0
@srm09 srm09 self-assigned this Oct 12, 2022
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 12, 2022
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants