Crossplane Helm Releases troubleshooting
This page provides troubleshooting tips for issues with Crossplane Helm Releases.
Releases are not in the READY state even if all pods are running
This issue may occur when you misconfigure the dependent resources and update them after creating the composition claim. The pods should recognise the update and start working correctly but the Crossplane Helm Release can still not be in the READY state. To resolve this issue, follow the steps below. All of these steps may take a while to take effect as Crossplane must notice the change, act on it, and the pods need to restart.
List the Releases and check the messages in their statuses:
bashIf there is a suggestion in the status messages, follow it. For example, when you see
cannot determine creation result - remove the crossplane.io/external-create-pending annotation if it is safe to proceed, remove the annotation if all pods are running correctly:bashIf there are no suggestions in the status, check if the failed Releases have the
spec.rollbackLimitset:bashIf the
spec.rollbackLimitis not set, set it to a value greater than 0:bashIf the
spec.rollbackLimitis already set and thestatus.failedis lower than thespec.rollbackLimit, just wait. If it's not, you can patch the failure number artificially:bashIf it didn't work, you can delete the failed release and let Crossplane create a new one:
bashIf it didn't work too, consider deleting the whole composition claim and creating a new one. Keep in mind that it could lead to data loss from the current setup.
Core Cluster deletion is stuck
Cennso deletes a Core Cluster in reverse creation order. If one Crossplane Release resource in that order failed permanently, the deletion stops there and never removes the resources created before it.
A Release fails permanently when it applies a manifest for a CRD that another component owns and that component never became ready. For example, a Release that applies the Multus CRDs from the k8s.cni.cncf.io API group fails when Multus is not installed on the target cluster.
To unblock the deletion, follow these steps:
Check the status of the failed Release:
Remove the finalizer from the failed Release.
Caution
This command force-deletes the
Release. Crossplane stops tracking the Helm release on the target cluster and never cleans it up. Run it only when you are deleting the whole Core Cluster, and only after you confirm the name of the failed Release.