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>
# 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("""