Move the terminal.success to the methods that have access to the
correct osd_id so that they do not print None for the osd_id
in the log message.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
# start the OSD
systemctl.start_osd(osd_id)
+ terminal.success("ceph-volume lvm activate successful for osd ID: %s" % osd_id)
def get_osd_device_path(osd_lv, lvs, device_type):
# start the OSD
systemctl.start_osd(osd_id)
+ terminal.success("ceph-volume lvm activate successful for osd ID: %s" % osd_id)
class Activate(object):
activate_bluestore(lvs)
elif args.filestore:
activate_filestore(lvs)
- terminal.success("ceph-volume lvm activate successful for osd ID: %s" % args.osd_id)
def main(self):
sub_command_help = dedent("""