diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-22 02:23:33 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-22 02:24:47 +0200 |
commit | 42c5ac6116dc7cc864325e92806ee82f1a6b6d42 (patch) | |
tree | 205839423c6be8435e6f78eff682d2bf783ea61a /patches | |
parent | 5bb188f21ed7bed7a13e522eb9e711f95b5cb979 (diff) |
p/fuel: states: maas: Retry linux state on VCP VMs
Change-Id: I9577383b743730cc821eb68a1f159b426b29f6b4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/opnfv-fuel/0020-states-maas-Retry-applying-VCP-VMs-linux-state.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/opnfv-fuel/0020-states-maas-Retry-applying-VCP-VMs-linux-state.patch b/patches/opnfv-fuel/0020-states-maas-Retry-applying-VCP-VMs-linux-state.patch new file mode 100644 index 00000000..f34cce8c --- /dev/null +++ b/patches/opnfv-fuel/0020-states-maas-Retry-applying-VCP-VMs-linux-state.patch @@ -0,0 +1,22 @@ +From: Alexandru Avadanii <Alexandru.Avadanii@enea.com> +Date: Tue, 22 Aug 2017 02:19:34 +0200 +Subject: [PATCH] states: maas: Retry applying VCP VMs linux state + +Running a heavy state like `linux` on all nodes (including VCP VMs) +might time out the first time on slower systems. + +Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> +--- + mcp/config/states/maas | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mcp/config/states/maas b/mcp/config/states/maas +index f8ff67a..371688a 100755 +--- a/mcp/config/states/maas ++++ b/mcp/config/states/maas +@@ -71,4 +71,4 @@ done + + salt -C '* and not cfg01* and not mas01*' saltutil.sync_all + salt -C '* and not cfg01* and not mas01*' state.apply salt +-salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp ++wait_for "salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp" |