From dd02a216335c4c60a5979aaaed99ded0470d8c8d Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Mon, 26 Aug 2019 16:56:50 -0400 Subject: [PATCH] Adjust placement query for reserved nodes Minor timing changes in an attempt to: a) Make the logs less noisy b) Wait a little bit longer for placement records to be updated. Change-Id: I4f64a2f5ab2d1696f244f083d5dc387c75cc1175 --- devstack/lib/ironic | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 165b218e6c..b0d91dad98 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1890,8 +1890,8 @@ function wait_for_nova_resources { local i local count - echo_summary "Waiting 2 minutes for Nova resource tracker to pick up $expected_count nodes" - for i in $(seq 1 120); do + echo_summary "Waiting up to 3 minutes for placement to pick up $expected_count nodes" + for i in $(seq 1 12); do # Fetch provider UUIDs from Placement local providers providers=$(curl -sH "X-Auth-Token: $token" $endpoint/resource_providers \ @@ -1932,7 +1932,7 @@ function wait_for_nova_resources { if is_service_enabled n-api; then $TOP_DIR/tools/discover_hosts.sh fi - sleep 1 + sleep 15 done die $LINENO "Timed out waiting for Nova to track $expected_count nodes" }