apache / apache/openwhisk-deploy-kube

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

Open
#778 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
309
Forks
231
PR merge metrics
No merged PRs in 30d

Description

### 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!

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

Contributor guide

Open the contributing guide

Research direction

Start with the owdev-install-packages pod and its kubectl logs, focusing on npm install in the action directory and the reported ENOTDIR error under node_modules/.staging. Done means the Alarms package installation completes and the pod reaches Completed state without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, node.js, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.