ntpmon embedded in the published version is not the same as the current layer

Bug #1809459 reported by Junien F
8
This bug affects 1 person
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-ntp-charm.

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://code.launchpad.net/ntpmon needs to be merged into master.

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

Paul Gear (paulgear)
Changed in ntp-charm:
assignee: nobody → Paul Gear (paulgear)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Paul Gear (paulgear) wrote :

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.

Changed in ntp-charm:
status: Confirmed → In Progress
Revision history for this message
Paul Gear (paulgear) wrote :

The upstream NTPmon changes have been merged into master. I've built a new version of the telegraf charm and pushed it to cs:~te​legraf-charmers/tele​graf-35 (candidate channel). But CI seems to be a bit borked at the moment, so I'm not ready to declare this fixed. When it gets a successful CI run, I think we're good to go.

Changed in ntp-charm:
status: In Progress → Fix Committed
assignee: Paul Gear (paulgear) → nobody
Haw Loeung (hloeung)
Changed in ntp-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.