From: Michael Polenchuk Date: Thu, 15 Feb 2018 09:19:33 +0000 (+0400) Subject: Mask opendaylight service X-Git-Tag: opnfv-6.0.0~89 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=84383fb622dd1426af84fb9e061338a9a1098202;p=fuel.git 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 --- 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