[multirack] Check VIP allocation after deplpoyment

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:
Artem Panchenko 2016-02-05 10:55:26 +02:00
parent 81f90003c0
commit 48de136fe9
1 changed files with 14 additions and 14 deletions

View File

@ -571,11 +571,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
@ -639,6 +639,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',
@ -655,15 +664,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)