Adding nrpe relation fails for nrpe-external-master-relation-{joined, changed}
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NTP Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Revision 47, affects focal and bionic.
unit-ntp-15: 09:28:42 ERROR unit.ntp/
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
self.
File "/var/lib/
self.
File "/var/lib/
if self.key not in value['
TypeError: 'NoneType' object is not subscriptable
Workaround for this is to go into debug-hooks for the unit and run
charms.reactive set_state nrpe-external-
for each hook execution that fails (joined, then changed)
Also observed with cs:ntp-45.