[integration tests] Bandwidth is too low Exception on QoS tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Georgy Dyuldin |
Bug Description
Test result:
https:/
Exception:
Bandwidth is too low: 3512729, limit is 4403200
Trace:
self = <mos_tests.
instances = [<Server: server00>, <Server: server01>]
os_conn = <mos_tests.
clean_port_policy = None, clean_net_policy = None
@pytest.
def test_restrictio
"""Check traffic restriction between vms if there are different
1. Create net01, subnet
2. Create router01, set gateway and add interface to net01
3. Create new policy: neutron qos-policy-create policy_1
4. Create new rule:
5. Update net01 with --qos-policy parameter
6. Boot ubuntu vm1 in net01 on compute-1
7. Boot ubuntu vm2 in net01 on compute-2
8. Start iperf between vm1 and vm2
9. Look on the traffic with nload on vm port on compute-1
10. Create new policy: neutron qos-policy-create bw-limiter
11. Create new rule:
12. Find neutron port for vm1: neutron port-list | grep <vm1 ip>
13. Update port with new policy:
14. Check in nload that traffic changed properly
15. Update rule for vm port:
"""
instance1, instance2 = instances
# Create policy for net
policy1 = os_conn.
}
})
> self.check_
mos_tests/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mos_tests.
client = <Server: server00>, server = <Server: server01>, limit = 4403200
ip_type = 'fixed', kwargs = {}, server_ip = '10.0.0.5'
remote = <mos_tests.
line = ['20160523050738', '10.0.0.4', '40828', '10.0.0.5', '5002', '3', ...]
bandwidth = 3512729
def check_iperf_
server_ip = self.os_
with self.os_
for line in self.get_
if bandwidth < 0.8 * limit:
> bandwidth, limit))
E Exception: Bandwidth is too low: 3512729, limit is 4403200
Changed in mos: | |
importance: | Undecided → High |
Changed in mos: | |
milestone: | 10.0 → 9.0 |
Changed in mos: | |
status: | In Progress → Fix Released |
Commit to fix it:
https:/ /review. gerrithub. io/#/c/ 277539/