Pin keepalived to run on ctl01 firstly
diff --git a/tcp_tests/templates/common-services/virtual-mcp-ocata-ovs-common-services.yaml b/tcp_tests/templates/common-services/virtual-mcp-ocata-ovs-common-services.yaml
index 96b1248..e4a56ea 100644
--- a/tcp_tests/templates/common-services/virtual-mcp-ocata-ovs-common-services.yaml
+++ b/tcp_tests/templates/common-services/virtual-mcp-ocata-ovs-common-services.yaml
@@ -1,10 +1,16 @@
{% from 'virtual-mcp-ocata-ovs.jinja' import HOSTNAME_CFG01 with context %}
# Install support services
+- description: Install keepalived on ctl01
+ cmd: salt --hard-crash --state-output=mixed --state-verbose=False
+ -C 'I@keepalived:cluster and *01*' state.sls keepalived
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 1, delay: 10}
+ skip_fail: true
- description: Install keepalived
cmd: salt --hard-crash --state-output=mixed --state-verbose=False
- -C 'I@keepalived:cluster' state.sls keepalived -b 1
+ -C 'I@keepalived:cluster' state.sls keepalived
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 1, delay: 10}
skip_fail: true
@@ -38,7 +44,6 @@
retry: {count: 1, delay: 5}
skip_fail: false
-
- description: Install RabbitMQ
cmd: salt --hard-crash --state-output=mixed --state-verbose=False
-C 'I@rabbitmq:server' state.sls rabbitmq -b 1