out = _check_output(
args=[
'ceph-osd',
+ '--no-mon-config',
'--cluster={cluster}'.format(
cluster=cluster,
),
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,
])
command_check_call(
[
'ceph-osd',
+ '--no-mon-config',
'--cluster', cluster,
'--mkfs',
'--mkkey',
command_check_call(
[
'ceph-osd',
+ '--no-mon-config',
'--cluster', cluster,
'--mkfs',
'--mkkey',
out = _check_output(
args=[
'ceph-osd',
+ '--no-mon-config',
'--get-device-fsid',
path,
],