From d5369f008e02b95431ca0fc35ae7a2cb869a677c Mon Sep 17 00:00:00 2001 From: David Moreau-Simard Date: Mon, 28 Nov 2016 11:11:32 -0500 Subject: [PATCH] Tweak the amount of retries when trying to get a node from cico There are temporary heavier rate limiting on cico due to a misbehaving tenant, let's put some retries in place to alleviate the issues with getting nodes. Since the rate limiting is based on "amount of nodes per 5 minutes", let's retry for at least 6 minutes before giving up. Change-Id: I56325578e176f4e5e3bb01f7d411c133f35f87b7 --- ci-scripts/get-node.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/get-node.sh b/ci-scripts/get-node.sh index d8bb9d1ca..7ad8f188c 100644 --- a/ci-scripts/get-node.sh +++ b/ci-scripts/get-node.sh @@ -18,8 +18,8 @@ popd $WORKSPACE/bin/cico node get --arch x86_64 \ --release 7 \ --count 1 \ - --retry-count 2 \ - --retry-interval 30 \ + --retry-count 6 \ + --retry-interval 60 \ -f csv > $WORKSPACE/provisioned.csv $WORKSPACE/bin/cico inventory