Nodes should be online for redeploy

If the deployment was stopped, we
should wait until nodes states will be
"online". After that we can start redeploy.

Change-Id: Ic15087bed08f3773325fec5dc6a7e85968f89400
Closes-Bug: 1643817
(cherry picked from commit 831399e9bd)
This commit is contained in:
Dmitry Belyaninov 2017-01-13 11:27:29 +00:00
parent 6bf6fcdeff
commit 829f46477f
1 changed files with 2 additions and 0 deletions

View File

@ -352,6 +352,8 @@ class UnlockSettingsTabStates(TestBasic):
progress=10)
self.show_step(6)
self.fuel_web.stop_deployment_wait(self.cluster_id)
self.fuel_web.wait_nodes_get_online_state(
self.env.d_env.nodes().slaves[:5], timeout=10 * 60)
self.show_step(7)
new_cluster_settings = self.get_cluster_attributes()
self.show_step(8)