NTP upgrade-charm failed on start hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NTP Charm |
New
|
Undecided
|
Unassigned |
Bug Description
upgrading from ntp-35 to ntp-45, failed on some units because charmhelpers package was not updated to the version available in the charm's wheelhouse.
$ juju run -u ntp/127 hooks/start
active
active
ntp.service is not a native service, redirecting to systemd-
Executing /lib/systemd/
Traceback (most recent call last):
File "hooks/start", line 22, in <module>
main()
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
max_
File "/var/lib/
self.
TypeError: __init__() got an unexpected keyword argument 'max_check_
$ juju run -u ntp/127 '../.venv/bin/pip freeze'
asn1crypto==0.22.0
blinker==1.3
certifi=
chardet==3.0.4
charmhelpers=
$ juju run -u ntp/127 'ls wheelhouse/
wheelhouse/
This "should" be fixed in layer-basic.
If this charm could be re-built with the latest layer-basic and tested for this error again, that would be helpful in determining if the bug still exists in layer-basic.
https:/ /github. com/juju- solutions/ layer-basic/ pull/105