Skip to content

Commit

Permalink
qa/workunits/ceph-disk: --no-mon-config
Browse files Browse the repository at this point in the history
port a095ec8 to the qa/workunits

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed May 11, 2018
1 parent 0e20e83 commit ee33dc8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions qa/workunits/ceph-disk/ceph-disk-no-lockbox
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down Expand Up @@ -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,
])
Expand Down Expand Up @@ -2462,6 +2466,7 @@ def mkfs(
command_check_call(
[
'ceph-osd',
'--no-mon-config',
'--cluster', cluster,
'--mkfs',
'--mkkey',
Expand All @@ -2478,6 +2483,7 @@ def mkfs(
command_check_call(
[
'ceph-osd',
'--no-mon-config',
'--cluster', cluster,
'--mkfs',
'--mkkey',
Expand Down Expand Up @@ -3361,6 +3367,7 @@ def get_space_osd_uuid(name, path):
out = _check_output(
args=[
'ceph-osd',
'--no-mon-config',
'--get-device-fsid',
path,
],
Expand Down

0 comments on commit ee33dc8

Please sign in to comment.