Mask opendaylight service 83/52183/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 15 Feb 2018 09:19:33 +0000 (13:19 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 15 Feb 2018 09:25:32 +0000 (13:25 +0400)
In order to avoid using cache data with initial/outdated
configuration, mask opendaylight service before package
installation.

JIRA: FUEL-344
Change-Id: I71eb0b0a5af93d6d21698e76587b32098aba96b4
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/config/states/opendaylight

index 34a2c3b..0b774e6 100755 (executable)
@@ -9,7 +9,10 @@
 
 CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
 
+# TODO: use service.masked state instead once salt get updated to 2017.7.0+
+salt -I 'opendaylight:server' service.mask opendaylight
 salt -I 'opendaylight:server' state.sls opendaylight
+
+salt -I 'neutron:server' state.sls opendaylight.client
 salt -I 'opendaylight:client' state.sls opendaylight.client
 salt -I 'opendaylight:client' cmd.run 'neutron-odl-ovs-hostconfig --noovs_dpdk'
-salt -I 'neutron:server' state.sls opendaylight.client