From 642bfe48dae9d476cac3ff12faa080aa9e18f4de Mon Sep 17 00:00:00 2001 From: Artem Panchenko Date: Fri, 5 Feb 2016 10:55:26 +0200 Subject: [PATCH] [multirack] Check VIP allocation after deployment In the tests for multiple cluster networks were controllers are assigned to non-default nodegroup, we check that VIPs are allocated from non-default nodegroup too. Currently it's impossible to get VIPs before environment deployment, so that check is moved to the last step. Change-Id: I7c6dcc545151471a7d2c2c1d7c54c0a758bbbfa2 Closes-bug: #1541921 --- fuelweb_test/tests/test_multiple_networks.py | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/fuelweb_test/tests/test_multiple_networks.py b/fuelweb_test/tests/test_multiple_networks.py index ef4c2c912..842ec7d59 100644 --- a/fuelweb_test/tests/test_multiple_networks.py +++ b/fuelweb_test/tests/test_multiple_networks.py @@ -570,11 +570,11 @@ class TestMultipleClusterNets(TestBasic): 6. Add 3 nodes from 'custom' nodegroup as controllers Add 2 nodes from 'default' nodegroup as compute and cinder 7. Run network verification - 8. Check addresses allocated for VIPs belong to networks - from custom nodegroup - 9. Deploy environment - 10. Run network verification - 11. Run OSTF + 8. Deploy environment + 9. Run network verification + 10. Run OSTF + 11. Check addresses allocated for VIPs belong to networks + from custom nodegroup Duration 120m Snapshot deploy_controllers_from_custom_nodegroup @@ -638,6 +638,15 @@ class TestMultipleClusterNets(TestBasic): self.fuel_web.verify_network(cluster_id) self.show_step(8) + self.fuel_web.deploy_cluster_wait(cluster_id, timeout=150 * 60) + + self.show_step(9) + self.fuel_web.verify_network(cluster_id) + + self.show_step(10) + self.fuel_web.run_ostf(cluster_id=cluster_id) + + self.show_step(11) current_settings = self.fuel_web.client.get_networks(cluster_id) check = { 'vrouter_pub': 'public2', @@ -654,15 +663,6 @@ class TestMultipleClusterNets(TestBasic): '{0} is not from {1} network'.format(k, check[k])) logger.info('{0} is from {1} network'.format(k, check[k])) - self.show_step(9) - self.fuel_web.deploy_cluster_wait(cluster_id, timeout=150 * 60) - - self.show_step(10) - self.fuel_web.verify_network(cluster_id) - - self.show_step(11) - self.fuel_web.run_ostf(cluster_id=cluster_id) - self.env.make_snapshot("deploy_controllers_from_custom_nodegroup", is_make=True)