Add a sleep after salt master update
The salt packages update procedure did not take into account that updating
takes time. After starting the asynchronous update it immediately checked
the status of minions and succeeded, but the real update happened later.
While here also fix the minor issue in the cloud deploy pipeline.
Closes-Bug: PROD-35424
Change-Id: I2ceeeac532059c783a55dd2459c9d22b39f05bdd
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 4b458dd..b1339ef 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -507,7 +507,7 @@
// Workaround for PROD-17765 issue to prevent crashes of keystone.role_present state.
// More details: https://mirantis.jira.com/browse/PROD-17765
salt.restartSaltMinion(venvPepper, "I@keystone:client ${extra_tgt}")
- salt.minionsReachable(venvPepper, 'I@salt:master', 'I@keystone:client ${extra_tgt}', null, 10, 6)
+ salt.minionsReachable(venvPepper, 'I@salt:master', "I@keystone:client ${extra_tgt}", null, 10, 6)
stage('Install OpenStack network') {