Error During LTS2-Patch2 to LTS2-Patch4 Upgrade
Problem
While upgrading the management plane from LTS2-Patch2 [v-5.6.7-2624593] to LTS2-Patch4 [v-5.6.7-2658688], encountering the below error:
ERROR upgrading management plane
2023-10-11T10:08:24.585Z error fatal error:failed to upgrade: failed to upgrade kplane components: failed to upgrade helm chart /sbin/helm upgrade kplane-usermgr /opt/pf9/airctl/conf/helm_charts/kplane-components-0.3.4.tgz -f /opt/pf9/airctl/conf/kplane_values.yaml -f /opt/pf9/airctl/conf/secrets.yaml: exit status 1 - Error: UPGRADE FAILED: rendered manifests contain a resource that already exists. Unable to continue with update: Namespace "smcp-mgmt-kplane" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "kplane-usermgr"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "default"
Environment
- Platform9 Edge Cloud- LTS2-Patch2: v-5.6.7-2624593
Answer
This is a known issue, a jira- AIR-1224 has already been filed to track this issue and resolve it.The fix will be available in upcoming patch release.
Additional Information
For more details related to the release version having the fix and the ETA for release version with the fix, please open a support ticket mentioning the jira-id AIR-1223.
Was this page helpful?