]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: adds success message to ceph-volume simple activate 19875/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 9 Jan 2018 18:21:35 +0000 (12:21 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 9 Jan 2018 18:21:35 +0000 (12:21 -0600)
This used to only show the message if systemd was not being used, now
it will show this always if the command is successful.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
src/ceph-volume/ceph_volume/devices/simple/activate.py

index ac1bfff74057d85a2242bed01e09da92f215ed23..0e22c040d277b4119665b3db79cf254beedd072e 100644 (file)
@@ -77,12 +77,11 @@ class Activate(object):
         # start the OSD
         systemctl.start_osd(osd_id)
 
-        if not self.systemd:
-            terminal.success('Successfully activated OSD %s with FSID %s' % (osd_id, osd_fsid))
-            terminal.warning(
-                ('All ceph-disk systemd units have been disabled to '
-                 'prevent OSDs getting triggered by UDEV events')
-            )
+        terminal.success('Successfully activated OSD %s with FSID %s' % (osd_id, osd_fsid))
+        terminal.warning(
+            ('All ceph-disk systemd units have been disabled to '
+             'prevent OSDs getting triggered by UDEV events')
+        )
 
     def main(self):
         sub_command_help = dedent("""