NTP implementation hard-coded

Bug #1780690 reported by Paul Gear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph Monitor Charm
Fix Released
Medium
Nicolas Pochet
Ceph OSD Charm
Fix Released
Medium
Nicolas Pochet
charms.ceph
Fix Released
Undecided
Nicolas Pochet

Bug Description

In https://github.com/openstack/charm-ceph-osd/blob/master/lib/ceph/utils.py#L84 and https://github.com/openstack/charm-ceph-osd/blob/master/lib/ceph/utils.py#L2599, the package name 'ntp' is hard-coded into the ceph-osd charm.

The same exists in https://github.com/openstack/charm-ceph-mon/blob/master/lib/ceph/utils.py#L84 and https://github.com/openstack/charm-ceph-mon/blob/master/lib/ceph/utils.py#L2613 in the ceph-mon charm.

Per lp:1744072, ntp has been demoted to universe and no longer receives full security support and chrony is the preferred NTP implementation for bionic and later. I think references to either package should be removed from the ceph charms.

Revision history for this message
Paul Gear (paulgear) wrote :

If ~openstack-charmers prefer, I'm happy to mark this as a duplicate of lp:1744072 and discuss further options there.

James Page (james-page)
Changed in charm-ceph-mon:
status: New → Triaged
Changed in charm-ceph-osd:
status: New → Triaged
Changed in charm-ceph-mon:
importance: Undecided → Medium
Changed in charm-ceph-osd:
importance: Undecided → Medium
Nicolas Pochet (npochet)
Changed in charm-ceph-mon:
assignee: nobody → Nicolas Pochet (npochet)
Changed in charm-ceph-osd:
assignee: nobody → Nicolas Pochet (npochet)
Revision history for this message
Nicolas Pochet (npochet) wrote :

The proposed implementation is to remove ntp package reference from both charms.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (master)

Fix proposed to branch: master
Review: https://review.openstack.org/584023

Changed in charm-ceph-osd:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-mon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/584051

Changed in charm-ceph-mon:
status: Triaged → In Progress
Nicolas Pochet (npochet)
Changed in charms.ceph:
assignee: nobody → Nicolas Pochet (npochet)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charms.ceph (master)

Reviewed: https://review.openstack.org/584255
Committed: https://git.openstack.org/cgit/openstack/charms.ceph/commit/?id=afdd9a974d630abdcea87f0b048d56c1bd4bb7ea
Submitter: Zuul
Branch: master

commit afdd9a974d630abdcea87f0b048d56c1bd4bb7ea
Author: Nicolas Pochet <email address hidden>
Date: Fri Jul 20 09:02:49 2018 +0200

    Remove reference to ntp package

    This is motivated by the fact that:
    * the ntp/chrony package is already a dependency of the ceph-mon/osd
    package
    * NTP will be managed by operators through the NTP charm
    It is thus useless to keep that package mentioned here.

    Change-Id: Iddb7ffcc7ab7a74700855b950f619208511c2fab
    Closes-Bug: #1780690

Changed in charms.ceph:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/584023
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=bb3a7f198ca94b77b7a1b3c06df117633564f2c5
Submitter: Zuul
Branch: master

commit bb3a7f198ca94b77b7a1b3c06df117633564f2c5
Author: Nicolas Pochet <email address hidden>
Date: Thu Jul 19 15:08:39 2018 +0200

    Remove reference to ntp package

    This is motivated by the fact that:
    * the ntp/chrony package is already a dependency of the ceph-mon/osd
    package
    * NTP will be managed by operators through the NTP charm
    It is thus useless to keep that package mentioned here.

    Change-Id: I5834ff22d4306707529e958cd26f14bbb752c796
    Closes-Bug: #1780690
    Depends-on: Iddb7ffcc7ab7a74700855b950f619208511c2fab

Changed in charm-ceph-osd:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (master)

Reviewed: https://review.openstack.org/584051
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-mon/commit/?id=37fbda6bd89090a15f03ae38372f93373a240cb0
Submitter: Zuul
Branch: master

commit 37fbda6bd89090a15f03ae38372f93373a240cb0
Author: Nicolas Pochet <email address hidden>
Date: Thu Jul 19 18:45:26 2018 +0200

    Remove reference to ntp package

    This is motivated by the fact that:
    * the ntp/chrony package is already a dependency of the ceph-mon/osd
    package
    * NTP will be managed by operators through the NTP charm
    It is thus useless to keep that package mentioned here.

    Change-Id: If6ecfc6f515bec4f955a5b52df8f0fbfafd29008
    Closes-Bug: #1780690
    Depends-on: Iddb7ffcc7ab7a74700855b950f619208511c2fab

Changed in charm-ceph-mon:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-ceph-osd:
milestone: none → 18.08
Changed in charm-ceph-mon:
milestone: none → 18.08
James Page (james-page)
Changed in charm-ceph-osd:
status: Fix Committed → Fix Released
Changed in charm-ceph-mon:
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.