Uploaded image for project: 'OpenShift Core Networking'
  1. OpenShift Core Networking
  2. CORENET-5328

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

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • Bug Fix
    • Hide
      This fix reconcile virtual machine's ipv6 default gw after live migration to point ipv6 default gateway to the node where the VM is running on.

      In case the live migration is not automatically issued by the upgrade when rebooting nodes, a live upgrade need to be done to force ipv6 gateway reconcile and VMs.
      Show
      This fix reconcile virtual machine's ipv6 default gw after live migration to point ipv6 default gateway to the node where the VM is running on. In case the live migration is not automatically issued by the upgrade when rebooting nodes, a live upgrade need to be done to force ipv6 gateway reconcile and VMs.

      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
              None
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: