]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-22324] osd add flags for ceph-volume debug mode
authorAlfredo Deza <adeza@redhat.com>
Wed, 6 Dec 2017 14:12:48 +0000 (09:12 -0500)
committerAlfredo Deza <adeza@redhat.com>
Wed, 6 Dec 2017 14:12:48 +0000 (09:12 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph_deploy/osd.py

index 126434c08247737016c410f08abe30070e231ba6..f62c1066cbb873ada32254e936301b0a7047685a 100644 (file)
@@ -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,
         )