1.6. Troubleshooting a failed imported cluster secret after upgrade
1.6.1. Symptom: Troubleshooting a failed imported cluster secret after upgrade
After an upgrade from Red Hat Advanced Cluster Management for Kubernetes version 2.0.0 to version 2.0.1, your cluster import in the Red Hat Advanced Cluster Management console might fail with the following message:
Failed to fetch import yaml secret
1.6.2. Identifying the problem: Troubleshooting a failed imported cluster secret after upgrade
To confirm that the issue can be resolved by the steps that follow, complete the following steps:
Run the following command to change to your Red Hat Advanced Cluster Management installation namespace:
oc project <namespace>
Replace <namespace> with your Red Hat Advanced Cluster Management installation namespace. If you used the default value, it is
open-cluster-management.Run the following command to determine if the
managedcluster-import-controllerhas the required permission:oc get $(oc get clusterrole -o name | grep managedcluster-import-controller) -o yaml| grep apiservers
If the command returns an empty response, then complete the step in the Resolving the problem section to fix the problem.
1.6.3. Resolving the problem: Troubleshooting a failed imported cluster secret after upgrade
To resolve the problem, enter the following command to restart the multicluster-operators-standalone-subscription service:
oc delete $(oc get pod -o name | grep multicluster-operators-standalone-subscription)