mirror of https://github.com/ceph/go-ceph
ci: run ceph-osd in foreground during mkfs
This is an attempt to fix #423. Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
parent
c91f54ef25
commit
134c628df1
|
@ -77,7 +77,8 @@ ceph-mon --id ${MON_NAME}
|
||||||
# start an osd
|
# start an osd
|
||||||
OSD_ID=$(ceph osd create)
|
OSD_ID=$(ceph osd create)
|
||||||
ceph osd crush add osd.${OSD_ID} 1 root=default host=localhost
|
ceph osd crush add osd.${OSD_ID} 1 root=default host=localhost
|
||||||
ceph-osd --id ${OSD_ID} --mkjournal --mkfs
|
ceph-osd --id ${OSD_ID} --mkjournal --mkfs --foreground
|
||||||
|
sync # this is an attempt to fix CI issue #423, remove if it has no effect
|
||||||
ceph-osd --id ${OSD_ID}
|
ceph-osd --id ${OSD_ID}
|
||||||
|
|
||||||
# start an mds for cephfs
|
# start an mds for cephfs
|
||||||
|
|
Loading…
Reference in New Issue