ci: wait before starting ceph-osd

This is another attempt to fix #423.

Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
Sven Anderson 2021-02-03 15:59:56 +01:00 committed by mergify[bot]
parent 0b4ed9dbe8
commit 48bff9548a
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +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 --foreground
sync # this is an attempt to fix CI issue #423, remove if it has no effect
ceph-osd --id ${OSD_ID} --mkjournal --mkfs
sleep 5 # 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