aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Herrero <guillermo.herrero@enea.com>2018-12-07 09:09:38 +0100
committerGuillermo Herrero <guillermo.herrero@enea.com>2018-12-07 08:37:38 +0000
commit73b02742d463fc2932ef66baee7123fc773c1b0c (patch)
tree51cc7a0e4916caa30cfcb1005647f8470e9ca88c
parent4597274c9c3784e1ee63b4fcdd27770b40e3d52b (diff)
[ha] fix barbican server install error
Ensure installation happens first on node 1 first, run as batch on the rest after. Change-Id: I1ac3f516c35c4941b343e88d47c78b19d13d7b90 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
-rwxr-xr-xmcp/config/states/openstack_ha3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index 499c1d357..732c5710f 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -61,7 +61,8 @@ if salt -I 'nova:compute' match.grain 'cpuarch:aarch64' \
salt -C 'G@cpuarch:aarch64 and I@nova:compute' state.sls armband
fi
-salt -I 'barbican:server' state.sls barbican -b 1
+salt -C 'I@barbican:server and *01*' state.sls barbican
+salt -C 'I@barbican:server and not *01*' state.sls barbican -b 1
salt -I 'barbican:client' state.sls barbican
salt -I 'redis:cluster:role:master' state.sls redis