-
Notifications
You must be signed in to change notification settings - Fork 31
Description
What steps did you take and what happened?
Create a 1.33.x cluster and upgrade it to 1.34.x, or deploy a new 1.34.x cluster. Machines will be stuck with
2m36s Warning ControlPlaneUnhealthy rke2controlplane/machinename Waiting for control plane to pass preflight checks to continue reconciliation: [machine machinename reports AgentHealthy condition is false (Error, Missing node), machine machinename does not have EtcdMemberHealthy condition]
The machine itself is running and ready. This is due to a control plane label change. cluster-api-provider-rke2 bug was done to support 1.34.1. github automation marked it as 'done' in capi/turtles project as well 3 weeks ago here: rancher/cluster-api-provider-rke2#760.
I tried my luck bumping the rke2 version via turtles helm chart by doing cluster-api-operator.cluster-api.rke2.version: "v0.21.1" but the turtles control manager log gave
I1116 23:34:52.145093 1 genericprovider_controller.go:138] "Reconciling provider" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-bootstrap-system/rke2-bootstrap" namespace="rke2-bootstrap-system" name="rke2-bootstrap" reconcileID="6786a5a5-8132-4f91-8276-e4ce7444bb62"
I1116 23:34:52.180018 1 operator_reconciler.go:796] "Version latest is beyond current latest, updated to v0.20.1" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-bootstrap-system/rke2-bootstrap" namespace="rke2-bootstrap-system" name="rke2-bootstrap" reconcileID="6786a5a5-8132-4f91-8276-e4ce7444bb62"
I1116 23:34:52.188595 1 client.go:49] "Updating Secret: rke2-bootstrap-system/capi-env-variables" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-bootstrap-system/rke2-bootstrap" namespace="rke2-bootstrap-system" name="rke2-bootstrap" reconcileID="6786a5a5-8132-4f91-8276-e4ce7444bb62"
I1116 23:34:52.219842 1 core.go:74] "Created /, Kind=: rke2-bootstrap-system/capi-env-variables" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-bootstrap-system/rke2-bootstrap" namespace="rke2-bootstrap-system" name="rke2-bootstrap" reconcileID="6786a5a5-8132-4f91-8276-e4ce7444bb62"
I1116 23:34:52.243139 1 preflight_checks.go:56] "Performing preflight checks" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-bootstrap-system/rke2-bootstrap" namespace="rke2-bootstrap-system" name="rke2-bootstrap" reconcileID="6786a5a5-8132-4f91-8276-e4ce7444bb62"
I1116 23:34:52.247975 1 preflight_checks.go:183] "Waiting for the CoreProvider to be installed." controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-bootstrap-system/rke2-bootstrap" namespace="rke2-bootstrap-system" name="rke2-bootstrap" reconcileID="6786a5a5-8132-4f91-8276-e4ce7444bb62"
I1116 23:34:52.298611 1 genericprovider_controller.go:138] "Reconciling provider" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-control-plane-system/rke2-control-plane" namespace="rke2-control-plane-system" name="rke2-control-plane" reconcileID="6df7a842-05be-492d-9445-20ef860805e8"
I1116 23:34:52.306259 1 operator_reconciler.go:796] "Version latest is beyond current latest, updated to v0.20.1" controller="ProviderReconciler" controllerGroup="turtles-capi.cattle.io" controllerKind="CAPIProvider" CAPIProvider="rke2-control-plane-system/rke2-control-plane" namespace="rke2-control-plane-system" name="rke2-control-plane" reconcileID="6df7a842-05be-492d-9445-20ef860805e8"
What did you expect to happen?
support for stable rke2 release versions.
how often does turtles update the cluster-api-provider-rke2 version? I haven't been able to check available versions on https://registry.suse.com/.
How to reproduce it?
No response
Rancher Turtles version
rancher turtles version 0.24.3, which still has capiprovider bootstrap and controlplane on v0.20.1
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug
/area api