aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/baremetal_init
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-03-07 02:50:47 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-03-07 03:10:33 +0100
commit3f63be553d8be68b2dc39dd2813bf5ffef0c3207 (patch)
tree02084e814449999975361e8516ed072b25af4c21 /mcp/config/states/baremetal_init
parent4608ea751ebbe43479e60215599eae506fd3b963 (diff)
[ha] Add route_wrapper to prx, kvm
Similar to cmp, when route already exists, networking service fails to start on 'nginx:server' slaves ('kvm' in novcp case). JIRA: FUEL-349 Change-Id: I2dc83ea78528533e92c9b9125e78b6e4387bdfe2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/baremetal_init')
-rwxr-xr-xmcp/config/states/baremetal_init2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/baremetal_init b/mcp/config/states/baremetal_init
index d3a255d48..a7941e00e 100755
--- a/mcp/config/states/baremetal_init
+++ b/mcp/config/states/baremetal_init
@@ -27,7 +27,7 @@ salt -C 'kvm*' state.apply linux.network,linux.system.kernel
salt -C 'kvm* or cmp*' state.apply salt.minion
salt -C 'cmp*' state.apply linux.system
# wrap distro `route` binary to silence errors when route already exists
-salt -C 'cmp*' state.apply opnfv.route_wrapper
+wait_for 5.0 "salt -C 'kvm* or cmp*' state.apply opnfv.route_wrapper"
salt -C 'cmp*' state.apply linux.network || true
wait_for 30.0 "salt -C 'kvm* or cmp*' test.ping"