[baremetal] Retry cinder.controller on failure 11/47811/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 26 Nov 2017 22:55:45 +0000 (23:55 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 26 Nov 2017 22:55:45 +0000 (23:55 +0100)
commit92fb2b5e303b5e097a21d43612d5c8132f23152b
treea16e06b1fdee5c507d30eebdd8cfdcd4ba53c5cc
parent8a867449217151f59766a74c6165ffc26c7f50b4
[baremetal] Retry cinder.controller on failure

Occasionally, cinderng.volume_type_present errors with:
ClientException: Service Unavailable (HTTP 503)
Instead of retrying the whole state file, use `wait_for` macro
to retry only this high state up to 5 times.

Change-Id: Ib9ef017aca737e53c853007c13107d56d856c016
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/config/states/openstack_ha