[osd remove] wait for monit to terminate

This commit is contained in:
Nico Schottelius 2018-06-19 13:07:42 +02:00
parent 65b9001f89
commit 4147bbca91

View file

@ -26,6 +26,8 @@ fi
ceph osd crush remove $osd_name ceph osd crush remove $osd_name
ceph osd rm $osd_name ceph osd rm $osd_name
# Sleep 5 to wait for monit to kill it
sleep 5
umount "$mountpath" umount "$mountpath"
echo 'TODO: remove from fstab!' echo 'TODO: remove from fstab!'