aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/virtual_init
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-07-05 12:00:12 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2019-07-10 14:40:32 +0400
commite8905d1c928a2e674ff399d96384466572f985b3 (patch)
tree8bf90a223a0a89f62011780dd3a5ce9977ab145b /mcp/config/states/virtual_init
parent45c9f16e592d5d205d55189baef5fb5c01c8a6fc (diff)
[virtual] Update OpenStack version to Stein
Change-Id: I9c1e97144ffd46040d32a0edf8253fc393b73c89 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states/virtual_init')
-rwxr-xr-xmcp/config/states/virtual_init2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/virtual_init b/mcp/config/states/virtual_init
index 77f4f5494..b5bb18955 100755
--- a/mcp/config/states/virtual_init
+++ b/mcp/config/states/virtual_init
@@ -36,8 +36,8 @@ if [[ "${base_image}" =~ centos ]]; then
EXCLUDE_IDS="exclude='[{id: linux_kernel_net.core.netdev_budget_usecs}]'"
fi
wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' state.sls linux ${EXCLUDE_IDS}"
+wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' pkg.upgrade refresh=False dist_upgrade=True"
salt -C "E@^(${NODE_MASK}).*" cmd.run 'reboot'
wait_for 90.0 "salt -C 'E@^(${NODE_MASK}).*' test.ping"
-wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' pkg.upgrade refresh=False dist_upgrade=True"
wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' state.apply salt,ntp"