Skip to content

Commit

Permalink
Remove upstart files and references
Browse files Browse the repository at this point in the history
Nautilus is not supported on any distros still running upstart so these
are redundant.

Signed-off-by: Brad Hubbard <[email protected]>
  • Loading branch information
badone committed Aug 20, 2018
1 parent c1a43ca commit 2c755ce
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 401 deletions.
3 changes: 3 additions & 0 deletions PendingReleaseNotes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
'ceph osd destroy' or 'ceph osd purge' (but after first confirming it is
safe to do so via the 'ceph osd safe-to-destroy' command).

* Nautilus is not supported on any distros still running upstart so upstart
specific files and references have been removed.

>=13.1.0
--------

Expand Down
18 changes: 0 additions & 18 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,6 @@ override_dh_installlogrotate:
dh_installlogrotate -pceph-common

override_dh_installinit:
# dh_installinit is only set up to handle one upstart script
# per package, so do this ourselves
install -d -m0755 debian/ceph-base/etc/init
install -m0644 src/upstart/ceph-all.conf debian/ceph-base/etc/init
install -d -m0755 debian/ceph-osd/etc/init
install -m0644 src/upstart/ceph-osd*.conf debian/ceph-osd/etc/init
install -d -m0755 debian/ceph-mon/etc/init
install -m0644 src/upstart/ceph-mon*.conf debian/ceph-mon/etc/init
install -d -m0755 debian/ceph-common/etc/init
install -m0644 src/upstart/rbdmap.conf debian/ceph-common/etc/init
install -d -m0755 debian/ceph-mds/etc/init
install -m0644 src/upstart/ceph-mds*.conf debian/ceph-mds/etc/init
install -d -m0755 debian/ceph-mgr/etc/init
install -m0644 src/upstart/ceph-mgr*.conf debian/ceph-mgr/etc/init
install -d -m0755 debian/radosgw/etc/init
install -m0644 src/upstart/radosgw*.conf debian/radosgw/etc/init
install -d -m0755 debian/rbd-mirror/etc/init
install -m0644 src/upstart/ceph-rbd-mirror*.conf debian/rbd-mirror/etc/init
# install the systemd stuff manually since we have funny service names
install -d -m0755 debian/ceph-common/etc/default
install -m0644 etc/default/ceph debian/ceph-common/etc/default/
Expand Down
18 changes: 0 additions & 18 deletions doc/install/manual-deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,31 +240,13 @@ The procedure is as follows:
osd pool default pgp num = 333
osd crush chooseleaf type = 1

#. Touch the ``done`` file.

Mark that the monitor is created and ready to be started::

sudo touch /var/lib/ceph/mon/ceph-node1/done

#. Start the monitor(s).

For most distributions, services are started via systemd now::

sudo systemctl start ceph-mon@node1

For Ubuntu Trusty, use Upstart::

sudo start ceph-mon id=node1 [cluster={cluster-name}]

In this case, to allow the start of the daemon at each reboot you
must create two empty files like this::

sudo touch /var/lib/ceph/mon/{cluster-name}-{hostname}/upstart

For example::

sudo touch /var/lib/ceph/mon/ceph-node1/upstart

For older Debian/CentOS/RHEL, use sysvinit::

sudo /etc/init.d/ceph start mon.node1
Expand Down
16 changes: 0 additions & 16 deletions doc/rados/operations/operating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,6 @@ For example::



Running Ceph with Upstart
=========================

When deploying Ceph with ``ceph-deploy`` on Ubuntu Trusty, you may start and
stop Ceph daemons on a :term:`Ceph Node` using the event-based `Upstart`_.
Upstart does not require you to define daemon instances in the Ceph
configuration file.

To list the Ceph Upstart jobs and instances on a node, execute::

sudo initctl list | grep ceph

See `initctl`_ for additional details.


Starting all Daemons
--------------------

Expand Down Expand Up @@ -247,5 +232,4 @@ include:


.. _Valgrind: http://www.valgrind.org/
.. _Upstart: http://upstart.ubuntu.com/index.html
.. _initctl: http://manpages.ubuntu.com/manpages/raring/en/man8/initctl.8.html
4 changes: 0 additions & 4 deletions src/upstart/ceph-all.conf

This file was deleted.

18 changes: 0 additions & 18 deletions src/upstart/ceph-mds-all-starter.conf

This file was deleted.

4 changes: 0 additions & 4 deletions src/upstart/ceph-mds-all.conf

This file was deleted.

26 changes: 0 additions & 26 deletions src/upstart/ceph-mds.conf

This file was deleted.

17 changes: 0 additions & 17 deletions src/upstart/ceph-mgr-all-starter.conf

This file was deleted.

4 changes: 0 additions & 4 deletions src/upstart/ceph-mgr-all.conf

This file was deleted.

26 changes: 0 additions & 26 deletions src/upstart/ceph-mgr.conf

This file was deleted.

19 changes: 0 additions & 19 deletions src/upstart/ceph-mon-all-starter.conf

This file was deleted.

4 changes: 0 additions & 4 deletions src/upstart/ceph-mon-all.conf

This file was deleted.

31 changes: 0 additions & 31 deletions src/upstart/ceph-mon.conf

This file was deleted.

19 changes: 0 additions & 19 deletions src/upstart/ceph-osd-all-starter.conf

This file was deleted.

4 changes: 0 additions & 4 deletions src/upstart/ceph-osd-all.conf

This file was deleted.

29 changes: 0 additions & 29 deletions src/upstart/ceph-osd.conf

This file was deleted.

18 changes: 0 additions & 18 deletions src/upstart/ceph-rbd-mirror-all-starter.conf

This file was deleted.

4 changes: 0 additions & 4 deletions src/upstart/ceph-rbd-mirror-all.conf

This file was deleted.

26 changes: 0 additions & 26 deletions src/upstart/ceph-rbd-mirror.conf

This file was deleted.

18 changes: 0 additions & 18 deletions src/upstart/radosgw-all-starter.conf

This file was deleted.

4 changes: 0 additions & 4 deletions src/upstart/radosgw-all.conf

This file was deleted.

Loading

0 comments on commit 2c755ce

Please sign in to comment.