]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: remove unnecessary comment
authorSébastien Han <seb@redhat.com>
Fri, 24 Jan 2020 15:28:17 +0000 (16:28 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 28 Feb 2020 15:38:29 +0000 (16:38 +0100)
This comment is not relevant since we will never bring systemd support
to the raw mode.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit af3f5fded95e4dcc0dfa2a0b2eec5fb2c4252b6c)

src/ceph-volume/ceph_volume/devices/raw/activate.py

index 57fb2223d1e62b89407587a8a089539e8e12d40d..df6606093c5d7ec99564ba423686b5ffe134e0d2 100644 (file)
@@ -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