Neutron/Networking: GET "List pools" Response Parameters are incorrect

Bug #1477874 reported by Tetsuya, Watanabe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Tetsuya, Watanabe

Bug Description

Networking API v2.0 extensions, List pools:
http://developer.openstack.org/api-ref-networking-v2-ext.html#listPools

Issue: In "Load-Balancer-as-a-Service (LBaaS) 1.0 (STABLE)" section,
GET "List pools" Response Parameters are incorrect.

According to the document, in response parameters,
 - "lb_algorithm" should be "lb_method".
 - "healthmonitor_id" should be "health_monitors".
 - "subnet_id" is not described.
 - "vip_id" is not described.
 - "health_monitors_status" is not described.
 - "provider" is not described.

[Representaion]
<Environment>
stack@ubuntu:~/devstack$ git show
commit 56f4c3c8197bdeaa23f56f370acee078c0dfdf0a
Merge: 53e0160 dcc8a30
Author: Jenkins <email address hidden>
Date: Mon Jul 20 22:53:32 2015 +0000

    Merge "Be more explicit about jenkins project config"

stack@ubuntu:~/devstack$

<API>
stack@ubuntu:~$ curl -g -i -X GET -H "Content-Type: application/json" -H "X-Auth-Token: ${token}" http://192.168.122.99:9696/v2.0/lb/pools ; echo
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 1360
X-Openstack-Request-Id: req-60e4fa77-8698-446f-bb54-65202dbdac46
Date: Thu, 23 Jul 2015 07:09:43 GMT

{"pools": [{"status": "ACTIVE", "lb_method": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "health_monitors": [], "members": [], "status_description": null, "id": "6507ae42-1f7a-4bc0-8174-3fcc9c5dd3d6", "vip_id": "fc01e2ec-081f-4802-b8f9-aab8c26802ea", "name": "mypool", "admin_state_up": true, "subnet_id": "5084f73f-b52e-441f-9724-697b1d917b1a", "tenant_id": "0522fc19a56b4d7ca32a9140d3d36a08", "health_monitors_status": [], "provider": "haproxy"}, {"status": "ACTIVE", "lb_method": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "health_monitors": [], "members": [], "status_description": null, "id": "b84521a8-e528-43b8-a83d-693ed65d172b", "vip_id": "9d1d59b3-fda0-4197-9296-bffaad2579f3", "name": "lbpool2_m", "admin_state_up": true, "subnet_id": "3987977f-8660-4e4a-ad5a-16124fc583b6", "tenant_id": "0522fc19a56b4d7ca32a9140d3d36a08", "health_monitors_status": [], "provider": "haproxy"}, {"status": "ACTIVE", "lb_method": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "health_monitors": [], "members": [], "status_description": null, "id": "c795c0c2-cc91-4605-b794-8278f21375ca", "vip_id": "0c05c5aa-106f-43a7-a6e4-7145605fd886", "name": "lbpool_m", "admin_state_up": true, "subnet_id": "3987977f-8660-4e4a-ad5a-16124fc583b6", "tenant_id": "0522fc19a56b4d7ca32a9140d3d36a08", "health_monitors_status": [], "provider": "haproxy"}]}
stack@ubuntu:~$

Changed in openstack-api-site:
assignee: nobody → Tetsuya, Watanabe (watanabe-tetuya)
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Changed in openstack-api-site:
status: Confirmed → In Progress
Tom Fifield (fifieldt)
Changed in openstack-api-site:
milestone: none → liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/205948
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=f9d30c9678a0f07d9ab14a32a6e1a681d6282ef4
Submitter: Jenkins
Branch: master

commit f9d30c9678a0f07d9ab14a32a6e1a681d6282ef4
Author: Tetsuya, Watanabe <email address hidden>
Date: Mon Jul 27 17:26:42 2015 +0900

    Fix "List pools" response parameter descriptions

    The following parameters are changed:
    - "lb_algorithm" changes to "lb_method"
    - "healthmonitor_id" changes to "health_monitors"
    The following parameters descriptions are added:
    - "subnet_id"
    - "vip_id"
    - "health_monitors_status"
    - "provider"

    Change-Id: I49b8f68628583750814f6b4ce8d913522b1a0e5e
    Closes-bug: #1477874

Changed in openstack-api-site:
status: In Progress → Fix Released
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.