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:
Sven Anderson 2021-01-11 23:53:09 +01:00 committed by mergify[bot]
parent c91f54ef25
commit 134c628df1
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ ceph-mon --id ${MON_NAME}
# start an osd
OSD_ID=$(ceph osd create)
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}
# start an mds for cephfs