action ack-reboot is broken on latest/stable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NRPE Charm |
Fix Released
|
High
|
Mert Kirpici |
Bug Description
When trying to run the action "ack-reboot" on nrpe units from "latest/stable" channel, it will fail with the following error :
juju run-action nrpe/0 ack-reboot --wait
unit-nrpe-0:
UnitId: nrpe/0
id: "2"
message: exit status 1
results:
ReturnCode: 1
Stderr: |
Traceback (most recent call last):
File "/var/lib/
Attribute
status: failed
timing:
completed: 2023-02-22 05:54:36 +0000 UTC
enqueued: 2023-02-22 05:54:36 +0000 UTC
started: 2023-02-22 05:54:36 +0000 UTC
This can be reproduced easily with a simple model (attached on this bug report) with :
* ubuntu Focal/Jammy units with nrpe subordinate from latest/stable
* nagios
By comparison, running an "older" version with "latest/beta" revision 94 do allow us to run the action successfully.
Related branches
- Ramesh Sattaru (community): Approve
- Erhan Sunar (community): Approve
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
-
Diff: 128 lines (+27/-23)8 files modifiedactions/ack-reboot.py (+1/-1)
tests/functional/tests/bundles/base.yaml (+3/-10)
tests/functional/tests/bundles/overlays/bionic.yaml.j2 (+2/-2)
tests/functional/tests/bundles/overlays/focal.yaml.j2 (+2/-2)
tests/functional/tests/bundles/overlays/jammy.yaml.j2 (+2/-2)
tests/functional/tests/bundles/overlays/xenial.yaml.j2 (+0/-3)
tests/functional/tests/nrpe_tests.py (+16/-0)
tests/functional/tests/tests.yaml (+1/-3)
Changed in charm-nrpe: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: bseng-942 |
Changed in charm-nrpe: | |
assignee: | nobody → Mert Kirpici (mertkirpici) |
status: | Triaged → In Progress |
Changed in charm-nrpe: | |
milestone: | none → 23.04 |
Changed in charm-nrpe: | |
status: | Fix Committed → Fix Released |
Subscribed ~field-high