ntpmon embedded in the published version is not the same as the current layer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NTP Charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
I just installed the "telegraf" and "ntp" charms on a unit. Each of them provided ntpmon, telegraf in /opt/ntpmon, and ntp in /opt/ntpmon-
However, the telegraf version appears to be stale and doesn't recognize chrony, so it tries to run ntpq, which fails.
While looking into this, I actually never found where the "ntpmon.py handling chrony" source code comes from. "charm build" of the ntp charm does not result in what's currently in the charmstore. It's probably because the "bionic-chrony" branch of https:/
Also, why are both telegraf and the ntp charm providing this code ? What's the correct way to configure both of them when they're installed together ?
Thanks
Changed in ntp-charm: | |
assignee: | nobody → Paul Gear (paulgear) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ntp-charm: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/paulgear/ ntpmon/ pull/3 is where this merge is being handled. I've pushed an update and added some comments there, built a new charm and pushed to cs:~paulgear/ telegraf, and started a CI run.