diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2020-01-29 17:31:06 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2020-01-29 17:40:55 +0000 |
commit | 1be5f40ede2e0939235e9cac7293f6a1daaf461b (patch) | |
tree | 0777d845318f33fc20d4593e48afe972ec3bcfa1 /mcp/reclass/nodes | |
parent | ebe8fcb9f0b1939d0ce63d92fbae427e05321674 (diff) |
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>
(cherry picked from commit 1c2b1de8cda572e5462113220206f0d934ac5f96)
Diffstat (limited to 'mcp/reclass/nodes')
0 files changed, 0 insertions, 0 deletions