empty .juju-persistent-config breaks charm hooks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Medium
|
Edward Hope-Morley |
Bug Description
If for whatever reason you have an empty .juju-persisten
2018-04-27 14:32:14 INFO config-changed Traceback (most recent call last):
2018-04-27 14:32:14 INFO config-changed File "/var/lib/
2018-04-27 14:32:14 INFO config-changed hooks.execute(
2018-04-27 14:32:14 INFO config-changed File "/var/lib/
2018-04-27 14:32:14 INFO config-changed self._hooks[
2018-04-27 14:32:14 INFO config-changed File "/var/lib/
2018-04-27 14:32:14 INFO config-changed update_
2018-04-27 14:32:14 INFO config-changed File "/var/lib/
2018-04-27 14:32:14 INFO config-changed nrpe_setup = nrpe.NRPE(
2018-04-27 14:32:14 INFO config-changed File "/var/lib/
2018-04-27 14:32:14 INFO config-changed self.nagios_context = self.config[
2018-04-27 14:32:14 INFO config-changed TypeError: 'NoneType' object has no attribute '__getitem__'
Changed in charm-helpers: | |
status: | New → In Progress |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in charm-helpers: | |
status: | In Progress → Fix Released |
Patch submitted to https:/ /github. com/juju/ charm-helpers/ pull/166