try:
osd_id = _check_output(
args=[
- 'ceph',
+ '/usr/bin/ceph',
'--cluster', cluster,
'--name', 'client.bootstrap-osd',
'--keyring', keyring,
monmap = os.path.join(path, 'activate.monmap')
subprocess.check_call(
args=[
- 'ceph',
+ '/usr/bin/ceph',
'--cluster', cluster,
'--name', 'client.bootstrap-osd',
'--keyring', keyring,
subprocess.check_call(
args=[
- 'ceph-osd',
+ '/usr/bin/ceph-osd',
'--cluster', cluster,
'--mkfs',
'--mkkey',
):
subprocess.check_call(
args=[
- 'ceph',
+ '/usr/bin/ceph',
'--cluster', cluster,
'--name', 'client.bootstrap-osd',
'--keyring', keyring,
maybe_mkdir(osd_data)
subprocess.check_call(
args=[
- 'mount',
+ '/bin/mount',
'--move',
'--',
path,
try:
p = subprocess.Popen(
args=[
- 'ceph-conf',
+ '/usr/bin/ceph-conf',
'--cluster={cluster}'.format(
cluster=cluster,
),
try:
subprocess.check_call(
args=[
- 'mount',
+ '/bin/mount',
'-o', options,
'--',
dev,
try:
subprocess.check_call(
args=[
- 'umount',
+ '/bin/umount',
'--',
path,
],