LBaaS: API doesn't return correctly

Bug #1609352 reported by changzhi on 2016-08-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
In Progress
Low
changzhi

Bug Description

===== Problem Description =====
I want to get all ids about LBaaS's pools.

I use this command:

curl -g -i -X GET http://10.0.44.233:9696/v2.0/lbaas/pools.json?fields=id \
    -H "User-Agent: python-neutronclient" \
    -H "Accept: application/json" \
    -H "X-Auth-Token: a77ea1dd7fb748448d36142ef844802d"

But the Neutron server didn't return correctly. The response is :

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 344
X-Openstack-Request-Id: req-8ed9d992-6a4c-44ac-9c59-de65794e919f
Date: Wed, 03 Aug 2016 10:56:18 GMT

{"pools": [{"lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "admin_state_up": true, "session_persistence": null, "healthmonitor_id": null, "listeners": [{"id": "f8392236-e065-4aa2-a4ef-d6c6821cc038"}], "members": [{"id": "ea1292f4-fb6a-4594-9d13-9ff0dec865d8"}], "id": "b360fc75-b23d-46a3-b936-6c9480d35219", "name": ""}]}[root@server-233 ~(keystone_admin)]

Neutron server returns all the infos about pools.

In the request, I specify the url with "fields=id". But the Neutron server didn't return correctly.

Changed in neutron:
status: New → Confirmed
importance: Undecided → Low

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

Changed in neutron:
assignee: nobody → changzhi (changzhi)
status: Confirmed → In Progress
changzhi (changzhi) on 2016-08-10
description: updated
affects: neutron → octavia

Change abandoned by Zhi Chang (<email address hidden>) on branch: master
Review: https://review.openstack.org/352693

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

Other bug subscribers