In a intra-vn ping, arp for the peer VM IP did not show the VM MAC

Bug #1409590 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Hari Prasad Killi

Bug Description

Build 3.0 2522 Ubuntu-14-04 multi-node setup

Launched two vms within a VN

ping from 10.1.1.4 to 10.1.1.3 passed.
root@nodec22:~# nova list
+--------------------------------------+------+--------+------------+-------------+--------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+--------------+
| fadeed16-3d68-41d8-b3f5-c7266c0dc995 | vm1 | ACTIVE | - | Running | vn1=10.1.1.3 |
| 36412e30-0e3a-4e56-b331-b25b629456d8 | vm2 | ACTIVE | - | Running | vn1=10.1.1.4 |
+--------------------------------------+------+--------+------------+-------------+--------------+
root@nodec22:~#

But arp table in 10.1.1.4 for IP 10.1.1.3 showed the VRRP mac of the agent instead of the real MAC of 10.1.1.3

ubuntu@vm2:~$ arp -an
? (10.1.1.1) at 00:00:5e:00:01:00 [ether] on eth0
? (10.1.1.2) at 00:00:5e:00:01:00 [ether] on eth0
ubuntu@vm2:~$ ping 10.1.1.3
PING 10.1.1.3 (10.1.1.3) 56(84) bytes of data.
64 bytes from 10.1.1.3: icmp_req=1 ttl=64 time=1.83 ms
^C
--- 10.1.1.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.835/1.835/1.835/0.000 ms
ubuntu@vm2:~$ arp -an
? (10.1.1.1) at 00:00:5e:00:01:00 [ether] on eth0
? (10.1.1.2) at 00:00:5e:00:01:00 [ether] on eth0
? (10.1.1.3) at 00:00:5e:00:01:00 [ether] on eth0
ubuntu@vm2:~$

ksync trace :

2015-01-12 10:15:46.384 KSyncEvent: object = Type : INET4_UNICAST Route Vrf : default-domain:admin:vn1:vn1 10.1.1.4/32 Type:1 Label : 17 Tunnel Type: 2NextHop Index: 22 Type: Interface <Interface : tap384b4a76-bf Index : 3> state = Init(0) event = Add/Change request(0) file = controller/src/ksync/ksync_object.cc line = 973
2015-01-12 10:15:46.384 KSyncRoute: info= [ addr = 10.1.1.4 vrf = 1 operation = ADD/CHANGE nh_idx = 22 mac = 00:00:00:00:00:00 type = INET4_UNICAST ] file = controller/src/vnsw/agent/vrouter/ksync/route_ksync.cc line = 488

Tags: vrouter
Revision history for this message
Hari Prasad Killi (haripk) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.