From 5f6e8eec603529861ba513956336904de0acc710 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 21 Aug 2018 22:48:10 +0200 Subject: [PATCH 1/1] Also ask our nagios check if drbd is fine --- modules/ganeti2/files/ganeti-reboot-cluster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ganeti2/files/ganeti-reboot-cluster b/modules/ganeti2/files/ganeti-reboot-cluster index 383eb7ae1..bc95de334 100755 --- a/modules/ganeti2/files/ganeti-reboot-cluster +++ b/modules/ganeti2/files/ganeti-reboot-cluster @@ -214,7 +214,7 @@ crossmigrate() { if [ -e /proc/drbd ]; then echo "Waiting for drbd to be consistent." sleep 5 - while egrep -C2 --color -i 'iconsistent|finish' /proc/drbd; do + while egrep -C2 --color -i 'iconsistent|finish' /proc/drbd || ! /usr/lib/nagios/plugins/dsa-check-drbd -d All ; do echo "Still waiting.." sleep 5 done -- 2.20.1