[NETVIRT-671] [l3vpn_ecmp] Extra-route is not updated on DC-GW Created: 15/May/17  Updated: 02/Apr/19  Resolved: 31/May/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Jaya Priyadarshini Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8459

 Description   

Topology
========
3 CN and Six VM's, two running on CN-1, CN-2 and CN-3 respectively

Testcase Description
====================
1) Configure 6 VMs, two on each CN
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port1 |awk '

{print $2}') NOVA_VM1 --availability-zone nova:Ubuntu-97
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port2 |awk '{print $2}

') NOVA_VM2 --availability-zone nova:Ubuntu-97
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port3 |awk '

{print $2}') NOVA_VM3 --availability-zone nova:Ubuntu-98
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port4 |awk '{print $2}

') NOVA_VM4 --availability-zone nova:Ubuntu-98
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port5 |awk '

{print $2}') NOVA_VM5 --availability-zone nova:Ubuntu-63
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port6 |awk '{print $2}

') NOVA_VM6 --availability-zone nova:Ubuntu-63

2)Create an extra route configured and pointing to four of the VM's

neutron bgpvpn-create – --route-distinguishers list=true 100:1 101:1 --export-targets list=true 300:10 400:20 --import-targets list=true 300:10 400:20 --route-targets list=true 100:1 101:1 --name VPN1
neutron bgpvpn-router-assoc-create VPN1 --router $(neutron router-list |grep '\sRouter1' |awk '

{print $2}

')

neutron router-update ROUTER1 --routes type=dict list=true destination=200.0.0.0/24,nexthop=10.10.10.2 destination=200.0.0.0/24,nexthop=10.10.10.3 destination=201.0.0.0/24,nexthop=10.10.10.4 destination=201.0.0.0/24,nexthop=10.10.10.5 destination=200.0.0.0/24,nexthop=10.10.10.4
neutron router-show Router1

neutron router-show Router1
-------------------------------------------------------------------------------+

Field Value

-------------------------------------------------------------------------------+

admin_state_up True
description  
distributed False
external_gateway_info  
id ee9009b0-e00d-4006-92a6-ceef8af8a124
name Router1
routes {"destination": "200.0.0.0/24", "nexthop": "10.10.10.2"}
  {"destination": "200.0.0.0/24", "nexthop": "10.10.10.3"}
  {"destination": "200.0.0.0/24", "nexthop": "10.10.10.4"}
  {"destination": "201.0.0.0/24", "nexthop": "10.10.10.4"}
  {"destination": "201.0.0.0/24", "nexthop": "10.10.10.5"}
status ACTIVE
tenant_id 8732585c35fc419ea70ac43cda4bf69d

-------------------------------------------------------------------------------+

Flows and Groups Output
=======================
root@Ubuntu-97:/opt/Csit/test/csit/suites/SF263# flows | grep table=21
cookie=0x8000003, duration=297.763s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.10.5 actions=set_field:0x186a5->tun_id,set_field:fa:16:3e:33:60:54->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=297.671s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.10.4 actions=set_field:0x186a6->tun_id,set_field:fa:16:3e:70:25:43->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=278.141s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.6 actions=set_field:0x186ab->tun_id,set_field:fa:16:3e:58:45:0c->eth_dst,load:0x1100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=278.080s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.4 actions=set_field:0x186ac->tun_id,set_field:fa:16:3e:70:25:43->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=277.990s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.5 actions=set_field:0x186ad->tun_id,set_field:fa:16:3e:33:60:54->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=277.848s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.8 actions=set_field:0x186af->tun_id,set_field:fa:16:3e:55:c9:9c->eth_dst,load:0x1100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=275.533s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.3 actions=group:150010
cookie=0x8000003, duration=275.441s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.2 actions=group:150006
cookie=0x8000003, duration=282.346s, table=21, n_packets=0, n_bytes=0, priority=42,icmp,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:e4:e3:52>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.10.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
cookie=0x8000003, duration=300.186s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.10.0/24 actions=write_metadata:0x138a030d40/0xfffffffffe,goto_table:22
root@Ubuntu-97:/opt/Csit/test/csit/suites/SF263#



 Comments   
Comment by govind [ 31/May/17 ]

This issue is not reproducible.

Generated at Wed Feb 07 20:22:10 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.