Increase timeout to wait computes after reboot
Check minion readiness after node was rebooted
PROD-34514
Change-Id: I56d8ae2da52fff78e38befcca80c0f3186d7ccb8
diff --git a/openstack-data-upgrade.groovy b/openstack-data-upgrade.groovy
index e768564..d2161bc 100644
--- a/openstack-data-upgrade.groovy
+++ b/openstack-data-upgrade.groovy
@@ -160,8 +160,9 @@
upgrade_mode = 'upgrade'
}
if (OS_DIST_UPGRADE.toBoolean() == true || OS_UPGRADE.toBoolean() == true) {
- debian.osUpgradeNode(env, target, upgrade_mode, false)
+ debian.osUpgradeNode(env, target, upgrade_mode, false, 60, 10)
}
+ salt.checkTargetMinionsReady(['saltId': env, 'target': target, wait: 60, timeout: 10])
// Workaround for PROD-31413, install python-tornado from latest release if available and
// restart minion to apply new code.
salt.upgradePackageAndRestartSaltMinion(env, target, 'python-tornado')