Uploaded image for project: 'OpenShift SDN'
  1. OpenShift SDN
  2. SDN-5424

[ovn-kubernetes, IPAM] update GW information for IPv6 after VM live-migration

XMLWordPrintable

    • BU Product Work
    • False
    • None
    • False
    • Hide
      - the workload learns the GW information (link-local addr of the LRP for the network on the DST node) after the live-migration
      - the workload forgets the old GW information (link-local addr of the LRP for the network on the SRC node) after the live-migration
      Show
      - the workload learns the GW information (link-local addr of the LRP for the network on the DST node) after the live-migration - the workload forgets the old GW information (link-local addr of the LRP for the network on the SRC node) after the live-migration
    • OCPSTRAT-1613 - Enhance User Defined Networks: Add support for Services(Full), EIP(Full), NetPol: GA
    • ---
    • 0
    • 0

      The GW being configured over RAs on the workloads is featuring the link-local address of the LRP; when the VM live-migrates to another node, it'll learn a new GW route (since the link-local IP addr of the LRP in the destination node is different. 

      We need to inform the workload of two things:

      • learn the GW information (link-local addr of the LRP for the network on the DST node)
      • forget the old GW information (link-local addr of the LRP for the network on the SRC node)

      This can be achieved by sending unsolicited RAs from a RAW socket (by ovnkube-node). Making the workload "forget" the old GW can be achieved by issuing a RA with a lifetime of 0.

      NOTE:

      • this requires an e2e test asserting connectivity to a different network to be added to the kubevirt suite (upstream)
      • this solution assumes the link-local addresses are generated from the MAC addresses of the ports - privacy extensions are not supported

       

              ellorent Felix Enrique Llorente Pastora
              mduarted@redhat.com Miguel Duarte de Mora Barroso
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: