diff options
author | 2017-09-22 19:04:17 +0200 | |
---|---|---|
committer | 2017-09-22 18:43:47 +0000 | |
commit | fc8846206dad84bdd356500068b740603306300e (patch) | |
tree | a7faf276601f0f9e1da00d78f76d6bd04c36ebbd /mcp/reclass | |
parent | 0448121a5e0a3c1667e1af61fcfb8a51b17fdcfd (diff) |
states: maas: Add 30s delay in re-deploy attempt
Occasionaly, MaaS fails to provision/deploy some nodes, in which
case we try marking them as broken, then fixed (to put them again
in 'ready' state); before re-attempting the MaaS deploy operation.
However, this leads to 'Error: Internal server error' when deploy
function is called right after transitioning the node to 'ready'
state.
Add a delay of 30 seconds before re-attempting the failed operation.
Change-Id: Ia9ecec67639387e4a29feab3114e1741c554a2cb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 39ffab99ad34ff45c0ed8be5a8172106e6a819a5)
Diffstat (limited to 'mcp/reclass')
0 files changed, 0 insertions, 0 deletions