[Bug 1852441] Re: In bionic, one of the ceph packages installed causes chrony to auto-install even on lxd

Gábor Mészáros gabor.meszaros at canonical.com
Mon May 11 11:27:06 UTC 2020


I've just found this piece of code change, that removes the removal of ntp when we're running in container:
https://review.opendev.org/#/c/584051/5/lib/ceph/utils.py@a43

originating from here: NTP implementation hard-coded
;https://bugs.launchpad.net/charm-ceph-mon/+bug/1780690

Is there a way to revert back the
if is_container():
   PACKAGES.remove('ntp')

code snippet?

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1852441

Title:
  In bionic, one of the ceph packages installed causes chrony to auto-
  install even on lxd

Status in OpenStack ceph-mon charm:
  Triaged
Status in ceph package in Ubuntu:
  Won't Fix

Bug description:
  When running ceph-mon in containers, best practice is to have
  chrony/ntp configured and installed on the bare metal and then have
  the container trust the system clock, as the container should not
  manage the system clock.

  It seems that in source=cloud:bionic-stein, ceph-base package ends up
  installing chrony automatically as a recommended package.

  chrony should not be installed in the LXD context of this charm.  If
  it's possible to remove chrony from the recommended package list or to
  have the charm remove chrony if ceph-base is installed in a lxd, that
  wouuld be preferable to having to adding the NTP charm to configure
  chrony in a lxd, or to have to disable the chrony service.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-mon/+bug/1852441/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list