port with ingress qos will drop packet if other port has heavy traffic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Medium
|
Unassigned |
Bug Description
There are 2 instances(
Step:
1.Create qos policy egress and ingress
# openstack network qos policy create test
# openstack network qos rule create --max-kbps 1024 --max-burst-kbits 1024 --ingress --type bandwidth-limit test
# openstack network qos rule create --max-kbps 1024 --max-burst-kbits 1024 --egress --type bandwidth-limit test
2.Update instance B's port with qos policy
# neutron port-list | grep af693927-
| af693927-
# neutron port-update --qos-policy test af693927-
3. start heavy traffic to instance A
# ip netns exec qdhcp-c0206319-
$ nc -l -p 10000 > /dev/null
# ip netns exec qdhcp-c0206319-
4.start to ping instance B
# ip netns exec qdhcp-c0206319-
PING 192.168.100.25 (192.168.100.25) 56(84) bytes of data.
64 bytes from 192.168.100.25: icmp_seq=8 ttl=64 time=1031 ms
64 bytes from 192.168.100.25: icmp_seq=9 ttl=64 time=515 ms
64 bytes from 192.168.100.25: icmp_seq=17 ttl=64 time=515 ms
64 bytes from 192.168.100.25: icmp_seq=18 ttl=64 time=515 ms
64 bytes from 192.168.100.25: icmp_seq=19 ttl=64 time=514 ms
64 bytes from 192.168.100.25: icmp_seq=33 ttl=64 time=515 ms
64 bytes from 192.168.100.25: icmp_seq=34 ttl=64 time=514 ms
64 bytes from 192.168.100.25: icmp_seq=35 ttl=64 time=514 ms
64 bytes from 192.168.100.25: icmp_seq=37 ttl=64 time=515 ms
64 bytes from 192.168.100.25: icmp_seq=47 ttl=64 time=515 ms
64 bytes from 192.168.100.25: icmp_seq=48 ttl=64 time=1002 ms
The result shows that 30+ packets are dropped, it looks like heavy traffic to instance A cause B dropping packet.
But when I remove ingress rule, only egress rule exists, the packets drop won't happen.
description: | updated |
description: | updated |
description: | updated |
summary: |
- Ingress qos will cause packets drop for other ports + port with ingress qos will drop packet if other port has heavy traffic |
Changed in tripleo: | |
importance: | Undecided → Medium |
Changed in tripleo: | |
status: | New → Incomplete |
[Expired for tripleo because there has been no activity for 60 days.]