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

[HA] Invalid dpnId configured as NAPT Switch in router-to-napt-switch model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Oxygen-SR3, Fluorine
    • None
    • natservice
    • None

      Description of problem:
      -----------------------------
      3 ODL Controllers and 2 Compute nodes.

      Create an external-flat-network, router and vxlan tenant network.
      Associate the router to the external-network and tenant subnet.
      Spawn couple of VMs and associate FIPs to each of the VMs.

      Take down the compute nodes, start them again and create new VMs, assign FIPs and try to reach them

      How reproducible:
      Random

      Observations:
      -------------
      The reason why some of the flows were missing for FIP/SNAT is that an invalid dpnId (i.e., 0) was selected as an NAPT Switch.
      Ideally a dpnId of zero should not be configured as an NAPT switch in the router-to-napt-switch models and the missing flows are only a side-effect of this.

      {
      "napt-switches": {
      "router-to-napt-switch": [

      { "router-name": "7c126d70-8033-49b0-a473-aa9cdaa07566", "primary-switch-id": 0 }

      ]
      }
      }

            SridharG Sridhar Gaddam
            SridharG Sridhar Gaddam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: