From f1114cdb7115a7b6aaea89c9b0908e8cf9f66454 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Fri, 24 Jan 2020 16:28:17 +0100 Subject: [PATCH] ceph-volume: remove unnecessary comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This comment is not relevant since we will never bring systemd support to the raw mode. Signed-off-by: Sébastien Han (cherry picked from commit af3f5fded95e4dcc0dfa2a0b2eec5fb2c4252b6c) --- src/ceph-volume/ceph_volume/devices/raw/activate.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/ceph-volume/ceph_volume/devices/raw/activate.py b/src/ceph-volume/ceph_volume/devices/raw/activate.py index 57fb2223d1e62..df6606093c5d7 100644 --- a/src/ceph-volume/ceph_volume/devices/raw/activate.py +++ b/src/ceph-volume/ceph_volume/devices/raw/activate.py @@ -46,14 +46,6 @@ def activate_bluestore(meta, tmpfs, systemd): system.chown(os.path.join(osd_path, 'block')) system.chown(osd_path) -# if systemd: - # write me - # enable the OSD - #systemctl.enable_osd(osd_id) - - # start the OSD - #systemctl.start_osd(osd_id) - terminal.success("ceph-volume raw activate successful for osd ID: %s" % osd_id) @@ -82,7 +74,7 @@ class Activate(object): def main(self): sub_command_help = dedent(""" - Activate (BlueStore) OSD on a raw block device based on the + Activate (BlueStore) OSD on a raw block device based on the device label (normally the first block of the device). ceph-volume raw activate --device /dev/sdb -- 2.39.5