Bug #15579
closed"mon" is enabled but not started after reboot
0%
Description
[ceph@octopus conf]$ sudo systemctl is-enabled ceph-mon@octopus.service
enabled
[ceph@octopus conf]$ sudo systemctl status ceph-mon@octopus.service
● ceph-mon@octopus.service - Ceph cluster monitor daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mon@.service; enabled; vendor preset: disabled)
Active: inactive (dead)
[ceph@octopus conf]$ sudo systemctl start ceph-mon@octopus.service
[ceph@octopus conf]$ sudo systemctl status ceph-mon@octopus.service
● ceph-mon@octopus.service - Ceph cluster monitor daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mon@.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2016-04-22 20:09:58 EDT; 2s ago
Main PID: 10623 (ceph-mon)
CGroup: /system.slice/system-ceph\x2dmon.slice/ceph-mon@octopus.service
└─10623 /usr/bin/ceph-mon -f --cluster ceph --id octopus --setuser ceph --setgroup ceph
Apr 22 20:09:58 octopus.fullstack.go systemd1: Started Ceph cluster monitor daemon.
Apr 22 20:09:58 octopus.fullstack.go systemd1: Starting Ceph cluster monitor daemon...
Apr 22 20:09:58 octopus.fullstack.go ceph-mon10623: starting mon.octopus rank 0 at 172.16.0.2:6789/0 mon_data /var/lib/ceph/mon/ceph-octopus fsid 7711b848-20d7-4831-aba5-7c65306f36bf
[ceph@octopus conf]$ ceph -v
ceph version 10.1.0 (96ae8bd25f31862dbd5302f304ebf8bf1166aba6)
Updated by bo zhou almost 8 years ago
I have the same problem !
You can enable ceph.target ceph-mon.target ceph-osd.target
and reboot ... V
Shinobu Kinjo wrote:
[ceph@octopus conf]$ sudo systemctl is-enabled ceph-mon@octopus.service
enabled[ceph@octopus conf]$ sudo systemctl status ceph-mon@octopus.service
● ceph-mon@octopus.service - Ceph cluster monitor daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mon@.service; enabled; vendor preset: disabled)
Active: inactive (dead)[ceph@octopus conf]$ sudo systemctl start ceph-mon@octopus.service
[ceph@octopus conf]$ sudo systemctl status ceph-mon@octopus.service
● ceph-mon@octopus.service - Ceph cluster monitor daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mon@.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2016-04-22 20:09:58 EDT; 2s ago
Main PID: 10623 (ceph-mon)
CGroup: /system.slice/system-ceph\x2dmon.slice/ceph-mon@octopus.service
└─10623 /usr/bin/ceph-mon -f --cluster ceph --id octopus --setuser ceph --setgroup cephApr 22 20:09:58 octopus.fullstack.go systemd1: Started Ceph cluster monitor daemon.
Apr 22 20:09:58 octopus.fullstack.go systemd1: Starting Ceph cluster monitor daemon...
Apr 22 20:09:58 octopus.fullstack.go ceph-mon10623: starting mon.octopus rank 0 at 172.16.0.2:6789/0 mon_data /var/lib/ceph/mon/ceph-octopus fsid 7711b848-20d7-4831-aba5-7c65306f36bf[ceph@octopus conf]$ ceph -v
ceph version 10.1.0 (96ae8bd25f31862dbd5302f304ebf8bf1166aba6)
Updated by Nathan Cutler almost 8 years ago
This is a known bug that was fully fixed only after the jewel release. As a workaround, please do as Bo Zhou advises. If you are running MDS and/or RGW, you will need to do systemctl enable ceph-mds.target ceph-radosgw.target
as well.
Updated by Greg Farnum almost 7 years ago
- Status changed from New to Closed
Based on Nathan's comment.