Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
b0c72d0
)
Merge "states: maas: Add 30s delay in re-deploy attempt" into stable/euphrates
author
Alexandru Avadanii
<Alexandru.Avadanii@enea.com>
Sat, 23 Sep 2017 02:55:24 +0000
(
02:55
+0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Sat, 23 Sep 2017 02:55:24 +0000
(
02:55
+0000)
mcp/config/states/maas
patch
|
blob
|
history
diff --git
a/mcp/config/states/maas
b/mcp/config/states/maas
index
11c89c9
..
e1ffa87
100755
(executable)
--- a/
mcp/config/states/maas
+++ b/
mcp/config/states/maas
@@
-28,6
+28,7
@@
function maas_fixup() {
for node_system_id in ${fcnodes}; do
salt -C 'mas01*' state.apply maas.machines.delete \
pillar="{'system_id': '${node_system_id}'}"
+ sleep 30
done
if [ -n "${fcnodes}" ]; then
salt -C 'mas01*' state.apply maas.machines
@@
-40,6
+41,7
@@
function maas_fixup() {
for node_system_id in ${fdnodes}; do
salt -C 'mas01*' state.apply maas.machines.mark_broken_fixed \
pillar="{'system_id': '${node_system_id}'}"
+ sleep 30
done
if [ -n "${fdnodes}" ]; then
salt -C 'mas01*' state.apply maas.machines.deploy