]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat tools : nova_create_flavors.sh additional retry logic
authorSteven Hardy <shardy@redhat.com>
Mon, 10 Sep 2012 09:52:13 +0000 (10:52 +0100)
committerSteven Hardy <shardy@redhat.com>
Mon, 10 Sep 2012 14:52:36 +0000 (15:52 +0100)
commita080c9465833049c691fb3d50d7cf4e591dbf4a5
treee8c3a6991bfda3884ed4a963247047cf4cbc250a
parent15a88d03e5b187b31d17a00f1b845e5a8a749502
heat tools : nova_create_flavors.sh additional retry logic

Add retry logic in order to make creating flavors more
robust.  Nova rate-limiting frequently causes actions to fail
so wrap all requests in retry/sleep logic and check we can
connect to nova before attempting to change anything

Ref #225

Change-Id: I1b1014df04602935f561c08ba29287061224b5f3
Signed-off-by: Steven Hardy <shardy@redhat.com>
tools/nova_create_flavors.sh