Nagios plugin fails with Unable to run kubectl and parse output
Bug #1866382 reported by
David Coronel
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Worker Charm |
Fix Released
|
High
|
Joseph Borg | ||
NRPE Charm |
Fix Released
|
High
|
Joe Guo |
Bug Description
The Nagios check nagios-
Running the command manually on the node as the nagios user results in this error:
nagios@
2020/03/06 17:47:15.318776 cmd_run.go:884: WARNING: cannot create user data directory: cannot create "/var/lib/
cannot create user data directory: /var/lib/
Unable to run kubectl and parse output
Additional details:
kubernetes-worker charm revision 634
nagios charm revision 36
Related branches
~guoqiao/charm-nrpe:LP1906991-chown-nagios-dirs
- Xav Paice (community): Approve
- Andrea Ieri: Approve
-
Diff: 25 lines (+14/-0)1 file modifiedhooks/nrpe_utils.py (+14/-0)
Changed in charm-kubernetes-worker: | |
status: | New → Confirmed |
Changed in charm-kubernetes-worker: | |
importance: | Undecided → Medium |
Changed in charm-kubernetes-worker: | |
status: | Confirmed → Triaged |
Changed in charm-kubernetes-worker: | |
importance: | Medium → High |
Changed in charm-kubernetes-worker: | |
assignee: | nobody → Joseph Borg (joeborg) |
Changed in charm-kubernetes-worker: | |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | charm-kubernetes-master |
Changed in charm-kubernetes-worker: | |
assignee: | nobody → Joseph Borg (joeborg) |
status: | Triaged → In Progress |
tags: | removed: needs-review |
Changed in charm-kubernetes-worker: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.19+ck1 |
tags: | added: backport-needed |
tags: | removed: backport-needed |
Changed in charm-kubernetes-worker: | |
status: | Fix Committed → Fix Released |
Changed in charm-nrpe: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Joe Guo (guoqiao) |
milestone: | none → 21.04 |
Changed in charm-nrpe: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
subscribed ~field-medium