1.22.2. Resolving the problem: Undesired label value in managedcluster resource
If you have this problem, enable the observability service for the target managed cluster and update labels in the managedcluster resource.
Complete the following steps:
- Log in to your Red Hat Advanced Cluster Management cluster.
Change the
observabilityparameter value toenabledby updating the placement rule. Run the following command:oc edit placementrule -n open-cluster-management-observability
oc edit placementrule -n open-cluster-management-observabilityCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that OpenShift is listed as vendor for the target managed cluster by running the following command:
oc get managedcluster <CLUSTER NAME> -o yaml
oc get managedcluster <CLUSTER NAME> -o yamlCopy to Clipboard Copied! Toggle word wrap Toggle overflow Update the
metadata.labels.vendorparameter value toOpenShift.