Error: Workload cluster [] are running on older kubernetes version. Please upgrade them to the supported versions before upgrade management cluster []
search cancel

Error: Workload cluster [] are running on older kubernetes version. Please upgrade them to the supported versions before upgrade management cluster []

book

Article ID: 387539

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

  • When trying to upgrade a management cluster, the upgrade fails and the below error is received in Telco Cloud Automation:

fail to update cluster <CLUSTER_NAME> to v1.27.5+vmware.1, code:400, response body: {
  "errors" : [ {
    "code" : "E_FAILED_TO_UPGRADE_CLUSTER",
    "message" : "Workload cluster [] are running on older kubernetes version. Please upgrade them to the supported versions [1.26.8] before upgrade management cluster <CLUSTER_NAME>."
  } ]
}, error: %!w(<nil>)

Note: the versions listed may differ in your environment.

  • Within the TCA UI, the clusters all report as being the 'supported version' noted in the error.

Environment

3.2

Cause

  • If there are any workload clusters that have not been upgraded to a supported version.
  • If there are any nodepools within a workload cluster that have not been upgraded to a supported version.
  • A discrepancy between the workload cluster's version stored in the database and the running configuration.

Resolution

  1. Re-apply the upgrade for the 'supported version' against the workload clusters under the management cluster noted in the error.
  2. Retry the management cluster upgrade.

If the problem persists, capture a TCA-M support bundle that includes the DB dump as well as the noted management cluster's logs and submit a support request.