maas: Avoid race condition in node fixups 05/69605/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 29 Jan 2020 16:31:06 +0000 (17:31 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 29 Jan 2020 16:34:26 +0000 (17:34 +0100)
commit1c2b1de8cda572e5462113220206f0d934ac5f96
tree0777d845318f33fc20d4593e48afe972ec3bcfa1
parent03b837ba6d5ffe38d7641af02518f5b09ce8784f
maas: Avoid race condition in node fixups

When more than one node enters a failure state during a deploy attempt,
we recover the first one and issue another deploy request; avoid raising
an exception for the second node (which is not in 'Ready' state either),
allowing the retries to continue.

Change-Id: I4a3e037e78b5c48aebf6e700115c0bbf848c7cd5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/patches/salt-formula-maas/0003-Extend-wait_for-maas.py-wait_for_-attempts-arg.patch
mcp/patches/salt-formula-maas/0005-Implement-tags-support.patch