[ovs/dpdk] Return true on linux.network state 03/45203/2
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 16 Oct 2017 10:24:13 +0000 (14:24 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 16 Oct 2017 10:56:31 +0000 (14:56 +0400)
linux.network state is expected to be down until node reboot
to activate required hugepages therefore return true in any case.

Change-Id: I61deac12b9ac212c5f79cdcce30cda8e5d24413b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/scripts/salt.sh

index 3bb17f0..e5cc3e8 100755 (executable)
@@ -64,7 +64,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END
   salt '*' state.apply salt | grep -Fq 'No response' && salt '*' state.apply salt
 
   salt -C 'I@salt:master' state.sls linux
-  salt -C '* and not cfg01*' state.sls linux
+  salt -C '* and not cfg01*' state.sls linux || true
   salt -C '* and not cfg01*' pkg.upgrade refresh=False
 
   salt '*' state.sls ntp