You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running the CPD deployer multiple times fails due to retrying to create the registry-ca Config Map when already existing.
The issue happens here: "oc create cm -n openshift-config {registry-name}". If an cm with this name already exists it will fails and output the below error code.
Describe the bug
Running the CPD deployer multiple times fails due to retrying to create the registry-ca Config Map when already existing.
The issue happens here: "oc create cm -n openshift-config {registry-name}". If an cm with this name already exists it will fails and output the below error code.
To Reproduce
(Values from documentation)
export CPD_OC_LOGIN="oc login api.pluto-01.coc.ibm.com:6443 -u kubeadmin -p BmxQ5-KjBFx-FgztG-gpTF3 --insecure-skip-tls-verify"
./cp-deploy.sh env apply --accept-all-licenses --skip-infra --skip-mirror-images
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
TASK [run-command : Run command: oc create cm -n openshift-config registry-ca] ***
Wednesday 12 February 2025 09:59:50 +0000 (0:00:00.032) 0:01:05.830 ****
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc create cm -n openshift-config registry-ca\n", "delta": "0:00:00.100528", "end": "2025-02-12 09:59:51.025259", "msg": "non-zero return code", "rc": 1, "start": "2025-02-12 09:59:50.924731", "stderr": "error: failed to create configmap: configmaps "registry-ca" already exists", "stderr_lines": ["error: failed to create configmap: configmaps "registry-ca" already exists"], "stdout": "", "stdout_lines": []}
The text was updated successfully, but these errors were encountered: