out = _check_output(
args=[
'ceph-osd',
+ '--no-mon-config',
'--cluster={cluster}'.format(
cluster=cluster,
),
log_file = "/var/log/ceph/$cluster-osd-check.log"
_, _, allows_journal = command([
'ceph-osd', '--check-allows-journal',
+ '--no-mon-config',
'-i', '0',
'--log-file', log_file,
'--cluster', args.cluster,
])
_, _, wants_journal = command([
'ceph-osd', '--check-wants-journal',
+ '--no-mon-config',
'-i', '0',
'--log-file', log_file,
'--cluster', args.cluster,
])
_, _, needs_journal = command([
'ceph-osd', '--check-needs-journal',
+ '--no-mon-config',
'-i', '0',
'--log-file', log_file,
'--cluster', args.cluster,
command_check_call(
[
'ceph-osd',
+ '--no-mon-config',
'--cluster', cluster,
'--mkfs',
'-i', osd_id,
command_check_call(
[
'ceph-osd',
+ '--no-mon-config',
'--cluster', cluster,
'--mkfs',
'-i', osd_id,
out = _check_output(
args=[
'ceph-osd',
+ '--no-mon-config',
'--get-device-fsid',
path,
],