← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1646583] Re: Ceph mon doesn't restart on reboot with Xenial when using ceph-{mon, osd}@ systemd units

 

This bug was fixed in the package ceph - 10.2.5-0ubuntu0.16.04.1

---------------
ceph (10.2.5-0ubuntu0.16.04.1) xenial; urgency=medium

  * New upstream stable release (LP: #1649856):
    - d/p/32bit-ftbfs.patch: Drop, no longer required.
    - d/p/*: Refresh.
    - d/ceph-common.install: Switch to RSA keys for drop.ceph.com.
  * d/rules: Install upstream provided systemd targets and ensure they
    are enabled and started on install to ensure that integrations aligned
    to upstream packaging work with Ubuntu packages (LP: #1646583).
  * d/ceph.*,d/*.logrotate: Install logrotate configuration
    in ceph-common, ensuring that all daemons get log rotation on
    log files, deal with removal of logrotate configuration in
    ceph for upgrades (LP: #1609866).

 -- James Page <james.page@xxxxxxxxxx>  Wed, 18 Jan 2017 13:59:57 +0000

** Changed in: ceph (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1646583

Title:
  Ceph mon doesn't restart on reboot with Xenial when using
  ceph-{mon,osd}@ systemd units

Status in ceph package in Ubuntu:
  Fix Released
Status in ceph source package in Xenial:
  Fix Released
Status in ceph source package in Yakkety:
  Fix Released
Status in ceph source package in Zesty:
  Fix Released

Bug description:
  [Impact]
  Users of the ceph-osd@ and ceph-mon@ systemd units are not able to reboot servers; the targets which ensure that daemons managed this way are missing from the packages.  There is also no nice way to restart all ceph daemons on a machine due to the missing systemd targets.

  [Test Case]
  Install ceph-mon and ceph-osd machines
  Enable and initialise cluster using ceph-osd@ and ceph-mon@ unit files.
  Confirm working
  Reboot machines
  ceph-mon units will not start automatically after reboot
  ceph-osd units will start, but only due to udev rule processing

  [Regression Potential]
  Minimal; we're introducing the missing targets to the packages; these targets will be enabled and started on install, and the change to the packaging ensures that the ceph-mon/mds/create-keys systemd service units
  provided directly by the packaging are managed as before (not auto enabled and started).

  [Original Bug Report]
  The ceph monitor and osd daemons do not restart automatically on server reboot on Xenial.

  $ apt-cache policy ceph
  ceph:
    Installed: 10.2.2-0ubuntu0.16.04.2
    Candidate: 10.2.2-0ubuntu0.16.04.2
    Version table:
   *** 10.2.2-0ubuntu0.16.04.2 500
          500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       10.1.2-0ubuntu1 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

  This is likely caused by the same clash between upstream target files
  and Ubuntu systemd unit files that is noted in [1] but I have opened a
  separate bug because I believe the severity of not having Ceph restart
  automatically on server reboot is higher severity than not being able
  to start/stop all services with one command, which is what is reported
  in [1].

  The source of the Ubuntu package [2] does not have the necessary
  target files that upstream Ceph added to allow for restart on reboot
  under this commit [3] which is included in Ceph's github tag 10.2.2.

  [1] https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1627640
  [2] https://bugs.launchpad.net/ubuntu/+source/ceph/10.2.3-0ubuntu0.16.04.2
  [3] https://github.com/ceph/ceph/commit/15c4ad44010c798af7804e287ba71dcc289f806f

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1646583/+subscriptions