← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1428774] [NEW] Neutron-LBaaS: Stats Call API Spec mismatch with Actual Response

 

Public bug reported:


1.  Create Load Balancer
2.  Do a stats call
3.  See response.

Result:  stats response looks like this:
{"stats": {"bytes_in": 0, "total_connections": 0, "active_connections": 0, "bytes_out": 0}}

Expected:  according to api spec,
(https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0#Retrieve_a_specific_Load_Balancer.27s_Statistics)
it should look like this:

{
    "stats": {
        "loadbalancer": {
            "total_bytes_in": 0,
            "total_bytes_out": 0,
            "total_connections": 0,
            "total_active_connections": 0,
        }
    }
}

Missing 'loadbalancer' attribute.   Or, update the wiki to remove
'loadbalancer'.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Neutron-LBaaS: Stats Call API Spec mismatch with Actual Response

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  
  1.  Create Load Balancer
  2.  Do a stats call
  3.  See response.

  Result:  stats response looks like this:
  {"stats": {"bytes_in": 0, "total_connections": 0, "active_connections": 0, "bytes_out": 0}}

  Expected:  according to api spec,
  (https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0#Retrieve_a_specific_Load_Balancer.27s_Statistics)
  it should look like this:

  {
      "stats": {
          "loadbalancer": {
              "total_bytes_in": 0,
              "total_bytes_out": 0,
              "total_connections": 0,
              "total_active_connections": 0,
          }
      }
  }

  Missing 'loadbalancer' attribute.   Or, update the wiki to remove
  'loadbalancer'.

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


Follow ups

References