summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Herrero <guillermo.herrero@enea.com>2018-08-08 14:36:28 +0200
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-08-09 05:06:25 +0000
commitff8fe897ccaf4c70a5c68114d8a647d59edd75ba (patch)
treee1efe7a53ee7b1f7f017d97697368370a4283bf0
parentab9ccfdc387c02a42c89e8770c26634f3e6c5ceb (diff)
[ha] Fix openstack_ha ovn setup
Fix targeting for neutron.compute sls for ovn computes, avoiding interaction with ovs dpdk scenarios. JIRA: FUEL-329 Change-Id: Iffb07f6f0d4dc8071437adf59d4cd6982113b998 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> 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 a32111f61..12d6ae656 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -50,7 +50,8 @@ wait_for 3.0 "salt -I 'cinder:volume' state.sls cinder"
salt -I 'neutron:server' state.sls neutron -b 1
salt -I 'neutron:gateway' state.sls neutron.gateway
-if salt 'cmp*' match.pillar 'neutron:compute' --out yaml --static | grep -q -e "true" ; then
+if salt 'cmp*' match.pillar 'neutron:compute:backend:engine:ovn' \
+ --out yaml --static | grep -q -e "true" ; then
salt -I 'neutron:compute' state.sls neutron.compute
fi