Hello,
I am having problem with managing ceph services from command line in a Proxmox 4 cluster with ceph hammer. Proxmox gui works but i need cli managment.
None of the following works:
Old style command sysv /etc/init.d/ceph stop osd.0 stops all ceph services instead of only osd.0
Systemd tries
Running systemctl list-unit-files shows nothing related
Am i missing something obvious?
I am having problem with managing ceph services from command line in a Proxmox 4 cluster with ceph hammer. Proxmox gui works but i need cli managment.
None of the following works:
Old style command sysv /etc/init.d/ceph stop osd.0 stops all ceph services instead of only osd.0
Code:
Dec 8 09:55:51 node1 ceph[14392]: === mon.0 ===
Dec 8 09:55:51 node1 bash[1686]: 2015-12-08 09:55:51.255241 7fd3bf405700 -1 mon.0@0(leader) e5 *** Got Signal Terminated ***
Dec 8 09:55:52 node1 ceph[14392]: Stopping Ceph mon.0 on node1...kill 1688...done
Dec 8 09:55:52 node1 ceph[14392]: === osd.0 ===
Dec 8 09:55:52 node1 bash[2433]: 2015-12-08 09:55:52.302391 7f71676f5700 -1 osd.0 532 *** Got signal Terminated ***
Dec 8 09:55:53 node1 bash[2433]: /bin/bash: line 1: 2436 Terminated /usr/bin/ceph-osd -i 0 --pid-file /var/run/ceph/osd.0.pid -c /etc/ceph/ceph.conf --cluster ceph -f
Dec 8 09:55:53 node1 systemd[1]: run-2431.service: main process exited, code=exited, status=143/n/a
Dec 8 09:55:54 node1 ceph[14392]: Stopping Ceph osd.0 on node1...kill 2436...kill 2436...done
Dec 8 09:55:54 node1 ceph[14392]: === osd.1 ===
Dec 8 09:55:54 node1 bash[2153]: 2015-12-08 09:55:54.351908 7fb8bd972700 -1 osd.1 532 *** Got signal Terminated ***
Dec 8 09:55:55 node1 bash[2153]: /bin/bash: line 1: 2156 Terminated /usr/bin/ceph-osd -i 1 --pid-file /var/run/ceph/osd.1.pid -c /etc/ceph/ceph.conf --cluster ceph -f
Dec 8 09:55:55 node1 systemd[1]: run-2151.service: main process exited, code=exited, status=143/n/a
Dec 8 09:55:56 node1 ceph[14392]: Stopping Ceph osd.1 on node1...kill 2156...kill 2156...done
Systemd tries
Code:
root@node1:~# systemctl status ceph-osd@0
● ceph-osd@0.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
root@node1:~# systemctl status ceph-osd@0.service
● ceph-osd@0.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
root@node1:~# systemctl status ceph-osd@node1.service
● ceph-osd@node1.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Running systemctl list-unit-files shows nothing related
Am i missing something obvious?
Last edited: