-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.16
-
None
This is a clone of issue OCPBUGS-38489. The following is the description of the original issue:
—
Description of problem:
In ZTP, when creating a cluster, a KlusterletAddonConfig CR is created to create a ManagedCluster with the labels:
clusterLabels: cloud: auto-detect vendor: auto-detect
According to the doc, when importing with `auto-detect` this should be substitued, in our case, by Openshift. This is not happening, and the ManagedCluster CRs dont get the vendor label.
More info here
Version-Release number of selected component (if applicable):
4.16
How reproducible:
In your usual ZTP Gitops deployment, you will observe that ManagedClusters dont have the vendor label:
> oc get managedcluster vsno5 -o json | grep vendor >
Steps to Reproduce:
1. Install ACM observability 2. Install a cluster with ZTP 3. No data being sent back to the hub + no "vendor" and "cloud" label in the generated managedcluster CR
Actual results:
Expected results:
"vendor" and "cloud" label in the generated managedcluster CR with appropriate values and ACM observability should work without any user intervention (i.e managedcluster metrics should start flowing into hub right after cluster installed successfully)
Additional info:
- clones
-
OCPBUGS-38489 ManagedCluster created without vendor label
- Closed
- is blocked by
-
OCPBUGS-38489 ManagedCluster created without vendor label
- Closed
- is cloned by
-
OCPBUGS-44468 [4.15]ManagedCluster created without vendor label
- New
- is duplicated by
-
OCPBUGS-41493 ACM managed cluster has missing labels from cluster creation via siteconfig
- Closed
- links to
-
RHEA-2024:136799 OpenShift Container Platform 4.16.2 CNF vRAN extras update
- mentioned on