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