Open Xnyle opened 1 year ago
I have met this problem because I use the old version image openwhisk/ow-utils
in the values.yaml.
That image's npm version and node version is too old, npm is just v3.5.2 and node version is v8.x.x.
You can change the openwhisk/ow-utils image version to the latest one. That should help solve the issue.
Any workaround for this?
I tried other tags for openwhisk/ow-utils
they throw below error
install-packages HEAD is now at 2c621c07 fix start.sh to work on macos (#5019) │
│ install-packages / │
│ install-packages /openwhisk/ansible/roles/routemgmt/files / │
│ install-packages Installing apimgmt package │
│ install-packages ok: updated package apimgmt │
│ install-packages Creating NPM module .zip files │
│ install-packages node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node) │
│ install-packages Failed to deploy routemgmt package; will pause, uninstall, and try again │
│ install-packages Deleting routemgmt actions │
│ install-packages error: Unable to get action 'routemgmt/getApi': The requested resource does not exist. (c │
│ install-packages Run 'wsk --help' for usage.
Above error is with below tag
utility:
imageName: "openwhisk/ow-utils"
imageTag: "084c2ad"
imagePullPolicy: "IfNotPresent"
@raman-lsq Do you have glibc_2.29 installed in your local machine?
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found
The install_packages
container is having version 2.27...
and my local i.e. wsl2 is having 2.35
This is duplicate of #735; TL;DR: consider deploying Helm from the latest commit (tried and succeeded).
The install-packages node: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28' not found (required by node)
issue arises from node 18 and above requiring GLIBC_2.28 and above. So if you don't want the latest nodejs version, you can change the RUN npm install -g n && n 16.20.0 && hash -r
in ow-utils Dockerfile to something like RUN npm install -g n && n 16.20.0 && hash -r
or any lower version and that should do the trick.
ENOTDIR: not a directory, open '/openwhisk-package-alarms/action/node_modules/.staging/@types/node-7154234c/package.json'
I'm starting to wonder if this project is even maintained anymore?