Skip to content

Local k3s clusters were not able to be upgraded within Rancher post upgrade from 2.5 to 2.6 #35797

@deniseschannon

Description

@deniseschannon

This seems to be fixed with the latest SUC version introduced in 2.6.3, but this is a explicit request to test this use case to check.

SURE-3539
SURE-3388

Before rancher server upgrade: Rancher version - v2.5.9, k3s v1.20.9+k3s1, SUC: 0.6.2

Post rancher server upgrade: Rancher version - v2.6.2, k3s v1.20.11+k3s2, SUC: 0.7.5

  1. Created a k3s HA cluster on the version 1.20.9
  2. Installed rancher v2.5.9 on this k3s cluster
  3. Upgraded the k3s version to v1.20.11+k3s2
  4. Verified all the nodes were upgraded - SUC version 0.6.2 and the service account name is system-upgrade
    kubectl get serviceaccount -A | grep -i system-upgrade
    apps & market --> installed apps --> SUC app installed
  5. Upgraded the rancher version to v2.6.2
  6. Verified all rancher pods were upgraded. SUC version is 0.7.5
  7. Upgraded the k3s version in the local cluster from the UI to v1.21.4+k3s2
  8. The initial node, the upgrade was attempted on was stuck in cordoned and the local cluster is stuck in upgrading and the service account name is system-upgrade-controller
  9. Following error is seen in the cluster events:
    Error creating: pods "apply-k3s-master-plan-on-ip-172-31-8-247-with-57eb7803114-9fcec-" is forbidden: error looking up service account cattle-system/system-upgrade: serviceaccount "system-upgrade" not found

Metadata

Metadata

Labels

internalteam/hostbustersThe team that is responsible for provisioning/managing downstream clusters + K8s version support

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions