From 5de9a6eb73477d12fab371a22ccd59a139a4f932 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 6 Dec 2017 09:12:48 -0500 Subject: [PATCH] [RM-22324] osd add flags for ceph-volume debug mode Signed-off-by: Alfredo Deza --- ceph_deploy/osd.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ceph_deploy/osd.py b/ceph_deploy/osd.py index 126434c..f62c106 100644 --- a/ceph_deploy/osd.py +++ b/ceph_deploy/osd.py @@ -448,7 +448,11 @@ def make(parser): metavar='HOST', help='remote host(s) to list OSDs from' ) - + osd_list.add_argument( + '--debug', + action='store_true', + help='Enable debug mode on remote ceph-volume calls', + ) osd_create = osd_parser.add_parser( 'create', help='Create new Ceph OSD daemon by preparing and activating a device' @@ -513,6 +517,11 @@ def make(parser): metavar='HOST', help='Remote host to connect' ) + osd_create.add_argument( + '--debug', + action='store_true', + help='Enable debug mode on remote ceph-volume calls', + ) parser.set_defaults( func=osd, ) @@ -552,6 +561,11 @@ def make_disk(parser): metavar='HOST', help='Remote HOST(s) to list OSDs from' ) + disk_list.add_argument( + '--debug', + action='store_true', + help='Enable debug mode on remote ceph-volume calls', + ) parser.set_defaults( func=disk, ) -- 2.47.3