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

OpenStack Infra 1852441 at bugs.launchpad.net
Thu Sep 17 21:11:38 UTC 2020


Reviewed:  https://review.opendev.org/738664
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-mon/commit/?id=60a9a4f27aa1cddd717431abae7a26c46f5f8bd5
Submitter: Zuul
Branch:    master

commit 60a9a4f27aa1cddd717431abae7a26c46f5f8bd5
Author: Ponnuvel Palaniyappan <ponnuvel.palaniyappan at canonical.com>
Date:   Tue Jun 30 17:27:09 2020 +0100

    Remove chrony if inside a container
    
    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.
    
    The chrony package get installed automatically as
    part of the dependencies of other packages, which
    gets removed in this change.
    
    Also contains related changes for charms.ceph.
    
    Change-Id: If8beb28ea5b5e6317180e52c3e32463e472276f4
    Closes-Bug: #1852441
    Depends-On: Ie3c9c5899c1d46edd21c32868938d3290db321e7


** Changed in: charm-ceph-mon
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed
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