Bug 1999874

Summary: Apply QoS policy to entire external network.
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Priscila <pveiga>
Component: ovn2.13Assignee: OVN Team <ovnteam>
Status: NEW --- QA Contact: ying xu <yinxu>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 20.DCC: ctrautma, jiji, ovnteam, ralongi, yinxu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2012877 (view as bug list) Environment:
Last Closed: 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:    
Bug Blocks: 2012877    

Description Priscila 2021-08-31 20:59:33 UTC
Description of problem:

We need to be able to apply the qos policy to the entire external network. In this situation an instance with the network directly connected (port) works, but the floating IPs that belong to the network if the policy is not applied specifically ignore that policy applied to the network, the same happens with the external gateway of the router 

openstack floating ip set --qos-policy test_qos_10Mb xxxxxxxxxxxxxxxx

openstack router set --qos-policy qos-2Mbps_up-2Mbps_down Router-Admin

BadRequestException: 400: Client Error for url: https://mysite.com:1234/v2.0/routers/xxxxxxxxxxxxxx, Invalid input for external_gateway_info. Reason: Unexpected keys supplied: qos_policy_id.

We have created the corresponding entry and exit policies and rules. Instances directly connected to an external network, works, but in instances that have a geneve network and go to the internet through SNAT, when we do a speed test against the internet, we see that they are not being limited by not respecting that limit in the gateway of the router

  OVNQosDriver: 'ovn-qos'
  NeutronSriovAgentExtensions: 'qos'