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

CLONE [ovn24.03 fast-datapath-rhel-9] - using lb_force_snat_ip to something other than router_ip doesn't work with lb templates

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • None
    • ovn24.03
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Given a L2 UDN environment configured with lb_force_snat_ip set to a custom IP instead of the router IP, 

      When traffic is routed through a node with load balancing and SNAT enabled, 

      Then, SNAT uses the configured custom IP for outgoing traffic without breaking services.

      Show
      Given a L2 UDN environment configured with lb_force_snat_ip set to a custom IP instead of the router IP,  When traffic is routed through a node with load balancing and SNAT enabled,  Then, SNAT uses the configured custom IP for outgoing traffic without breaking services.
    • ovn24.03-24.03.5-66.el9fdp
    • rhel-9
    • None
    • rhel-net-ovn
    • ssg_networking
    • +

      Description of the bug here:

      https://github.com/ovn-kubernetes/ovn-kubernetes/pull/4819#issuecomment-2468790679

       

      dceara@redhat.com confirmed it exists here:

          /* Drop IP traffic destined to router owned IPs except if the IP is
           * also a SNAT IP. Those are dropped later, in stage
           * "lr_in_arp_resolve", if unSNAT was unsuccessful.
           *
           * If lrnat_rec->lb_force_snat_router_ip is true, it means the IP of the
           * router port is also SNAT IP.
           *
           * Priority 60.
           */
          if (!lr_stateful_rec->lrnat_rec->lb_force_snat_router_ip) {
              build_lrouter_drop_own_dest(op, lr_stateful_rec,
                                          S_ROUTER_IN_IP_INPUT, 60, false, lflows,
                                          op->stateful_lflow_ref);
          } 

      Will attach dbs.

       

              lorenzobianconi lorenzo bianconi
              ovnteam@redhat.com OVN Team
              Jianlin Shi Jianlin Shi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: