Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-21833

[TP] Bridged network interface hot-plug for VMs

XMLWordPrintable

    • bridge-nic-hotplug
    • Hide
      • Downstream documentation
      • Downstream test automation
      • We have a clear story of what happens when requested network is not available on the node
      • A user can hot-plug a bridged network interface to a VM
      • (stretch goal) A user can hot-unplug a bridged network interfrace from a VM
      • Deployed through CNAO
      • Get the code downstream
      • Upstream user-guide updated
      • Upstream e2e test automation
      Show
      Downstream documentation Downstream test automation We have a clear story of what happens when requested network is not available on the node A user can hot-plug a bridged network interface to a VM (stretch goal) A user can hot-unplug a bridged network interfrace from a VM Deployed through CNAO Get the code downstream Upstream user-guide updated Upstream e2e test automation
    • Green
    • In Progress
    • CNV-25927 - TP: vNIC hot-plug for bridged networks
    • CNV-25927TP: vNIC hot-plug for bridged networks
    • 0% To Do, 0% In Progress, 100% Done
    • dev-ready, doc-ready, po-ready, qe-ready, ux-ready
    • Hide

      2023-10-02: automation code will be merged in the upcoming days....

      Show
      2023-10-02: automation code will be merged in the upcoming days....

      Goal

      Allow hot plug of bridged network interfaces for VMs.

      User Stories

      • As a developer,
        I expect hotplug being available in CNV platform,
        since it is an industry standard I was using in the previous platform.

      Non-Requirements

      • <List of things not included in this epic, to alleviate any doubt raised during the grooming process.>
      • This epic is not concerned with SR-IOV NIC hotplug, SR-IOV is tracked here: https://issues.redhat.com/browse/CNV-25461
      • Hot-unplug is not needed
      • In-place hot-plug is not a must, live-migration based hot-plug is also acceptable

      Notes

      • VM interface hot-plug should also be supported on cluster with multus version 3.
      • Storage already supports hot-plug, we should learn from them.
      • Support of hot-plug is being considered for CNI 2.0.
      • Multus RFE: https://github.com/k8snetworkplumbingwg/multus-cni/issues/585
      • One option to handle scheduling would be to a) If the needed resource is available, just plug it in b) if it is not, fail or migrate
      • We could use RHV test-plan as a reference
      • Epic https://issues.redhat.com/browse/CNV-21833 and specifically PR https://github.com/kubevirt/kubevirt/pull/6852 adding support to in-place hotplug, but only in case the cluster has multus version 4 or above.
      • The interfaces will first appear on the VMI spec and the VM spec if the request contains `--persist`. Only after migration the VM, the interfaces will appear in the virt-launcher pod and the guest.

      Design outline

      https://docs.google.com/document/d/1oEuw0UIQFYHTVPRcS6a-QtDdWW2yeyOAWmlg5C1eWyU/edit

      OWNERS

      Role Contact
      PM TBD
      Documentation Owner TBD
      Delivery Owner (See assignee)
      Quality Engineer (See QE Assignee)

      Done Checklist

      Who What Reference
      DEV Upstream roadmap issue https://github.com/kubevirt/kubevirt/issues/6733
      DEV Upstream code and tests merged Yes
      DEV Upstream documentation merged https://kubevirt.io/user-guide/operations/hotplug_interfaces/
      DEV gap doc updated Updated
      DEV Upgrade consideration N/A
      DEV CEE/PX summary presentation N/A
      QE Test plans in Polarion https://polarion.engineering.redhat.com/polarion/ssoLogin/saml_sample?fromUrl=redirect/project/CNV/wiki/Network/_Networking_%20Bridged%20network%20interface%20hot-plug%20for%20VMs
      QE Automated tests merged https://code.engineering.redhat.com/gerrit/c/cnv-tests/+/446609
      DOC Downstream documentation merged https://github.com/openshift/openshift-docs/pull/62426

              ysegev@redhat.com Yossi Segev
              fdeutsch@redhat.com Fabian Deutsch
              Yossi Segev Yossi Segev
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: