-
Notifications
You must be signed in to change notification settings - Fork 74
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
Bump Rancher to v2.7.9 and RKE2 to v1.26.11+rke2r1 #605
Conversation
New nodes can't join and Rancher keep complaing:
|
There is a new deployment
The error is from https://github.com/kubernetes-sigs/cluster-api/blob/1c3a1526f101d4b07d2eec757fe75e8701cf6212/controllers/remote/cluster_cache.go#L164-L168. If we check the rest-config, it's from secret data:
apiServerCA: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJ2VENDQVdPZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQkdNUnd3R2dZRFZRUUtFeE5rZVc1aGJXbGoKYkdsemRHVnVaWEl0YjNKbk1TWXdKQVlEVlFRRERCMWtlVzVoYldsamJHbHpkR1Z1WlhJdFkyRkFNVGN3TVRNNQpOakV6T0RBZUZ3MHlNekV5TURFd01qQXlNVGhhRncwek16RXhNamd3TWpBeU1UaGFNRVl4SERBYUJnTlZCQW9UCkUyUjVibUZ0YVdOc2FYTjBaVzVsY2kxdmNtY3hKakFrQmdOVkJBTU1IV1I1Ym1GdGFXTnNhWE4wWlc1bGNpMWoKWVVBeE56QXhNemsyTVRNNE1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRW1FWG1acGhpTXd1UQpOTm1qR21xQk9lL25VYkx5NGdoNE1QendoT2JKMlI0QjBIajZvZzNMZ2NwdThveXN6SDZINDVqWGlhWU1wS2o0ClczSXlmaXluQjZOQ01FQXdEZ1lEVlIwUEFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0hRWUQKVlIwT0JCWUVGQUFTM3RtdVZlSDdHcGFOR2tJTjY4NUJ2bGRXTUFvR0NDcUdTTTQ5QkFNQ0EwZ0FNRVVDSUhrZwppRm1hZUpW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9UMkpLTWxJMFFqQklhalp2WnpOTVoyTndkVGh2ZVhONlNEWklORFZxV0dsaFdVMXdTMm8wQ2xjelNYbG1hWGx1UWpaT1EwMUZRWGRFWjFsRVZsSXdVRUZSU0M5Q1FWRkVRV2RMYTAxQk9FZEJNVlZrUlhkRlFpOTNVVVpOUVUxQ1FXWTRkMGhSV1VRS1ZsSXdUMEpDV1VWR1FVRlRNM1J0ZFZabFNEZEhjR0ZPUjJ0SlRqWTROVUoyYkdSWFRVRnZSME5EY1VkVFRUUTVRa0ZOUTBFd1owRk5SVlZEU1Voclp3cHBSbTFoWlVwV2NFNDNMMHhQY2pSM1YzWnBkbGhTVTNZNE9GUjFlRU5tY1dVM1prNVJUMlp6UVdsRlFYWnROVWRFU3pjMllqWnBVRVIxVW1OWFNGSjFDbUZ0YVRNNU1UaHBLelZ0VFRkMldVTkNTRUphUVZablBRb3RMUzB0TFVWT1JDQkRSVkpVU1VaSlEwRlVSUzB0TFMwdAogICAgc2VydmVyOiBodHRwczovLzEwLjUzLjE3OS4yMjMvazhzL2NsdXN0ZXJzL2xvY2FsCiAgbmFtZTogY2x1c3Rlcgpjb250ZXh0czoKLSBjb250ZXh0OgogICAgY2x1c3RlcjogY2x1c3RlcgogICAgdXNlcjogdXNlcgogIG5hbWU6IGRlZmF1bHQKY3VycmVudC1jb250ZXh0OiBkZWZhdWx0CmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KdXNlcnM6Ci0gbmFtZTogdXNlcgogIHVzZXI6CiAgICB0b2tlbjogdS1tbzc3M3l0dHQ0Ojl3dHc2NzZoN3Bmajh0NmticDhtOThqdHZtcGtobjl0cGRic2tsd3NyNzdqY3ZwMm1qbmQ1Zwo= The |
After few days investigation, the root cause may be that CAPI can't connect to rancher service. From Machine CR [1], its The error message in CAPI controller is:
Someone say the error is caused from different version between client-go and server [2]. In Rancher v2.7.9, it uses CAPI v1.4.4, CAPI uses controller-runtime v0.14.5, controller-runtime uses client-go v0.26.1. I tried to use different RKE2 versions like v1.26.1+rke2r1 or v1.26.10+rke2r2 with this Rancher update, but both can't fix the issue. [1] Machine CR
|
47e6d04
to
f942ed5
Compare
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
f942ed5
to
3c5a516
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I can upgrade from v1.2.1 and provision in airgap environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. thanks.
@mergify backport v1.2 |
✅ Backports have been created
|
Problem:
We need to bump Rancher to v2.7.9 and RKE2 to v1.26.11+rke2r1.
Solution:
Bump Rancher to v2.7.9 and RKE2 to v1.26.11+rke2r1.
Related Issue:
harvester/harvester#4782
Test plan: