From 0185d93cc1be1e7a6d3a803631ff92df9787754a Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 9 Jan 2018 09:52:23 -0600 Subject: [PATCH] ceph-volume: add success message for ceph-volume lvm create Signed-off-by: Andrew Schoen --- src/ceph-volume/ceph_volume/devices/lvm/create.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/create.py b/src/ceph-volume/ceph_volume/devices/lvm/create.py index 8e6d8e021cced..f82ff3e6b8bbc 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/create.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/create.py @@ -2,7 +2,7 @@ from __future__ import print_function from textwrap import dedent import logging from ceph_volume.util import system -from ceph_volume import decorators +from ceph_volume import decorators, terminal from .common import create_parser, rollback_osd from .prepare import Prepare from .activate import Activate @@ -34,6 +34,7 @@ class Create(object): logger.info('will rollback OSD ID creation') rollback_osd(args, osd_id) raise + terminal.success("ceph-volume lvm create successful for: %s" % args.data) def main(self): sub_command_help = dedent(""" -- 2.39.5