why not enable ceph-osd@<id> for ceph-volume lvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alfredo,

Why don't we enable the ceph-osd@<id> service during ceph-volume lvm activation?

ceph_volume/devices/lvm/activate.py:

    if no_systemd is False:
        # enable the ceph-volume unit for this OSD
        systemctl.enable_volume(osd_id, osd_fsid, 'lvm')

        # start the OSD
        systemctl.start_osd(osd_id)

Because of this, the ceph-osd.target doesn't really work on lvm
activated machines:

# systemctl list-dependencies ceph-osd.target
ceph-osd.target
#

and once we stop osds with `systemctl stop ceph-osd.target`, they can
no longer be started, i.e. `systemctl start ceph-osd.target` does
nothing.

Cheers, Dan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux