]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/ceph-disk: --no-mon-config 21942/head
authorKefu Chai <kchai@redhat.com>
Fri, 11 May 2018 13:06:51 +0000 (21:06 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 11 May 2018 13:07:56 +0000 (21:07 +0800)
port a095ec8b to the qa/workunits

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/ceph-disk/ceph-disk-no-lockbox

index b9c1c6c39da081b9bffeb7282834f7bcb500ab23..72af9a5f4de4ccba6a6cbd668983aaedff211ad6 100755 (executable)
@@ -1039,6 +1039,7 @@ def get_conf_with_default(cluster, variable):
         out = _check_output(
             args=[
                 'ceph-osd',
+                '--no-mon-config',
                 '--cluster={cluster}'.format(
                     cluster=cluster,
                 ),
@@ -1327,16 +1328,19 @@ def get_free_partition_index(dev):
 def check_journal_reqs(args):
     _, _, allows_journal = command([
         'ceph-osd', '--check-allows-journal',
+        '--no-mon-config',
         '-i', '0',
         '--cluster', args.cluster,
     ])
     _, _, wants_journal = command([
         'ceph-osd', '--check-wants-journal',
+        '--no-mon-config',
         '-i', '0',
         '--cluster', args.cluster,
     ])
     _, _, needs_journal = command([
         'ceph-osd', '--check-needs-journal',
+        '--no-mon-config',
         '-i', '0',
         '--cluster', args.cluster,
     ])
@@ -2462,6 +2466,7 @@ def mkfs(
         command_check_call(
             [
                 'ceph-osd',
+                '--no-mon-config',
                 '--cluster', cluster,
                 '--mkfs',
                 '--mkkey',
@@ -2478,6 +2483,7 @@ def mkfs(
         command_check_call(
             [
                 'ceph-osd',
+                '--no-mon-config',
                 '--cluster', cluster,
                 '--mkfs',
                 '--mkkey',
@@ -3361,6 +3367,7 @@ def get_space_osd_uuid(name, path):
         out = _check_output(
             args=[
                 'ceph-osd',
+                '--no-mon-config',
                 '--get-device-fsid',
                 path,
             ],