[ha] Fix openstack_ha ovn setup 41/60741/2
authorGuillermo Herrero <guillermo.herrero@enea.com>
Wed, 8 Aug 2018 12:36:28 +0000 (14:36 +0200)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 9 Aug 2018 05:06:25 +0000 (05:06 +0000)
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>
mcp/config/states/openstack_ha

index a32111f..12d6ae6 100755 (executable)
@@ -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