Ceph - Unable to stop or start MON or OSD service with 'systemctl'
Issue
- 'systemctl stop/start ceph' does not stop/start the Ceph MON or OSD services.
-
'systemctl stop/start [daemon-type.[instance]' does not stop/start the MON or OSD service.
-
Issuing 'systemctl stop ceph' does not kill the Ceph processes on the node:
# ceph@cephmon1:TESTING:~> sudo systemctl stop ceph
# ceph@cephmon1:TESTING:~> ps ax | grep ceph
519 ? Ss 0:00 /bin/bash -c ulimit -n 32768; /usr/bin/ceph-mon -i cephmon1 --pid-file /var/run/ceph/mon.cephmon1.pid -c /etc/ceph/ceph.conf --cluster ceph -f
520 ? Sl 0:00 /usr/bin/ceph-mon -i cephmon1 --pid-file /var/run/ceph/mon.cephmon1.pid -c /etc/ceph/ceph.conf --cluster ceph -f
705 ? Ss 0:00 /bin/bash -c ulimit -n 32768; /usr/bin/ceph-osd -i 0 --pid-file /var/run/ceph/osd.0.pid -c /etc/ceph/ceph.conf --cluster ceph -f
707 ? Sl 0:00 /usr/bin/ceph-osd -i 0 --pid-file /var/run/ceph/osd.0.pid -c /etc/ceph/ceph.conf --cluster ceph -f
985 pts/0 S+ 0:00 grep --color=auto ceph
- Ceph process is still running on this node.
Environment
- Red Hat Ceph Storage 1.2.3
- Red Hat Ceph Storage 1.3
- Red Hat Ceph Storage 1.3.1
- Red Hat Enterprise Linux 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.