-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
Not Selected
-
-
-
Moderate
-
None
In the Jenkins jobs to install ACM and MCE, there are flags to enable certain components post installation. Newer components do not exist in older versions of ACM/MCE so there should be a check in place to avoid throwing such an error.
https://jenkins-csb-rhacm-tests.dno.corp.redhat.com/job/acm/job/acm-install/build
https://jenkins-csb-rhacm-tests.dno.corp.redhat.com/job/mce/job/mce-install/build
TASK [acm-install : Apply patch [{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"siteconfig","enabled":true}}] to MCH multiclusterhub in namespace ocm] ***
task path: /home/jenkins/workspace/acm/acm-install/acm/tasks/toggle_mch_component.yml:12
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc -n ocm patch mch multiclusterhub -p '[{\"op\": \"add\", \"path\": \"/spec/overrides/components/-\",\"value\":{\"name\":\"siteconfig\",\"enabled\":true}}]' --type=json\n", "delta": "0:00:00.497856", "end": "2025-12-01 12:53:36.989672", "msg": "non-zero return code", "rc": 1, "start": "2025-12-01 12:53:36.491816", "stderr": "Error from server (Forbidden): admission webhook \"multiclusterhub.validating-webhook.open-cluster-management.io\" denied the request: invalid ComponentConfig: siteconfig is not a known component", "stderr_lines": ["Error from server (Forbidden): admission webhook \"multiclusterhub.validating-webhook.open-cluster-management.io\" denied the request: invalid ComponentConfig: siteconfig is not a known component"], "stdout": "", "stdout_lines": []}