apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
301 stars 231 forks source link

'owdev-install-packages' Pod is not in Completed state #778

Open bbasumatary opened 3 months ago

bbasumatary commented 3 months ago

Installed Openwhisk in a local cluster .. 'owdev-install-packages' Pod is not in Completed state. How to resolve ?

xyz@bb7720:~$ kubectl get pods -n openwhisk NAME READY STATUS RESTARTS AGE owdev-alarmprovider-bd95d966c-znd5s 1/1 Running 0 97m owdev-apigateway-757d89ccc5-vcj6r 1/1 Running 0 97m owdev-controller-0 1/1 Running 0 97m owdev-controller-1 1/1 Running 0 97m owdev-couchdb-74bd6ff95c-szq7z 1/1 Running 0 97m owdev-gen-certs-s659p 0/1 Completed 0 97m owdev-grafana-867b6b8b58-rnqxh 1/1 Running 0 97m owdev-init-couchdb-2s4t5 0/1 Completed 0 97m owdev-install-packages-2rxk9 0/1 Error 0 97m owdev-install-packages-5d4fz 0/1 Error 0 92m owdev-install-packages-bfzs2 0/1 Error 0 93m owdev-install-packages-hzp4n 0/1 Error 0 94m owdev-invoker-0 1/1 Running 0 97m owdev-kafka-0 1/1 Running 0 97m owdev-kafkaprovider-5df7577db-gvhsb 1/1 Running 0 97m owdev-nginx-7f6d7f64b6-4wp89 1/1 Running 0 97m owdev-prometheus-server-0 1/1 Running 0 97m owdev-redis-668d89f545-z6zqc 1/1 Running 0 97m owdev-user-events-784dddfccd-bct78 1/1 Running 1 (96m ago) 97m owdev-wskadmin 1/1 Running 0 97m owdev-zookeeper-0 1/1 Running 0 97m wskowdev-invoker-00-1-prewarm-nodejs10 1/1 Running 0 95m wskowdev-invoker-00-2-prewarm-nodejs10 1/1 Running 0 95m

The logs sys about some issues with Alarms package installation .

xyz@bb7720:~$ k logs owdev-install-packages-5d4fz -n openwhisk

Installing Alarms package. ok: updated package alarms cd action '[' -e alarmFeed.zip ']' cp -f alarmFeed_package.json package.json npm install

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated cloudant-follow@0.18.2: This package is no longer maintained. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN install:@types/node@20.14.2 ENOTDIR: not a directory, open '/openwhisk-package-alarms/action/node_modules/.staging/@types/node-7154234c/package.json' alarmFeed@1.0.0 /openwhisk-package-alarms/action ├── cloudant-follow@0.18.2 extraneous ├── errs@0.3.2 extraneous └─┬ needle@2.3.2 ├─┬ debug@3.2.7 │ └── ms@2.1.2 ├─┬ iconv-lite@0.4.24 │ └── safer-buffer@2.1.2 └── sax@1.4.1

npm WARN alarmFeed@1.0.0 No description npm WARN alarmFeed@1.0.0 No repository field. npm WARN alarmFeed@1.0.0 No license field. npm ERR! Linux 5.15.0-101-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! path /openwhisk-package-alarms/action/node_modules/.staging/@types/caseless-b4b92363/package.json npm ERR! code ENOTDIR npm ERR! errno -20 npm ERR! syscall open

npm ERR! ENOTDIR: not a directory, open '/openwhisk-package-alarms/action/node_modules/.staging/@types/caseless-b4b92363/package.json' npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /openwhisk-package-alarms/action/npm-debug.log