Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-10115

Cover SR-IOV and PCI passthrough in uni jobs with emulated hardware

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Cover SR-IOV and PCI passthrough in uni jobs with emulated hardware
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Proposed
    • Proposed
    • To Do
    • Proposed
    • Proposed

      Qemu can emulate the igb NICs which are capable of SR-IOV. This gives us the opportunity to enable the SR-IOV part of the https://opendev.org/openstack/whitebox-tempest-plugin to run in our UNI jobs that are using VMs as compute nodes. Such VMs can be defined to have igb SR-IOV capable NICs. [1]

      This require multiple steps:

      • Extend the CI framework to support customizing the domain XML of the virtual computes with igb NICs [2] and other necessary pieces like viommu and split apic [3].
      • Reconfigure an uni job (e.g. beta) to
        • use the above CI framework functionality to get computes with SRI-OV NICs
        • configure and run tests from whitebox-tempest-plugin

      Note, to enable all the SR-IOV testing requires multi NUMA node VMs which is also possible to emulate.

      [1]https://review.opendev.org/c/openstack/nova/+/928834/2/doc/source/contributor/testing/pci-passthrough-sriov.rst
      [2]https://github.com/openstack-k8s-operators/ci-framework/blob/002b302d977e97af19b6d1ec94afbb36651456f6/roles/libvirt_manager/tasks/attach_interface.yml#L104
      [3]https://github.com/openstack-k8s-operators/ci-framework/blob/002b302d977e97af19b6d1ec94afbb36651456f6/roles/libvirt_manager/templates/domain.xml.j2

              Unassigned Unassigned
              rh-ee-bgibizer Balazs Gibizer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: