From: Andrew Schoen Date: Tue, 9 Jan 2018 18:21:35 +0000 (-0600) Subject: ceph-volume: adds success message to ceph-volume simple activate X-Git-Tag: v13.0.2~574^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19875%2Fhead;p=ceph.git ceph-volume: adds success message to ceph-volume simple activate 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 --- diff --git a/src/ceph-volume/ceph_volume/devices/simple/activate.py b/src/ceph-volume/ceph_volume/devices/simple/activate.py index ac1bfff74057..0e22c040d277 100644 --- a/src/ceph-volume/ceph_volume/devices/simple/activate.py +++ b/src/ceph-volume/ceph_volume/devices/simple/activate.py @@ -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("""