QoS doesn't work when a mechanism driver which doesn't implement bind_port explicitly supports it

Bug #1488996 reported by John Schwarz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Miguel Angel Ajo

Bug Description

My ml2 configuration file contains the following:

[ml2]
extension_drivers = port_security,qos
mechanism_drivers = openvswitch,l2population

However, when trying to get a list of available rule types, the neutron-server logs this to the log file:

WARNING neutron.plugins.ml2.managers [req-19db3de7-1a1a-42b5-b4c0-b9f146a6bcac admin b44ee578c44a426e81752b4df76c1a89] l2population does not support QoS; no rule types available

Seems to me like this should not be the case, as l2pop has nothing to do with QoS or binding ports. Probably other mechanism drivers also produce the same error. QoS should explicitly check if a mechanism driver overrides bind_port and only if it does it should produce that error.

Tags: l2-pop qos
tags: added: l2-pop
John Schwarz (jschwarz)
summary: - QoS doesn't work when l2pop is enabled
+ QoS doesn't work when a mechanism driver which doesn't implement
+ bind_port explicitly supports it
Assaf Muller (amuller)
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
John Schwarz (jschwarz)
description: updated
Revision history for this message
Miguel Angel Ajo (mangelajo) wrote :

Thanks guys, I will ping Ihar to see if he can look at it.

Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → liberty-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/224831

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
Kyle Mestery (mestery) wrote :

Moving to Mitaka as the RC will be cut 9-22 or 9-23 this week.

Changed in neutron:
milestone: liberty-rc1 → mitaka-1
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Moved back to l-rc1 since it's ready for review.

Changed in neutron:
milestone: mitaka-1 → liberty-rc1
Changed in neutron:
assignee: Ihar Hrachyshka (ihar-hrachyshka) → Miguel Angel Ajo (mangelajo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/224831
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0cdb46b2030ed5b61098ca43662cb5b9ff855613
Submitter: Jenkins
Branch: master

commit 0cdb46b2030ed5b61098ca43662cb5b9ff855613
Author: Ihar Hrachyshka <email address hidden>
Date: Thu Sep 17 19:13:22 2015 +0200

    ml2: don't consider drivers with no bind_port for qos supported rule types

    If the driver is not going to bind a port, we should not use it as
    justification to limit the subset of rule types available for the user.

    The most common scenario for that would be l2pop, that does not handle port
    binding, but merely modifies the implementation details of node
    interconnection.

    Change-Id: Iba0f3530deff3bb2871ebf893c43ef628a80c7c0
    Closes-Bug: #1488996

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: liberty-rc1 → 7.0.0
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.