[PVE-User] How to restart ceph-mon?

Marco Gaiarin gaio at sv.lnf.it
Wed Feb 19 12:05:44 CET 2020


Mandi! Alwin Antreich
  In chel di` si favelave...

> What does the status of the service show?
>   systemctl status ceph-mon at 3.service

Uh, never minded about that, damn me!

 root at thor:~# systemctl status ceph-mon at 3.serviceceph-mon at 3.service - Ceph cluster monitor daemon
    Loaded: loaded (/lib/systemd/system/ceph-mon at .service; disabled; vendor preset: enabled)
   Drop-In: /lib/systemd/system/ceph-mon at .service.d
            └─ceph-after-pve-cluster.conf
    Active: failed (Result: exit-code) since Wed 2020-02-19 11:31:47 CET; 29min ago
   Process: 3434884 ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id 3 --setuser ceph --setgroup ceph (code=exited, status=1/FAILURE)
  Main PID: 3434884 (code=exited, status=1/FAILURE)
 
 Feb 19 11:31:37 thor systemd[1]: ceph-mon at 3.service: Failed with result 'exit-code'.
 Feb 19 11:31:47 thor systemd[1]: ceph-mon at 3.service: Service hold-off time over, scheduling restart.
 Feb 19 11:31:47 thor systemd[1]: Stopped Ceph cluster monitor daemon.
 Feb 19 11:31:47 thor systemd[1]: ceph-mon at 3.service: Start request repeated too quickly.
 Feb 19 11:31:47 thor systemd[1]: Failed to start Ceph cluster monitor daemon.
 Feb 19 11:31:47 thor systemd[1]: ceph-mon at 3.service: Unit entered failed state.
 Feb 19 11:31:47 thor systemd[1]: ceph-mon at 3.service: Failed with result 'exit-code'.

I've tried:

	systemctl stop ceph-mon at 3.service

but old daemon is still alive:

	root at thor:~# systemctl stop ceph-mon at 3.service
	root at thor:~# ps aux | grep ceph-[m]on
	ceph        2469  0.7  0.1 539704 67408 ?        Ssl   2019 918:08 /usr/bin/ceph-mon -i 3 --pid-file /var/run/ceph/mon.3.pid -c /etc/ceph/ceph.conf --cluster ceph --setuser ceph --setgroup ceph

it is time to kill it?


> To add, the numeric ID for MONs is an old concept and already depricated
> for some time now. Best recreate them, the default uses already the
> hostname for its ID.

OK, thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list