[Bug 1646583] Re: Ceph mon and osd don't restart on reboot with Xenial

James Page james.page at ubuntu.com
Fri Jan 6 09:24:45 UTC 2017


Comparing upstream tip of jewel vs ubuntu:

        install -m0644 systemd/ceph.target debian/ceph-
common/lib/systemd/system

	install -m0644 systemd/ceph-mon.target debian/ceph-mon/lib/systemd/system
	install -m0644 systemd/ceph-osd.target debian/ceph-osd/lib/systemd/system
	install -m0644 systemd/ceph-mds.target debian/ceph-mds/lib/systemd/system
	install -m0644 systemd/ceph-radosgw.target debian/radosgw/lib/systemd/system
	install -m0644 systemd/ceph-rbd-mirror.target debian/rbd-mirror/lib/systemd/system

vs
	install -m0644 systemd/ceph.target debian/ceph-common/lib/systemd/system


the later 5 targets not being installed by the Ubuntu packaging.

-- 
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/1646583

Title:
  Ceph mon and osd don't restart on reboot with Xenial

Status in ceph package in Ubuntu:
  New

Bug description:
  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



More information about the Ubuntu-openstack-bugs mailing list