openshift / node-problem-detector-operator Goto Github PK
View Code? Open in Web Editor NEWAn operator to run Node Problem Detector on OpenShift
License: Apache License 2.0
An operator to run Node Problem Detector on OpenShift
License: Apache License 2.0
I just installed this operator from operato hub and I'm getting this error:
Failed to pull image "openshift/ose-node-problem-detector:v4.0": rpc error: code = Unknown desc = Error reading manifest v4.0 in docker.io/openshift/ose-node-problem-detector: errors: denied: requested access to the resource is denied unauthorized: authentication required
on the daemon set image.
latest version of operator uses an invalid image:
Back-off pulling image "registry.svc.ci.openshift.org/openshift/origin-v4.0:node-problem-detector-operator"
docker pull registry.svc.ci.openshift.org/openshift/origin-v4.0:node-problem-detector-operator
Error response from daemon: received unexpected HTTP status: 503 Service Unavailable
The following branches are being fast-forwarded from the current development branch (master) as placeholders for future releases. No merging is allowed into these release branches until they are unfrozen for production release.
release-4.18
release-4.19
For more information, see the branching documentation.
The following branches are being fast-forwarded from the current development branch (master) as placeholders for future releases. No merging is allowed into these release branches until they are unfrozen for production release.
release-4.5
release-4.4
Contact the Test Platform or Automated Release teams for more information.
After installing operator 0.0.1 it logs:
node-problem-detector-2200398493\" is forbidden: user \"system:serviceaccount:openshift-node-problem-detector:node-problem-detector-operator\" (groups=[\"system:serviceaccounts\" \"system:serviceaccounts:openshift-node-problem-detector\" \"system:authenticated\"]) is attempting to grant RBAC permissions not currently held:\n{APIGroups:[\"events.k8s.io\"], Resources:[\"events\"], Verbs:[\"create\" \"patch\" \"update\"]}"
and it is not able to create a ds for the actual NPDs
I am unable to get KubeletProblem status in API server, the status is always showing Unknown.
I tried to run the script manually on host and it is working fine.
#!/usr/bin/env bash
set -eou pipefail
data=$(curl \
-s \
http://127.0.0.1:10250/healthz
)
if [[ "$data" != "ok" ]]; then
exit 20
fi
exit 0
origin@master1:/home/origin>./kubelet-health.sh
origin@master1:/home/origin>echo $?
20
origin@master1:/home/origin>v
But it is not working inside the container
origin@bastion1:/home/origin>oc get po -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE
node-problem-detector-48jdh 1/1 Running 0 19m 10.128.0.28 master1 <none>
node-problem-detector-9fccv 1/1 Running 0 20m 10.128.0.34 compute1 <none>
node-problem-detector-9nlgv 1/1 Running 0 19m 10.128.0.30 master3 <none>
node-problem-detector-c2dvv 1/1 Running 0 20m 10.128.0.35 compute2 <none>
node-problem-detector-nzgzn 1/1 Running 0 19m 10.128.0.31 infra1 <none>
node-problem-detector-operator-56df5c5cb4-4rm48 1/1 Running 0 6h 10.1.6.49 compute2 <none>
node-problem-detector-x8v5v 1/1 Running 0 20m 10.128.0.32 infra2 <none>
node-problem-detector-zhkcx 1/1 Running 0 20m 10.128.0.29 master2 <none>
node-problem-detector-zr5nf 1/1 Running 0 20m 10.128.0.33 infra3 <none>
origin@bastion1:/home/origin>
origin@bastion1:/home/origin>oc exec -it node-problem-detector-48jdh -- /bin/bash
root@master1:/# cd /etc/npd-plugins/
root@master1:/etc/npd-plugins# ./kubelet-health.sh
./kubelet-health.sh: line 8: warning: command substitution: ignored null byte in input
root@master1:/etc/npd-plugins#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.