-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
1.9.0
-
None
-
False
-
-
False
-
-
Description of problem:
install-dynamic-plugins container is crashing in RHDH 1.9.0
Prerequisites (if any, like setup, operators/versions):
RHDH 1.9.0
Steps to Reproduce:
- Install RHDH 1.9.0
- Create the backstage CR(keep everything default)
- The backstage-developer-hub will never come up:
% oc get pods -n rhdh-operator NAME READY STATUS RESTARTS AGE backstage-developer-hub-xxxx-xxx 0/1 Init:CrashLoopBackOff 18 (3m27s ago) 71m backstage-psql-developer-hub-0 1/1 Running 0 71m rhdh-operator-dxxx-xxx 1/1 Running 0 72m
Actual results:
install-dynamic-plugins container in backstage-developer-hub pod is crashing with error:
% oc logs pod/backstage-developer-hub-xxx-xxx -n rhdh-operator -c install-dynamic-plugins ======= Created lock file: /dynamic-plugins-root/install-dynamic-plugins.lock ======= Extracting catalog index from registry.redhat.io/rhdh/plugin-catalog-index@sha256:1026e4c63ed82cbe546dae87d516e2db71b590a1b59ee62c73674a535e826070 ==> Copying catalog index image to local filesystem Traceback (most recent call last): File "/opt/app-root/src/install-dynamic-plugins.py", line 162, in run_command return subprocess.run( ^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/skopeo', 'copy', '--override-os=linux', '--override-arch=amd64', 'docker://registry.redhat.io/rhdh/plugin-catalog-index@sha256:1026e4c63ed82cbe546dae87d516e2db71b590a1b59ee62c73674a535e826070', 'dir:/tmp/tmpuyfu9gmz/catalog-index-oci']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/app-root/src/install-dynamic-plugins.py", line 1284, in <module> main() File "/opt/app-root/src/install-dynamic-plugins.py", line 1150, in main catalog_index_default_file = extract_catalog_index(catalog_index_image, dynamic_plugins_root, catalog_entities_parent_dir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/src/install-dynamic-plugins.py", line 1093, in extract_catalog_index run_command( File "/opt/app-root/src/install-dynamic-plugins.py", line 179, in run_command raise InstallException(msg) InstallException: Failed to download catalog index image registry.redhat.io/rhdh/plugin-catalog-index@sha256:1026e4c63ed82cbe546dae87d516e2db71b590a1b59ee62c73674a535e826070: command failed with exit code 1 command: /usr/bin/skopeo copy --override-os=linux --override-arch=amd64 docker://registry.redhat.io/rhdh/plugin-catalog-index@sha256:1026e4c63ed82cbe546dae87d516e2db71b590a1b59ee62c73674a535e826070 dir:/tmp/tmpuyfu9gmz/catalog-index-oci stderr: time="2026-03-07T00:54:24Z" level=fatal msg="initializing source docker://registry.redhat.io/rhdh/plugin-catalog-index@sha256:1026e4c63ed82cbe546dae87d516e2db71b590a1b59ee62c73674a535e826070: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication" ======= Cleaning up temporary catalog index directory ======= Removed lock file: /dynamic-plugins-root/install-dynamic-plugins.lock
Expected results:
The pod should come up without issues
Reproducibility (Always/Intermittent/Only Once):
Always
- duplicates
-
RHDHBUGS-2767 Default configuration in downstream Helm/Operator should point to registry.access.redhat.com (not registry.redhat.io) for the plugin catalog index image
-
- Release Pending
-