Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1256

ECMP UC2 with 2 DCGW not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: High High
    • None
    • None
    • General
    • None

      karaf@root()> fib-show

         RD       Prefix                NextHop               Label    Origin

         -------------------------------------------------------------------

         300:1    30.1.1.2/32           192.168.56.101        100002   l

         300:1    10.1.1.1/32           192.168.56.103        5000     b

         300:1    10.1.1.1/32           192.168.56.104        6000     b

         300:1    30.1.1.0/24           192.168.56.101        100001   c

      karaf@root()>

       

      though fib has 2 NH, table 21 points to only one

       

      table 21 is still not pointing to select group and select group is not created

       

      stack@queens:~/devstack$ sudo ovs-ofctl dump-flows br-int -OOpenflow13 | grep table=21,

      cookie=0x8000003, duration=1182.949s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=30.1.1.2 actions=group:150000

      cookie=0x8000003, duration=472.898s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.1.1.1 actions=push_mpls:0x8847,set_field:5000->mpls_label,load:0->NXM_OF_IN_PORT[],load:0x100->NXM_NX_REG6[],resubmit(,220)

      cookie=0x8000003, duration=1183.471s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d40/0xfffffe,nw_dst=30.1.1.0/24 actions=write_metadata:0x1389030d40/0xfffffffffe,goto_table:22

      stack@queens:~/devstack$

       

      stack@queens:~/devstack$ sudo ovs-ofctl dump-groups br-int -OOpenflow13

      OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):

      group_id=5000,type=all,bucket=actions=CONTROLLER:65535,bucket=actions=resubmit(,48),bucket=actions=resubmit(,81)

      group_id=210001,type=all,bucket=actions=set_field:0x2->tun_id,resubmit(,55)

      group_id=210002,type=all,bucket=actions=group:210001

      group_id=150000,type=all,bucket=actions=set_field:fd:7f:00:00:76:18->eth_src,set_field:fa:16:3e:a9:91:c6->eth_dst,load:0x200->NXM_NX_REG6[],resubmit(,220)

      stack@queens:~/devstack$

       

      2018-05-12 10:54:45,184 | INFO  | ool-201-thread-1 | BgpConfigurationManager          | 339 - org.opendaylight.netvirt.bgpmanager-impl - 0.6.0.SNAPSHOT | ADD: Adding Fib entry rd 300:1 prefix 10.1.1.1 nexthop 192.168.56.103 label 5000 afi AFI_IP

      2018-05-12 10:54:45,186 | INFO  | ool-201-thread-1 | BgpConfigurationManager          | 339 - org.opendaylight.netvirt.bgpmanager-impl - 0.6.0.SNAPSHOT | ADD: Added Fib entry rd 300:1 prefix 10.1.1.1 nexthop 192.168.56.103 label 5000

      2018-05-12 10:54:45,189 | INFO  | atchingManager-0 | ResourceBatchingManager          | 260 - org.opendaylight.genius.mdsalutil-api - 0.4.0.SNAPSHOT | Total taken ##time = 3ms for resourceList of size 1 for resourceType BGP-RESOURCES

      2018-05-12 10:54:45,189 | INFO  | eChangeHandler-0 | VrfEntryListener                 | 350 - org.opendaylight.netvirt.fibmanager-impl - 0.6.0.SNAPSHOT | ADD: Added Fib Entry rd 300:1 prefix 10.1.1.1/32 route-paths [RoutePaths\{getLabel=5000, getNexthopAddress=192.168.56.103, augmentations={}}]

      2018-05-12 10:54:45,239 | WARN  | atchingManager-0 | NexthopManager                   | 350 - org.opendaylight.netvirt.fibmanager-impl - 0.6.0.SNAPSHOT | Failed to determine network type for prefixIp 10.1.1.1/32 using tunnel

      2018-05-12 10:54:45,359 | INFO  | atchingManager-0 | ResourceBatchingManager          | 260 - org.opendaylight.genius.mdsalutil-api - 0.4.0.SNAPSHOT | Total taken ##time = 169ms for resourceList of size 1 for resourceType FIB-VRFENTRY

      2018-05-12 10:55:12,647 | INFO  | er@1917ad90Timer | teInvalidatingHashSessionManager | 444 - org.ops4j.pax.web.pax-web-jetty - 6.0.7 | Timing out for 1 session(s) with id 1jx5lx9pdx9w1sm5khj2c2p43

      2018-05-12 10:55:16,797 | INFO  | ool-201-thread-1 | BgpConfigurationManager          | 339 - org.opendaylight.netvirt.bgpmanager-impl - 0.6.0.SNAPSHOT | ADD: Adding Fib entry rd 300:1 prefix 10.1.1.1 nexthop 192.168.56.104 label 6000 afi AFI_IP

      2018-05-12 10:55:16,797 | INFO  | ool-201-thread-1 | BgpConfigurationManager          | 339 - org.opendaylight.netvirt.bgpmanager-impl - 0.6.0.SNAPSHOT | ADD: Added Fib entry rd 300:1 prefix 10.1.1.1 nexthop 192.168.56.104 label 6000

      2018-05-12 10:55:16,825 | INFO  | atchingManager-0 | ResourceBatchingManager          | 260 - org.opendaylight.genius.mdsalutil-api - 0.4.0.SNAPSHOT | Total taken ##time = 27ms for resourceList of size 1 for resourceType BGP-RESOURCES

      2018-05-12 10:55:16,825 | INFO  | eChangeHandler-0 | VrfEntryListener                 | 350 - org.opendaylight.netvirt.fibmanager-impl - 0.6.0.SNAPSHOT | UPDATE: Updated BGP advertised Fib Entry with rd 300:1 prefix 10.1.1.1/32 route-paths [RoutePaths{getLabel=5000, getNexthopAddress=192.168.56.103,

      augmentations={}}, RoutePaths{getLabel=6000, getNexthopAddress=192.168.56.104, augmentations={}}]

      2018-05-12 10:55:16,825 | WARN  | atchingManager-0 | NexthopManager                   | 350 - org.opendaylight.netvirt.fibmanager-impl - 0.6.0.SNAPSHOT | Failed to determine network type for prefixIp 10.1.1.1/32 using tunnel

      2018-05-12 10:55:16,826 | WARN  | atchingManager-0 | NexthopManager                   | 350 - org.opendaylight.netvirt.fibmanager-impl - 0.6.0.SNAPSHOT | Failed to determine network type for prefixIp 10.1.1.1/32 using tunnel

      2018-05-12 10:55:16,826 | WARN  | atchingManager-0 | NexthopManager                   | 350 - org.opendaylight.netvirt.fibmanager-impl - 0.6.0.SNAPSHOT | RPC Call to getTunnelInterfaceName returned with Errors []

            ashwinbc Ashwin B C
            evyshak Vyshakh Krishnan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: