Add sleep after Contrail Control installation

Related-Bug: PROD-26298

Related-Commit: https://gerrit.mcp.mirantis.com/#/c/33562/

For virtual labs with low resources need wait for
Contrail services to be ready.

Change-Id: Id848b9628a2486ca6aa4ac2619b4043f01365e2c
(cherry picked from commit fb242db2e7463f328ff89d6224485fee9e19cf21)
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 3fd30e6..29a8626 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -560,7 +560,9 @@
     salt.enforceStateWithExclude([saltId: master, target: "I@opencontrail:collector ${extra_tgt}", state: "opencontrail", excludedStates: "opencontrail.client"])
 
     salt.enforceStateWithTest([saltId: master, target: "( I@opencontrail:control or I@opencontrail:collector ) ${extra_tgt}", state: 'docker.client', testTargetMatcher: "I@docker:client and I@opencontrail:control ${extra_tgt}"])
-    // NOTE(ivasilevskaya) call to installBackup here has been removed as it breaks deployment if done before computes are deployed
+
+    // Waiting until Contrail API is started
+    salt.runSaltProcessStep(master, "I@opencontrail:database:id:1 ${extra_tgt}", 'contrail_health.get_api_status')
 }