[baremetal] Retry cinder.controller on failure 67/47867/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 26 Nov 2017 22:55:45 +0000 (23:55 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 27 Nov 2017 17:00:38 +0000 (17:00 +0000)
commitf8322ce158dab307290aecb95864d86b0e88fb20
tree7822a527276a4df6bc81e3480ca9be4100a36f43
parentb4cb2de10a932439d6089294f7bf29f01f6602da
[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>
(cherry picked from commit 92fb2b5e303b5e097a21d43612d5c8132f23152b)
mcp/config/states/openstack_ha