[ovs/dpdk] Return true on linux.network state 63/45263/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 16 Oct 2017 10:24:13 +0000 (14:24 +0400)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 16 Oct 2017 20:20:29 +0000 (20:20 +0000)
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>
(cherry picked from commit 044f49fd195526d8c00967fb9a0b6b1ab0a36c14)

mcp/scripts/salt.sh

index df0ef70..b7a2aa8 100755 (executable)
@@ -62,7 +62,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