[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
This commit is contained in:
@@ -570,11 +570,11 @@ class TestMultipleClusterNets(TestBasic):
|
|||||||
6. Add 3 nodes from 'custom' nodegroup as controllers
|
6. Add 3 nodes from 'custom' nodegroup as controllers
|
||||||
Add 2 nodes from 'default' nodegroup as compute and cinder
|
Add 2 nodes from 'default' nodegroup as compute and cinder
|
||||||
7. Run network verification
|
7. Run network verification
|
||||||
8. Check addresses allocated for VIPs belong to networks
|
8. Deploy environment
|
||||||
from custom nodegroup
|
9. Run network verification
|
||||||
9. Deploy environment
|
10. Run OSTF
|
||||||
10. Run network verification
|
11. Check addresses allocated for VIPs belong to networks
|
||||||
11. Run OSTF
|
from custom nodegroup
|
||||||
|
|
||||||
Duration 120m
|
Duration 120m
|
||||||
Snapshot deploy_controllers_from_custom_nodegroup
|
Snapshot deploy_controllers_from_custom_nodegroup
|
||||||
@@ -638,6 +638,15 @@ class TestMultipleClusterNets(TestBasic):
|
|||||||
self.fuel_web.verify_network(cluster_id)
|
self.fuel_web.verify_network(cluster_id)
|
||||||
|
|
||||||
self.show_step(8)
|
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)
|
current_settings = self.fuel_web.client.get_networks(cluster_id)
|
||||||
check = {
|
check = {
|
||||||
'vrouter_pub': 'public2',
|
'vrouter_pub': 'public2',
|
||||||
@@ -654,15 +663,6 @@ class TestMultipleClusterNets(TestBasic):
|
|||||||
'{0} is not from {1} network'.format(k, check[k]))
|
'{0} is not from {1} network'.format(k, check[k]))
|
||||||
logger.info('{0} is 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",
|
self.env.make_snapshot("deploy_controllers_from_custom_nodegroup",
|
||||||
is_make=True)
|
is_make=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user