Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1033

Changing LSP Enabled to false do not remove the mac associated flows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • ovn24.09
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-9
    • rhel-sst-network-fastdatapath
    • ssg_networking

      We have face some issue at kubevirt live migration with ovn-k localnet topology where traffic is send over the old node disabled LSP, so traffic suffer from 20 seconds packet loss until that old LSP is deleted.

       

      Looking deeper looks like even if the old LSP has the enabled flag to false there are still some mac logical flows steering the trafic there that prevent traffic from going over the localnet port to reach the migrated VM.

       

      Even configuring ignore_lsp_down at NB global is not working 

       

       ovnk ovn-worker2 ovn-nbctl list nb-global 
      _uuid               : f6233167-37c5-485c-b53d-1074eb50dd86
      connections         : []
      external_ids        : {}
      hv_cfg              : 2
      hv_cfg_timestamp    : 1733908219404
      ipsec               : false
      name                : ovn-worker2
      nb_cfg              : 2
      nb_cfg_timestamp    : 1733908219403
      options             : {e2e_timestamp="1733908969", ignore_lsp_down="false", mac_prefix="d2:6f:39", max_tunid="16711680", name=ovn-worker2, northd-backoff-interval-ms="300", northd_internal_version="24.09.1-20.37.0-73.6", svc_monitor_mac="32:7c:04:12:93:2c"}
      sb_cfg              : 2
      sb_cfg_timestamp    : 1733908219403
      ssl                 : [] 

       

       

      These are the not deleted flows 

       

      _uuid               : 4570589b-da6b-4ff6-badc-1ca15cf0cd21                      
      actions             : "outport <-> inport; next;"                               
      controller_meter    : []                                                        
      external_ids        : {source="northd.c:12767", stage-name=ls_in_check_port_sec}
      flow_desc           : []                                                        
      logical_datapath    : 2e72e1f4-eb71-4aaf-b409-842783389b18                      
      logical_dp_group    : []                                                        
      match               : "((ip4 && icmp4.type == 3 && icmp4.code == 4) || (ip6 && icmp6.type == 2 && icmp6.code == 0)) && eth.src == 42:f9:f9:7b:db:b8 && outport == \"kv.live.migration.9697.net1_kv-live-migration-9697_virt-launcher-worker1-4bkhc\" && !is_chassis_resident(\"kv.live.migration.9697.net1_kv-live-migration-9697_virt-launcher-worker1-4bkhc\") && flags.tunnel_rx == 1"
      pipeline            : ingress                                                   
      priority            : 110                                                       
      table_id            : 0                                                         
      tags                : {}                                                        
      hash                : 0                                 
      _uuid               : dde443e8-0b51-4720-9f41-a4a9bb936bf8                      
      actions             : "outport = \"kv.live.migration.9697.net1_kv-live-migration-9697_virt-launcher-worker1-4bkhc\"; output;"
      controller_meter    : []                                                        
      external_ids        : {source="northd.c:10321", stage-hint=dbdc4d71, stage-name=ls_in_l2_lkup}
      flow_desc           : []                                                        
      logical_datapath    : 2e72e1f4-eb71-4aaf-b409-842783389b18                      
      logical_dp_group    : []                                                        
      match               : "eth.dst == 42:f9:f9:7b:db:b8"                            
      pipeline            : ingress                                                   
      priority            : 50                                                        
      table_id            : 28                                                        
      tags                : {}                                                        
      hash                : 0                               

       

        1. ovnnb_db.db
          648 kB
        2. ovnsb_db.db
          1.97 MB

              ovnteam@redhat.com OVN Team
              ellorent Felix Enrique Llorente Pastora
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: