[NETVIRT-762] Issue in external network communication when multiple networks are configured Created: 05/Jul/17 Updated: 08/Apr/19 Resolved: 10/May/18 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Carbon |
| Fix Version/s: | Fluorine |
| Type: | Bug | Priority: | Medium |
| Reporter: | YOGA LAKSHMI SWETHA PAYYAVULA | Assignee: | Vinh Nguyen |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 8802 |
| Description |
|
Issue Occurrence: When two internal networks are created and with one of the internal network communication is established with the external network. Set-up details: ODL Cluster running carbon distro, 1 control and 2 compute nodes with ocata(Packstack) Reproducing the Issue: 1. Create Internal Network and Subnet (net1) This issue can be reproduced even when we create both the internal networks one after another and then the external network. Then create one router for both the internal networks and another router for the internal and external network. |
| Comments |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 27/Jul/17 ] |
|
Adding route gateway for net2 meaning, adding the route entry for the second network in the VM1 of the network1. PFB for the command: sudo ip route add <network2> via <gateway_ip associated> |
| Comment by balakrishnan k [ 21/Aug/17 ] |
|
Attachment flows_8802.txt has been added with description: flows |
| Comment by balakrishnan k [ 21/Aug/17 ] |
|
Tested the case below are the observation after attaching the net1 to router2 (50.0.0.3) cookie=0x8000003, duration=4574.199s, table=21, n_packets=0, n_bytes=0, priority=42,icmp,metadata=0x324c6/0xfffffe,nw_dst=50.0.0.3,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[] 50.0.0.1 flow replaced by 50.0.0.3 issue2: table 81 ARP flow not added for new interface (50.0.0.3) issue3: table 81 ARP flow MAC changed for old interface. (50.0.0.1) after attaching second router interface (50.0.0.3) cookie=0x3a220004, duration=4574.196s, table=81, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x90000200000324c6/0xffffff0000fffffe,arp_tpa=50.0.0.1,arp_op=1 actions=move:NXM_OF_ETH_SRC[] issue 4: group table flow modified. refer : "attachment 1965" |
| Comment by balakrishnan k [ 22/Aug/17 ] |
|
Current implementation doesn't support multiple router for same subnet. |
| Comment by Vivekanandan Narasimhan [ 22/Aug/17 ] |
|
Please mark the same bug as an enhancement, as what you ask really is – Vivek From: Balakrishnan Karuppasamy balakrishnan.ka@hcl.com Hi Vivek, Regards, From: N Vivekanandan n.vivekanandan@ericsson.com Hi Bala, I don’t think we claim support in ODL for the use-case where the same subnet is made part of multiple routers. Was this use-case working earlier ? We would request you to file an enhancement bug if this use-case needs to be – Vivek From: Balakrishnan Karuppasamy balakrishnan.ka@hcl.com HI Vivek, Please find the response inline. Regards, From: N Vivekanandan n.vivekanandan@ericsson.com Hi Bala, Can you please explain what you indicate by int-router and ext-router in the diagrams? There has to be only one router (whatever you name it – may be int-router here) and UC1 has two routers. For UC2, how is the VM part of multiple routers? We can connect internal Nw1 to multiple router first router will take default gateway IP – Vivek From: netvirt-dev-bounces@lists.opendaylight.org netvirt-dev-bounces@lists.opendaylight.org Hi Chetan, Update our initial observation in the bug. Regrads, From: Chetan A G chetan.arakere@altencalsoftlabs.com Hi Bala, UC1 is currently supported(Please raise a Bug and share logs to debug this scenario if it not working) Thanks, From: Balakrishnan Karuppasamy balakrishnan.ka@hcl.com Hi Chetan, Thanks for the clear explanation. Use case1: In this use case VM1 to external host communication working until we attach internal-NW2 interface to router “int-router” Use case 2: Connecting internal NW to two external network. Both cases we have added route entry in created VM instance to forward the packets to respective router interface. Regards, From: Chetan A G chetan.arakere@altencalsoftlabs.com Hi Bala, Please find the below SNAT and DNAT pipeline flows SNAT to external-network (Controller-based SNAT) 1. cookie=0x8000004, duration=96.292s, table=21, n_packets=6, n_bytes=588, priority=10,ip,metadata=0x30d50/0xfffffe actions=goto_table:26 2. cookie=0x81286b1, duration=96.195s, table=46, n_packets=1, n_bytes=74, priority=5,ip,metadata=0x30d50/0xfffffe actions=CONTROLLER:65535,write_metadata:0x30d50/0xfffffe 3) cookie=0x81296a8, duration=6.139s, table=46, n_packets=7, n_bytes=483, idle_timeout=300, send_flow_rem priority=10,tcp,metadata=0x30d50/0xfffffe,nw_src=90.0.0.7,tp_src=34470 actions=set_field:10.10.10.4->ip_src,set_field:49152->tcp_src,set_field:fa:16:3e:f6:03:3a->eth_src,write_metadata:0x30d44/0xffffff,goto_table:47 4) cookie=0x8000006, duration=96.191s, table=47, n_packets=7, n_bytes=483, priority=5,ip,metadata=0x30d44/0xfffffe actions=load:0->NXM_OF_IN_PORT[],resubmit(,21) 5) cookie=0x8000003, duration=91.252s, table=21, n_packets=7, n_bytes=483, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.250 actions=set_field:f6:00:00:ff:01:01->eth_dst,load:0xa00->NXM_NX_REG6[],resubmit(,220) external-network to SNAT(Controller-based SNAT) 1) cookie=0x8000003, duration=96.145s, table=21, n_packets=6, n_bytes=421, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.4 actions=write_metadata:0x30d44/0xfffffe,goto_table:44 2) cookie=0x81296a8, duration=6.639s, table=44, n_packets=6, n_bytes=421, send_flow_rem priority=10,tcp,nw_dst=10.10.10.4,tp_dst=49152 actions=set_field:90.0.0.7->ip_dst,set_field:34470->tcp_dst,write_metadata:0x30d50/0xfffffe,goto_table:47 3) cookie=0x8000006, duration=96.191s, table=47, n_packets=6, n_bytes=421, priority=5,ip,metadata=0x30d50/0xfffffe actions=load:0->NXM_OF_IN_PORT[],resubmit(,21) DNAT to external-network 1) cookie=0x8000004, duration=50.931s, table=21, n_packets=3, n_bytes=294, priority=10,ip,metadata=0x30d50/0xfffffe actions=goto_table:26 2) cookie=0x8000004, duration=33.806s, table=26, n_packets=3, n_bytes=294, priority=10,ip,metadata=0x30d50/0xfffffe,nw_src=90.0.0.12 actions=set_field:10.10.10.3->ip_src,write_metadata:0x30d44/0xfffffe,goto_table:28 3) cookie=0x8000004, duration=33.806s, table=28, n_packets=3, n_bytes=294, priority=10,ip,metadata=0x30d44/0xfffffe,nw_src=10.10.10.3 actions=set_field:fa:16:3e:42:09:fd->eth_src,resubmit(,21) 4) cookie=0x8000004, duration=74.467s, table=21, n_packets=3, n_bytes=294, priority=10,ip,metadata=0x30d44/0xfffffe actions=group:225002 external-network to DNAT 1) cookie=0x8000003, duration=33.784s, table=21, n_packets=3, n_bytes=294, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.3 actions=set_field:fa:16:3e:42:09:fd->eth_dst,goto_table:25 2) cookie=0x8000004, duration=33.835s, table=25, n_packets=3, n_bytes=294, priority=10,ip,dl_dst=fa:16:3e:42:09:fd,nw_dst=10.10.10.3 actions=set_field:90.0.0.12->ip_dst,write_metadata:0x30d50/0xfffffe,goto_table:27 3) cookie=0x8000004, duration=33.831s, table=27, n_packets=3, n_bytes=294, priority=10,ip,metadata=0x30d50/0xfffffe,nw_dst=90.0.0.12 actions=resubmit(,21) Thanks, From: netvirt-dev-bounces@lists.opendaylight.org netvirt-dev-bounces@lists.opendaylight.org HI Aswin, Please find the response inline. Regards, From: Aswin Suryanarayanan asuryana@redhat.com Hi Bala, Yes , I am looking for external network connectivity pipeline flow for SNAT and DNAT use case. Packet to external n/w from vm without floating ip is send to controller from table 46 the flows will be programmed in table 44(Inbound NAT) and 46(Outbound NAT). You can have look at [1] for the flows programmed when packet is send to the controller from table 22. [1]http://docs.opendaylight.org/en/stable-carbon/submodules/netvirt/docs/specs/discovery_of_directly_connected_pnfs.html On Wed, Aug 16, 2017 at 3:43 PM, Balakrishnan Karuppasamy <balakrishnan.ka@hcl.com> wrote: 1. cookie=0x8000004, duration=4483.783s, table=22, n_packets=0, n_bytes=0, priority=0 actions=CONTROLLER:65535 Regards, |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 15/Sep/17 ] |
|
Attachment external_UC1.PNG has been added with description: UC1 topology |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 15/Sep/17 ] |
|
UC1 scenario works fine but the UC2 scenario seems to have issues. With this regard we had a clarification with the netvirt-dev community. PFB the link for the mail thread, where they have confirmed the issue and have requested to mark the bug as an enhancement. https://lists.opendaylight.org/pipermail/netvirt-dev/2017-August/005328.html |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 15/Sep/17 ] |
|
Attachment external_UC2.PNG has been added with description: UC2 topology |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 18/Sep/17 ] |
|
UC1 and UC2 scenario both seems to have issues. With this regard we had a clarification with the netvirt-dev community. PFB the link for the mail thread, where they have confirmed the issue and have requested to mark the bug as an enhancement. https://lists.opendaylight.org/pipermail/netvirt-dev/2017-August/005328.html |
| Comment by Sam Hague [ 06/Apr/18 ] |
|
VinhNguyen is this still an issue? |
| Comment by Vinh Nguyen [ 06/Apr/18 ] |
|
Thanks Sam, we still aim to fix in flourine. |
| Comment by Vinh Nguyen [ 09/May/18 ] |
|
Won't fix since the use cases are not needed |
| Comment by Vinh Nguyen [ 10/May/18 ] |
|
The use cases in this issue are not needed. Moreover, we should exploit other existing openstack/opendaylight functionalities (static route, etc..) for solution. |