You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Additional management v3 cluster created after upgrade, resulting in failed sequential v3 auto-migration.
What steps did you take and what happened?
Install turtles v0.8.0 (v3 option disabled) and import CAPI cluster
Upgrade turtles to latest dev version by keeping settings to default (v3 is auto-enabled to true)
An additional v3 cluster is created and corresponding v1 cluster
$ kubectl get cluster.provisioning.cattle.io -A
NAMESPACE NAME READY KUBECONFIG
default cluster1-capi true cluster1-capi-kubeconfig
fleet-default c-7q8g7
fleet-local local true local-kubeconfig
$ kubectl get cluster.management.cattle.io -A
NAME AGE
c-7q8g7 92s
c-m-6tl52brj 7m6s
local 16m
Update turtles settings and set managementv3-cluster-migration to true and let the operation complete.
The migrated cluster is Unavailable in Rancher.
$ kubectl get cluster.management.cattle.io -A
NAME AGE
c-7q8g7 6m20s
local 20m
$ kubectl get cluster.provisioning.cattle.io -A
NAMESPACE NAME READY KUBECONFIG
fleet-default c-7q8g7 true c-7q8g7-kubeconfig
fleet-local local true local-kubeconfig
What did you expect to happen?
No additional cluster creation after upgrade from v0.8.0
Validated on v0.9.0, the issue is not occurring. Filed a separate issue for failure on Step 4 (#588)
Cluster details after upgrade:
$ kubectl get cluster.provisioning.cattle.io -A
NAMESPACE NAME READY KUBECONFIG
default cluster1-capi true cluster1-capi-kubeconfig
fleet-local local true local-kubeconfig
$ kubectl get cluster.management.cattle.io -A
NAME AGE
c-m-2j2gwvd4 14m
local 27m
@cpinjani I am closing this, steps 1-3 are not issue anymore after upgrading to the new release v0.9.0 and only Step 4 was, but that has a separate issue: #588
Please re-open if you face the same issue again in the future.
Description:
Additional management v3 cluster created after upgrade, resulting in failed sequential v3 auto-migration.
What steps did you take and what happened?
The migrated cluster is Unavailable in Rancher.
What did you expect to happen?
No additional cluster creation after upgrade from v0.8.0
How to reproduce it?
Steps mentioned above.
Rancher Turtles version
Dev version - d7ecf2b
Rancher - v2.8-head
Anything else you would like to add?
While upgrade from v0.8.0 if both managementv3-cluster, managementv3-cluster-migration = true, then migration completes successfully.
Label(s) to be applied
/kind bug
The text was updated successfully, but these errors were encountered: