From 84383fb622dd1426af84fb9e061338a9a1098202 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Thu, 15 Feb 2018 13:19:33 +0400 Subject: Mask opendaylight service 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 --- mcp/config/states/opendaylight | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mcp/config') diff --git a/mcp/config/states/opendaylight b/mcp/config/states/opendaylight index 34a2c3bd8..0b774e691 100755 --- a/mcp/config/states/opendaylight +++ b/mcp/config/states/opendaylight @@ -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 -- cgit 1.2.3-korg