Description of problem: When deploying a MultiClusterObservability resource, it appears the name of the MultiClusterObservability CR cannot exceed 15 characters. This is due to the 63 character label limit in DNS. Version-Release number of selected component (if applicable): 2.2.3 How reproducible: Always Steps to Reproduce: 1. Deploy a MultiClusterObservability resource with a name greater than 15 characters. Actual results: Partial roll out of the observability stack. Some StatefuleSets fail to deploy because of the DNS issue. Expected results: Operator prevents partial rollout of stack. Additional info: multiclusterobservability-cr.yaml: apiVersion: observability.open-cluster-management.io/v1beta1 kind: MultiClusterObservability metadata: name: umbrella-observability spec: availabilityConfig: High imagePullPolicy: Always imagePullSecret: multiclusterhub-operator-pull-secret observabilityAddonSpec: enableMetrics: true interval: 60 retentionResolution1h: 30d retentionResolution5m: 14d retentionResolutionRaw: 5d storageConfigObject: metricObjectStorage: key: thanos.yaml name: thanos-object-storage statefulSetSize: 10Gi statefulSetStorageClass: thin Error: $ oc describe statefulset umbrella-observability-observatorium-thanos-receive-default ... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedCreate 6m54s (x20 over 23m) statefulset-controller create Pod umbrella-observability-observatorium-thanos-receive-default-0 in StatefulSet umbrella-observability-observatorium-thanos-receive-default failed error: Pod "umbrella-observability-observatorium-thanos-receive-default-0" is invalid: metadata.labels: Invalid value: "umbrella-observability-observatorium-thanos-receive-default-5f478dbb5": must be no more than 63 characters
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.2.4 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2461