From 05764de6e7d786f1f096c4c17c81640d590653a4 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Wed, 17 Jun 2015 11:53:57 -0500 Subject: [PATCH] Wait longer for root device to become available On some systems, it can take longer than 10 seconds for the root disk to be detected. Because enterprise hardware. Increase the wait time to 60 seconds so we don't incorrectly fail due to a missing root device. Change-Id: I4f67ef0295af8f2ae783fe3aea347b41987c6a66 --- elements/deploy-ironic/init.d/80-deploy-ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/deploy-ironic/init.d/80-deploy-ironic b/elements/deploy-ironic/init.d/80-deploy-ironic index ca2d788c3..a91e3001c 100644 --- a/elements/deploy-ironic/init.d/80-deploy-ironic +++ b/elements/deploy-ironic/init.d/80-deploy-ironic @@ -113,7 +113,7 @@ if [[ $ROOT_DEVICE ]]; then else t=0 while ! target_disk=$(find_disk "$DISK"); do - if [ $t -eq 10 ]; then + if [ $t -eq 60 ]; then break fi t=$(($t + 1))