summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/ceph_volume/devices/lvm/create.py
diff options
context:
space:
mode:
authorAndrew Schoen <aschoen@redhat.com>2018-01-09 16:52:23 +0100
committerAndrew Schoen <aschoen@redhat.com>2018-01-09 17:00:15 +0100
commit0185d93cc1be1e7a6d3a803631ff92df9787754a (patch)
tree4ae2f58cbc42f0a5deb5037e007998a36ebe3716 /src/ceph-volume/ceph_volume/devices/lvm/create.py
parentceph-volume: add success message for ceph-volume lvm activate (diff)
downloadceph-0185d93cc1be1e7a6d3a803631ff92df9787754a.tar.xz
ceph-0185d93cc1be1e7a6d3a803631ff92df9787754a.zip
ceph-volume: add success message for ceph-volume lvm create
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Diffstat (limited to 'src/ceph-volume/ceph_volume/devices/lvm/create.py')
-rw-r--r--src/ceph-volume/ceph_volume/devices/lvm/create.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ceph-volume/ceph_volume/devices/lvm/create.py b/src/ceph-volume/ceph_volume/devices/lvm/create.py
index 8e6d8e021cc..f82ff3e6b8b 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("""