Bug 1669584

Summary: [TESTONLY] [Neutron][NFV] Scheduler to relate bandwidth per SR-IOV interface to total PF bandwidth
Product: Red Hat OpenStack Reporter: atelang <atelang>
Component: openstack-tripleoAssignee: Christophe Fontaine <cfontain>
Status: CLOSED CURRENTRELEASE QA Contact: Vadim Khitrin <vkhitrin>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: hakhande, kfida, mburns, oblaut, rdiazcam, spower, supadhya, vkhitrin
Target Milestone: z8Keywords: FeatureBackport, TestOnly, Triaged, ZStream
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1991746 (view as bug list) Environment:
Last Closed: 2022-09-22 08:54:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1463838, 1780733, 1788974, 1900500, 1989820    
Bug Blocks: 1991746    

Description atelang 2019-01-25 17:31:30 UTC
Description of problem:
End-end testing of bandwidth aware scheduling with SRIOV Related Nova BZ 1463837


This was Nova RFE to have a instance spawned based on configured qos policy for sriov vfs and GAed in 16.0 from nova.
https://bugzilla.redhat.com/show_bug.cgi?id=1463838

However, this needs neutron and tripleO changes and is tracked with this. It is fixed now but not part of 16.1.2 for the Neutron team as well.
https://bugzilla.redhat.com/show_bug.cgi?id=1788974

Our purpose to raise below is to make sure we have this in CI once the above is done by neutron. 
https://bugzilla.redhat.com/show_bug.cgi?id=1669584



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 12 Karrar Fida 2020-10-20 14:27:22 UTC
To be marked as verified once Neutron verifies 1788974

Comment 14 Karrar Fida 2020-12-03 06:20:56 UTC
Changed target milestone to z4 since 1788974 will be completed for z4.

Comment 18 Yariv 2021-10-11 13:33:01 UTC
Patch is verified with the following THTs 
https://code.engineering.redhat.com/gerrit/c/nfv-qe/+/280721

  # RFE https://bugzilla.redhat.com/show_bug.cgi?id=1669584
  NeutronServicePlugins: 'ovn-router,trunk,qos,placement'
  ExtraConfig:
    neutron::agents::ml2::sriov::resource_provider_hypervisors:
     "enp4s0f0:%{hiera('fqdn_canonical')},enp4s0f1:%{hiera('fqdn_canonical')}"
  NeutronSriovResourceProviderBandwidths: enp4s0f0:4000000:9000000,enp4s0f1:4000000:9000000


Verified on 16.2
ovs/ovn back end, 
cat ~/core_puddle_version
 RHOS-16.2-RHEL-8-20211006.n.1

this BZ should be VERIFIED for 16.1 also

Comment 25 Ricardo Diaz 2022-03-14 08:18:21 UTC
Verified on 16.1:

[stack@undercloud-0 ~]$ printf "$(cat core_puddle_version)\n"
RHOS-16.1-RHEL-8-20220225.n.1


[stack@undercloud-0 ~]$ cat /home/stack/ospd-16.1-vxlan-dpdk-sriov-ctlplane-dataplane-bonding-hybrid/sriov-config.yaml
parameter_defaults:
  ComputeOvsDpdkSriovExtraConfig:
    neutron::agents::ml2::sriov::resource_provider_hypervisors:
     "enp7s0f0:%{hiera('fqdn_canonical')},enp7s0f1:%{hiera('fqdn_canonical')}"
  ComputeOvsDpdkSriovParameters:
    NeutronSriovResourceProviderBandwidths: enp7s0f0:4000000:9000000,enp7s0f1:4000000:9000000
    NovaPCIPassthrough:
      - devname: "enp5s0f2"
        trusted: "true"
        physical_network: "sriov-1"
      - devname: "enp5s0f3"
        trusted: "true"
        physical_network: "sriov-2"
      - devname: "enp7s0f0"
        trusted: "true"
        physical_network: "sriov-mlx-1"
      - devname: "enp7s0f1"
        trusted: "true"
        physical_network: "sriov-mlx-2"

    NeutronPhysicalDevMappings:
      - "sriov-1:enp5s0f2"
      - "sriov-2:enp5s0f3"
      - "sriov-mlx-1:enp7s0f0"
      - "sriov-mlx-2:enp7s0f1"