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

Alwin Antreich a.antreich at proxmox.com
Thu Feb 20 09:33:29 CET 2020


On Wed, Feb 19, 2020 at 12:05:44PM +0100, Marco Gaiarin wrote:
> 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.service
>ceph-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?
I suppose you did that already. Did it work?

--
Cheers,
Alwin




More information about the pve-user mailing list