add sleep after keystone restart
Change-Id: I3fb228171e3199c872f40341405bb8c91f0586b0
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 3e44bfa..96b052c 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -295,6 +295,7 @@
// keystone:client must be called locally
//salt.runSaltProcessStep(saltMaster, 'I@keystone:client', 'cmd.run', ['salt-call state.sls keystone.client'], null, true)
salt.runSaltProcessStep(saltMaster, 'I@keystone:server', 'service.restart', ['apache2'])
+ sleep(30)
salt.enforceState(saltMaster, 'I@keystone:client', 'keystone.client', true)
salt.enforceState(saltMaster, 'I@keystone:client', 'keystone.client', true)
salt.runSaltProcessStep(saltMaster, 'I@keystone:server', 'cmd.run', ['. /root/keystonerc; keystone service-list'], null, true)