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

CLONE [ovn24.09 fast-datapath-rhel-9] - ovn-northd IPAM incorrectly reports duplicate IP when part of excluded_ips

XMLWordPrintable

    • 1
    • False
    • Hide

      None

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

      Steps to reproduce the issue, in a sandbox:

      # Add a switch with a port with a static IP address.
      ovn-nbctl ls-add ls
      ovn-nbctl lsp-add ls lsp
      ovn-nbctl lsp-set-addresses lsp "a2:01:ea:3d:df:4a 10.128.2.2"
      # Enable IPAM for the switch but exclude the IP assigned to the existing LSP
      ovn-nbctl set logical_switch ls other_config:exclude_ips="10.128.2.2" other_config:subnet="10.128.2.0/24" 

      ovn-northd should exclude the IP from the ones that can be dynamically assigned through IPAM but shouldn't complain about duplicates (the IP is not really used anywhere else).  In reality, northd logs:

      2024-08-22T19:39:50.071Z|00012|ipam|WARN|b86ed8fe-061a-4366-9982-af84395872ba: Duplicate IP set: 10.128.2.2 

      This has no functional side effects but it does spam the log.

              lorenzobianconi lorenzo bianconi
              ovnteam@redhat.com OVN Team
              Ehsan Elahi Ehsan Elahi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: