← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1720077] Re: Quality of Service (QoS) , document is critical error

 

Reviewed:  https://review.openstack.org/512538
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2f9c9013e550f8451bd9ba611e333519a417ca80
Submitter: Zuul
Branch:    master

commit 2f9c9013e550f8451bd9ba611e333519a417ca80
Author: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@xxxxxxxxx>
Date:   Tue Oct 17 09:22:00 2017 +0100

    Change QoS configuration manual
    
    As [1] shows, the controller node hosts the Neutron server but
    also agents like L3 and DHCP which require also OVS or LinuxBridge
    agent to be running on it.
    To enable QoS is required to enable the 'service_plugins' and
    the 'extension_drivers', along with the agent section in the plugin
    config if the agent is running on this host.
    
    In the network node and the compute node only the agent
    'extensions' configuration is needed to enable QoS
    on the agent.
    
    [1] https://docs.openstack.org/security-guide/networking/architecture.html
    
    Closes-Bug: #1720077
    
    Change-Id: I14128aabe0a9209c31a1bd4c76eed1182364ccdf
    Co-Authored-By: Slawek Kaplonski <slawek@xxxxxxxxxxxx>


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1720077

Title:
  Quality of Service (QoS) , document is critical error

Status in neutron:
  Fix Released

Bug description:
  Configuration in network node and compute node is wrong ,

  -----------------------------------------------------------------------------
  must comfiguration in controller node

  @controller node : /etc/neutron/neutron.conf
  service_plugins = router,qos

  @controller node : /etc/neutron/plugin.ini
  [ml2]
  extension_drivers = port_security,qos

  -----------------------------------------------------------------------------
  then configure in network node :
  /etc/neutron/plugins/ml2/openvswitch_agent.ini
  [agent]
  extensions = qos

  -----------------------------------------------------------------------------
  last configure in compute node :

  /etc/neutron/plugins/ml2/openvswitch_agent.ini
  [agent]
  extensions = qos

  -----------------------------------------------------------------------------

  otherwise ,
  you will always get error such as follow:

  Using http://controller:9696/v2.0 as public network endpoint
  REQ: curl -g -i -X POST http://controller:9696/v2.0/qos/policies -H "User-Agent: openstacksdk/0.9.17 keystoneauth1/3.1.0 python-requests/2.18.4 CPython/2.7.13" -H "Content-Type: application/json" -H "X-Auth-Token: {SHA1}b43a8743512064d5a7fa64c6eb255bdfa4720570" -d '{"policy": {"name": "bw-limiter"}}'
  http://controller:9696 "POST /v2.0/qos/policies HTTP/1.1" 404 103
  RESP: [404] Content-Length: 103 Content-Type: application/json X-Openstack-Request-Id: req-c3aac80f-9a97-4db7-a8f2-4e6a1ff907b3 Date: Thu, 21 Sep 2017 06:57:45 GMT Connection: keep-alive
  RESP BODY: {"NeutronError": {"message": "The resource could not be found.", "type": "HTTPNotFound", "detail": ""}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1720077/+subscriptions


References