Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2646

RHDH Local does not start with `next` or `next-1.9` RHDH images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.9.0
    • 1.9.0
    • RHDH Local
    • RHDH Install 3287

      Description of problem:

      Running `podman|docker compose up` from either main or release-1.9 branches fails if switching to `RHDH_IMAGE=quay.io/rhdh-community/rhdh:next` (or `RHDH_IMAGE=quay.io/rhdh-community/rhdh:next-1.9`)

      Steps to Reproduce

      export RHDH_IMAGE=quay.io/rhdh-community/rhdh:next-1.9
      podman compose up
      

      Actual results:

      The plugins installer container fails:

      rhdh-plugins-installer  | 
      rhdh-plugins-installer  | ======= Installing dynamic plugin ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-marketplace
      rhdh-plugins-installer  |       ==> Grabbing package archive through `npm pack`
      rhdh-plugins-installer  | Traceback (most recent call last):
      rhdh-plugins-installer  |   File "/opt/app-root/src/install-dynamic-plugins.py", line 162, in run_command
      rhdh-plugins-installer  |     return subprocess.run(
      rhdh-plugins-installer  |            ^^^^^^^^^^^^^^^
      rhdh-plugins-installer  |   File "/usr/lib64/python3.11/subprocess.py", line 571, in run
      rhdh-plugins-installer  |     raise CalledProcessError(retcode, process.args,
      rhdh-plugins-installer  | subprocess.CalledProcessError: Command '['npm', 'pack', '/opt/app-root/src/dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-marketplace']' returned non-zero exit status 254.
      rhdh-plugins-installer  | 
      rhdh-plugins-installer  | During handling of the above exception, another exception occurred:
      rhdh-plugins-installer  | 
      rhdh-plugins-installer  | Traceback (most recent call last):
      rhdh-plugins-installer  |   File "/opt/app-root/src/install-dynamic-plugins.py", line 1284, in <module>
      rhdh-plugins-installer  |     main()
      rhdh-plugins-installer  |   File "/opt/app-root/src/install-dynamic-plugins.py", line 1269, in main
      rhdh-plugins-installer  |     _, plugin_config = install_plugin(plugin, plugin_path_by_hash, dynamic_plugins_root, skip_integrity_check)
      rhdh-plugins-installer  |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      rhdh-plugins-installer  |   File "/opt/app-root/src/install-dynamic-plugins.py", line 917, in install_plugin
      rhdh-plugins-installer  |     plugin_path = installer.install(plugin, plugin_path_by_hash)
      rhdh-plugins-installer  |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      rhdh-plugins-installer  |   File "/opt/app-root/src/install-dynamic-plugins.py", line 814, in install
      rhdh-plugins-installer  |     result = run_command(
      rhdh-plugins-installer  |              ^^^^^^^^^^^^
      rhdh-plugins-installer  |   File "/opt/app-root/src/install-dynamic-plugins.py", line 179, in run_command
      rhdh-plugins-installer  |     raise InstallException(msg)
      rhdh-plugins-installer  | InstallException: Error while installing plugin /opt/app-root/src/dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-marketplace with 'npm pack': command failed with exit code 254
      rhdh-plugins-installer  | command: npm pack /opt/app-root/src/dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-marketplace
      rhdh-plugins-installer  | stderr: npm error code ENOENT
      rhdh-plugins-installer  | npm error syscall open
      rhdh-plugins-installer  | npm error path /opt/app-root/src/dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-marketplace/package.json
      rhdh-plugins-installer  | npm error errno -2
      rhdh-plugins-installer  | npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/opt/app-root/src/dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-marketplace/package.json'
      rhdh-plugins-installer  | npm error enoent This is related to npm not being able to find a file.
      rhdh-plugins-installer  | npm error enoent
      rhdh-plugins-installer  | npm error A complete log of this run can be found in: /opt/app-root/src/.npm/_logs/2026-02-11T15_15_26_304Z-debug-0.log
      rhdh-plugins-installer  | 
      rhdh-plugins-installer  | ======= Cleaning up temporary catalog index directory
      rhdh-plugins-installer  | ======= Removed lock file: /dynamic-plugins-root/install-dynamic-plugins.lock
      Container rhdh-plugins-installer Error service "install-dynamic-plugins" didn't complete successfully: exit 1
      service "install-dynamic-plugins" didn't complete successfully: exit 1
      Error: executing /usr/libexec/docker/cli-plugins/docker-compose -f compose.yaml up --force-recreate: exit status 1
      

      Expected results:

      It should work. Looks like the default dynamic-plugins configuration is still referring to the previous marketplace plugins (renamed to extensions). And we might also need to make sure to switch to the relevant OCI images.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              rh-ee-asoro Armel Soro
              rh-ee-asoro Armel Soro
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: