Skip to content

Issue with Thumbprint updates when Thumbprint is set in VSphereMachineTemplate #3372

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

Open
alexzimmer96 opened this issue Mar 4, 2025 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@alexzimmer96
Copy link

/kind bug

What steps did you take and what happened:
When trying to update the vCenter Certificate Thumbprint in our environments, we discovered that changing the Thumbprint only in the VSphereCluster resource is not sufficient to get the reconcilation to start working again. The Thumbprint is included in the VSphereCluster and the VSphereMachineTemplate. Therefore, its not possible to update the the VSphereVM resource as discussed here (even if it should not be required).

What did you expect to happen:
From the discussion in other issues we expected to get the reconcilation loop back working when changing the Thumbprint only in the VSphereCluster resource. The "official" way of updating the Thumbprint would be therefore include creating patched VSphereMachine templates, update the reference and perform a full rolling upgrade of all nodes in every cluster.

Anything else you would like to add:
We played around with disabling the ValidationWebhook for UPDATE actions on the VSphereMachine and VSphereMachineTemplate. We can enable the reconcilation for a cluster again, when disabling the webhook and just patching the Thumbprint in at least on VSphereMachine of that cluster. After one VSphereMachine has the correct Thumbprint set, the reconcilation of the whole cluster (of the machine) is working again. Patching the Thumbprint in the VSphereMachineTemplate seems to have no effect at all.

Environment:

  • Cluster-api-provider-vsphere version: 1.10.0
  • Kubernetes version: (use kubectl version): 1.29.4
  • OS (e.g. from /etc/os-release): Talos Linux
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

No branches or pull requests

2 participants