haproxy-16 (and 19) charms fail deployment in Juju 2.0 with "hook "config-changed" failed" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haproxy (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
Tried deploying landscape-
unit-haproxy-1.log attached:
2016-09-14 13:26:40 INFO config-changed return parse_services_
2016-09-14 13:26:40 INFO config-changed File "/var/lib/
2016-09-14 13:26:40 INFO config-changed return (self._prev_dict or {})[key]
2016-09-14 13:26:40 INFO config-changed KeyError: 'services'
2016-09-14 13:26:40 ERROR juju.worker.
2016-09-14 13:26:40 INFO juju.worker.uniter resolver.go:100 awaiting error resolution for "config-changed" hook
2016-09-14 13:26:55 INFO juju.worker.
I get same error, with landscape-scalable on jujucharm, unit-haproxy-3.log:
2017-09-01 21:07:34 INFO config-changed ^MReading state information... 0%^MReading state information... 2%^MReading state information... Done juju/agents/ unit-haproxy- 3/charm/ hooks/config- changed" , line 1367, in <module> juju/agents/ unit-haproxy- 3/charm/ hooks/config- changed" , line 1325, in main juju/agents/ unit-haproxy- 3/charm/ hooks/config- changed" , line 946, in config_changed juju/agents/ unit-haproxy- 3/charm/ hooks/config- changed" , line 603, in create_services services( ) juju/agents/ unit-haproxy- 3/charm/ hooks/config- changed" , line 471, in get_config_services yaml(services, config_ data['services' ] ) juju/agents/ unit-haproxy- 3/charm/ hooks/charmhelp ers/core/ hookenv. py", line 255, in __getitem__ uniter. operation runhook.go:107 hook "config-changed" failed: exit status 1
2017-09-01 21:07:34 INFO config-changed Traceback (most recent call last):
2017-09-01 21:07:34 INFO config-changed File "/var/lib/
2017-09-01 21:07:34 INFO config-changed main(hook_name)
2017-09-01 21:07:34 INFO config-changed File "/var/lib/
2017-09-01 21:07:34 INFO config-changed config_changed()
2017-09-01 21:07:34 INFO config-changed File "/var/lib/
2017-09-01 21:07:34 INFO config-changed if not create_services():
2017-09-01 21:07:34 INFO config-changed File "/var/lib/
2017-09-01 21:07:34 INFO config-changed services_dict = get_config_
2017-09-01 21:07:34 INFO config-changed File "/var/lib/
2017-09-01 21:07:34 INFO config-changed return parse_services_
2017-09-01 21:07:34 INFO config-changed File "/var/lib/
2017-09-01 21:07:34 INFO config-changed return (self._prev_dict or {})[key]
2017-09-01 21:07:34 INFO config-changed KeyError: 'services'
2017-09-01 21:07:34 ERROR juju.worker.