From 73b02742d463fc2932ef66baee7123fc773c1b0c Mon Sep 17 00:00:00 2001 From: Guillermo Herrero Date: Fri, 7 Dec 2018 09:09:38 +0100 Subject: [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 --- mcp/config/states/openstack_ha | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mcp/config/states/openstack_ha') 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 -- cgit 1.2.3-korg