helpful-gigabyte-87366
05/15/2025, 11:02 AMError while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.
This loop prevents the VM setup from completing, and consequently, the VM doesn't get an IP address.
Debugging Performed:
1. I suspect this error originates from the Rancher System Agent install.sh
script, possibly around the CA verification logic (link for reference: https://github.com/rancher/system-agent/blob/main/install.sh#L721C1-L762C2).
2. Inside the failed VM's virt-launcher
pod shell, I ran the curl
command that's likely causing the issue. The output was:
3. verify result: 20
4. curl exit: 60
5. curl exit 60
typically indicates an SSL certificate problem (like a self-signed certificate that isn't trusted).
Key Observation: VMs provisioned on the original three nodes (which were upgraded to 1.4) using the same process and image do not experience this error and provision successfully. The issue seems isolated to VMs running specifically on the newly added v1.4 worker node.
Question: Does anyone have experience with this type of CA verification failure (curl exit 60
) when adding a new node to an existing, upgraded Harvester cluster? Could this be related to how the new node is trusting the cluster's CA, or perhaps an issue with the Rancher endpoint accessibility/trustworthiness only from VMs on that specific node?
Any pointers or suggestions on how to diagnose this further would be greatly appreciated!
Thanks!thousands-advantage-10804
05/15/2025, 12:00 PMhelpful-gigabyte-87366
05/15/2025, 12:26 PMthousands-advantage-10804
05/15/2025, 12:28 PMthousands-advantage-10804
05/15/2025, 12:29 PMhelpful-gigabyte-87366
05/15/2025, 12:34 PMthousands-advantage-10804
05/15/2025, 3:07 PM/var/log/cloud-init-output.log
for the outputrhythmic-article-81903
05/15/2025, 5:24 PMrhythmic-article-81903
05/15/2025, 5:26 PM