[integration tests] Exception: Can't set same ids for pings for test "Check connectivity between vms with the same internal ips in different tenants with equal id for connections"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
High
|
MOS QA Team |
Bug Description
Test result:
https:/
Trace:
self = <mos_tests.
env = <mos_tests.
servers = [<Server: server01>, <Server: server02>, <Server: server03>, <Server: server04>]
os_clients = [<mos_tests.
@pytest.
def test_connectivi
self, env, servers, os_clients):
"""Check connectivity between vms with the same internal ips in
1. Create tenants A and B
2. In tenant A create net1 and subnet1 with CIDR 10.0.0.0/24
3. In tenant A create security group sec1 and add rule that allows
4. In tenant B create net2 and subnet2 with CIDR 10.0.0.0/24
5. In tenant B create security group sec2
6. In tenant A boot 2 VMs in net1 specifying sec1 as security
7. In tenant B boot 2 VMs: test3 with ip 10.0.0.4 and test4 with
8. Check that all vms are on the same compute node
9. Go to test1 and ping test2 (don't stop ping)
10. Go to compute node and run "conntrack -L | grep 10.0.0.4"
11. Go to test3 and ping test4 (don't stop ping)
12. Go to compute node and run "conntrack -L | grep 10.0.0.4 again"
13. If ids is'n equal, go to the step 13. Else go to 16
14. On test1 stop and start ping. Check that id for non UNREPLIED
15. Check ping between test3 and test 4
16. Run "conntrack -L | grep 10.0.0.4"
17. On compute node run "iptables -L -t raw"
18. Check that ouput contain rules that assign zones for tap and
"""
compute = env.find_
for i in range(6):
if is_ping_
else:
> raise Exception("Can't set same ids for pings")
E Exception: Can't set same ids for pings
mos_tests/
Changed in mos: | |
milestone: | 10.0 → 9.0 |