From 5f95f52021fa08de3a0a46bdd98b0b711fec1ecc Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 5 Feb 2018 03:28:45 +0100 Subject: [FN VM] Reboot VMs on jump, wait for all online - apply `linux` state on cfg01 first, so PXE/admin IP is added and FN VM minions are available; - add barrier and wait for all FN VMs to register with cfg01; - use batch-mode execution while applying `linux.network` on FN VMs; - retry all states executed via on FN VMs; JIRA: FUEL-310 Change-Id: I72e1c565370072500df1d486fe76e6315f583c75 Signed-off-by: Alexandru Avadanii --- mcp/config/states/maas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/config/states/maas') diff --git a/mcp/config/states/maas b/mcp/config/states/maas index 8f7a86611..dcbdf98cc 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas @@ -77,7 +77,7 @@ salt -C 'mas01*' state.apply maas.machines # cleanup outdated salt keys sleep 30 salt-key --out yaml | awk '!/^(minions|- cfg01|- mas01)/ {print $2}' | \ - xargs -I{} salt-key -yd {} + xargs --no-run-if-empty -I{} salt-key -yd {} # MaaS node deployment wait_for 10 maas_fixup -- cgit 1.2.3-korg