Duplicate packets when pinging between Floating IPs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
When you ping between VMs on their Floating IPs you get duplicate packets.
1. Default Security Group should have a rule for ping and ssh
Protocal: ICMP
From: -1
To: -1
CIDR: 0.0.0.0/0
Protocal: TCP
From: 22
To: 22
CIDR: 0.0.0.0/0
2. Start 2 VMs (test1 and test2)
3. Allocate and assign a Floating IP to each VM
4. ssh to test1
5. ping test2 by its Floating IP
6. ping reports duplicate packets
Output:
ubuntu@
The authenticity of host '172.24.4.225 (172.24.4.225)' can't be established.
RSA key fingerprint is d2:58:5a:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.24.4.225' (RSA) to the list of known hosts.
cirros@
$ ping 172.24.4.226
PING 172.24.4.226 (172.24.4.226): 56 data bytes
64 bytes from 172.24.4.226: seq=0 ttl=64 time=2.226 ms
64 bytes from 172.24.4.226: seq=0 ttl=63 time=4.523 ms (DUP!)
64 bytes from 172.24.4.226: seq=0 ttl=64 time=5.533 ms (DUP!)
64 bytes from 172.24.4.226: seq=0 ttl=63 time=6.188 ms (DUP!)
64 bytes from 172.24.4.226: seq=1 ttl=64 time=2.180 ms
64 bytes from 172.24.4.226: seq=1 ttl=63 time=4.320 ms (DUP!)
64 bytes from 172.24.4.226: seq=1 ttl=64 time=6.045 ms (DUP!)
64 bytes from 172.24.4.226: seq=1 ttl=63 time=7.456 ms (DUP!)
^C
--- 172.24.4.226 ping statistics ---
2 packets transmitted, 2 packets received, 6 duplicates, 0% packet loss
round-trip min/avg/max = 2.180/4.808/7.456 ms
Version Info:
devstack
commit 97eb92880e0886a
Date: Thu Mar 15 15:32 2012 (MDT)
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
Can you try turning off promisc(uous) mode on the bridge and see if you still A) get working floating IP traffic from/to/between VMs, and B) don't get dupes anymore?
ip link set dev brXXX promisc off <- (for whatever your bridge device is)