[integration tests] Neutron QoS bandwith exceed limit sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
High
|
MOS QA Team |
Bug Description
Test result:
https:/
Trace:
self = <mos_tests.
instances = [<Server: server00>, <Server: server01>, <Server: server02>]
os_conn = <mos_tests.
udp = False, clean_port_policy = None
@pytest.
@pytest.
@pytest.
def test_traffic_
"""Check traffic restriction for one vm between two vms in one net
1. Create net01, subnet
2. Create router01, set gateway and add interface to net01
3. Boot ubuntu vm1 in net01 on compute-1
4. Boot ubuntu vm2 in net01 on compute-1
5. Boot ubuntu vm3 in net01 on compute-2
6. Start iperf between vm1 and vm2
7. Look on the traffic with nload on vm port on compute-1
8. Start iperf between vm1 and vm3
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
"""
instance1, instance2, instance3 = instances
with pytest.
with pytest.
# Create policy for port
port1 = os_conn.
port_policy = os_conn.
}
})
> udp=udp)
mos_tests/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mos_tests.
client = <Server: server00>, server = <Server: server01>, limit = 3072000
ip_type = 'fixed', kwargs = {'udp': False}, server_ip = '10.0.0.5'
remote = <mos_tests.
line = ['20160519200758', '10.0.0.4', '45004', '10.0.0.5', '5002', '3', ...]
bandwidth = 3250585, @py_assert3 = 1.05, @py_assert5 = 3225600.0
@py_assert1 = False
def check_iperf_
server_ip = self.os_
with self.os_
for line in self.get_
if bandwidth < 0.8 * limit:
> assert bandwidth <= limit * 1.05
E assert 3250585 <= (3072000 * 1.05)
mos_tests/
Changed in mos: | |
status: | New → Confirmed |
Changed in mos: | |
importance: | Undecided → High |
assignee: | nobody → MOS QA Team (mos-qa) |
milestone: | none → 9.0 |