QOS Does not work with "policing_rate" and "policing_burst" in qos_driver.py

Bug #1683073 reported by Arslan Qadeer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Arslan Qadeer

Bug Description

QOS for OVN does not work with the current options set "policing_rate" and "policing_burst" in qos_driver.py

Steps to reproduce:
1) Create qos-policy
2) Add a bandwidth-limit Rule
3) Create Private network with above qos-policy
4) Spawn VMs in private network

There will be no effect of QOS Policy.

Workaround:

Edit the below file and replace "policing_rate" with "qos_max_rate" and "policing_burst" with "qos_burst"

vi /usr/lib/python2.7/site-packages/networking_ovn/ml2/qos_driver.py

Restart neutron-server

Repeat Steps 1,2,3,4 and now QOS should work.

Dong Jun (dongj)
Changed in networking-ovn:
status: New → Confirmed
Revision history for this message
Arslan Qadeer (arslanqxgrid) wrote :
Changed in networking-ovn:
assignee: nobody → Arslan Qadeer (arslanqxgrid)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/457518
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=f27eaab983a4e4354543f11f32061e38298a2b93
Submitter: Jenkins
Branch: master

commit f27eaab983a4e4354543f11f32061e38298a2b93
Author: Arslan Qadeer <email address hidden>
Date: Tue Apr 18 04:29:16 2017 -0400

     Bug Fix For QOS

     In OvS 2.6,The NorthDB used “policing_burst”,“policing_rate” to config QoS,
     But in OvS2.7 , It changed by “qos_burst”, “qos_max_rate”.

    Change-Id: I8cf1d662c392765d6474abbeff8e6202b6cc970e
    Closes-Bug: #1683073
    Signed-off-by: Arslan Qadeer <email address hidden>

Changed in networking-ovn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 3.0.0.0b2

This issue was fixed in the openstack/networking-ovn 3.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.