[Bionic] ntp charm should install chrony if not installed on post-series-upgrade hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NTP Charm |
Fix Committed
|
Undecided
|
Joe Guo |
Bug Description
Upgrades from Xenial to Bionic require the following steps:
"""
juju upgrade-series <machine-N> prepare bionic
juju ssh <machine-N>
apt-get update && apt-get dist-upgrade
do-release-upgrade
reboot
juju upgrade-series <machine-N> complete
"""
If chrony is not installed, the last step ("... complete") will never end because the ntp subordinate goes into error state because "chrony" is not installed.
The "complete" step runs hooks/post-
When chrony is manually installed, the ntp-charm will run without issues, and makes the "juju upgrade-series .... complete" step finish successfully.
Changed in ntp-charm: | |
assignee: | nobody → Joe Guo (guoqiao) |
Changed in ntp-charm: | |
status: | New → In Progress |
Recommend apt-get install chrony after do-release-upgrade but before the reboot as a workaround.