change vm fixed ips will cause unable to communicate to vm in other network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley | ||
Kilo |
New
|
Undecided
|
Unassigned |
Bug Description
I use dvr+kilo, vxlan. The environment is like:
vm2-2<- compute1 -------
vm3-1<-
vm2-1<- net2 -------
vm2-2<-
vm2-1(192.168.2.3) and vm2-2(192.168.2.4) are in the same net(net2 192.168.2.0/24) but not assigned to the same compute node. vm3-1 is in net3(192.
1. Using command below to change the ip of vm2-1.
neutron port-update portID --fixed-ip subnet_
In vm2-1 using "sudo udhcpc"(carrios) to get ip, the dhcp message is correct but the ip not changed.
Then reboot vm2-1. The ip of vm2-1 turned to be 192.168.2.20.
2. Using vm2-2 could ping 192.168.2.20 successfully . But vm3-1 could not ping 192.168.2.20 successfully.
By capturing packets and looking for related information, the reason maybe:
1. newIP(192.168.2.20) and MAC of vm2-1 was not wrote to arp cache in the namespace of router1 in compute1 node.
2. In dvr mode, the arp request from gw port(192.168.2.1) from compute1 to vm2-1 was dropped by flowtable in compute2. So the arp request(
3. For vm2-2, the arp request(
In my opinion, if both new fixed IPs of vm2-1(192.168.2.10 and 102.168.2.20) and MAC is wrote to arp cache in namespace of router1 in compute1 node, the problem will resolved. But only one ip(192.168.2.10) and MAC is wrote.
BTW, if only set one fixed ip for vm2-1, it works fine. But if set two fixed ips for vm2-1, the problem above most probably happens.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
status: | Invalid → New |
Changed in neutron: | |
assignee: | Swaminathan Vasudevan (swaminathan-vasudevan) → John Schwarz (jschwarz) |
Changed in neutron: | |
assignee: | John Schwarz (jschwarz) → Swaminathan Vasudevan (swaminathan-vasudevan) |
Changed in neutron: | |
assignee: | Swaminathan Vasudevan (swaminathan-vasudevan) → Brian Haley (brian-haley) |
will triage it and update the results.