mirror of https://github.com/ceph/go-ceph
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:
parent
0b4ed9dbe8
commit
48bff9548a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue