-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2
-
False
-
-
False
-
-
-
RHDH Install 3265, RHDH Install 3266
Description of problem:
the aks nightly job for e2e tests is failing with the following error. This error is shown when a first dynamic plugin is attempted to be installed and happens for various plugins - it doesn't seem to be plugin specific.
======= Installing dynamic plugin ./dynamic-plugins/dist/backstage-plugin-scaffolder-backend-module-github-dynamic ==> Grabbing package archive through `npm pack` Traceback (most recent call last): File "/opt/app-root/src/install-dynamic-plugins.py", line 429, in <module> main() File "/opt/app-root/src/install-dynamic-plugins.py", line 340, in main raise InstallException(f'Error while installing plugin { package } with \'npm pack\' : ' + completed.stderr.decode('utf-8')) main.InstallException: Error while installing plugin /opt/app-root/src/dynamic-plugins/dist/backstage-plugin-scaffolder-backend-module-github-dynamic with 'npm pack' : npm error code EACCES npm error syscall open npm error path /dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.5.1.tgz npm error errno -13 npm error Error: EACCES: permission denied, open '/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.5.1.tgz' npm error at async open (node:internal/fs/promises:639:25) npm error at async writeFile (node:internal/fs/promises:1219:14) npm error at async pack (/usr/lib/node_modules/npm/node_modules/libnpmpack/lib/index.js:42:5) npm error at async Pack.exec (/usr/lib/node_modules/npm/lib/commands/pack.js:48:27) npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:207:9) npm error at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5) { npm error errno: -13, npm error code: 'EACCES', npm error syscall: 'open', npm error path: '/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.5.1.tgz' npm error } npm error npm error The operation was rejected by your operating system. npm error It is likely you do not have the permissions to access this file as the current user npm error npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running npm error the command again as root/Administrator. npm error A complete log of this run can be found in: /opt/app-root/src/.npm/_logs/2024-11-08T07_52_53_432Z-debug-0.log
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
*https://redhat-internal.slack.com/archives/C07D05S8U82/p1731053382603019*