diff --git a/lib/nova b/lib/nova index 8691c8eb33..d89d64e72f 100644 --- a/lib/nova +++ b/lib/nova @@ -1000,7 +1000,7 @@ function is_nova_ready { # because of the dom0/domU split. Just ignore for now. return fi - wait_for_compute 60 + wait_for_compute $NOVA_READY_TIMEOUT } function start_nova { diff --git a/stackrc b/stackrc index b7105d368e..aebf152bad 100644 --- a/stackrc +++ b/stackrc @@ -813,6 +813,9 @@ fi # Service startup timeout SERVICE_TIMEOUT=${SERVICE_TIMEOUT:-60} +# Timeout for compute node registration in Nova +NOVA_READY_TIMEOUT=${NOVA_READY_TIMEOUT:-$SERVICE_TIMEOUT} + # Service graceful shutdown timeout SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT=${SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT:-5}