Comment 2 for bug 1491560

Revision history for this message
Eran Raichstein (eranra) wrote :

We were able to replicate the bug

The bug is in LBassV2 and not in Octavia

The bug is in the filtering method that lists the members::

It doesn't matter what you set for ID you get the list of memebrs::

fields=id&name=test will give you the entire list of members

stack@garda12 [1991] ~/devstack (master * u-522)
$ curl -g -i -X GET "http://172.25.8.83:9696/v2.0/lbaas/pools/04c633fc-a707-4646-90b4-4809bd4b2e9b/members.json?fields=id&name=test" -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: 91e4fa9eaa3d407fb1f91ddb57ee4ce7" HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 377
X-Openstack-Request-Id: req-0770140a-d1f7-49cc-9262-4f1723df94b4
Date: Thu, 14 Jan 2016 23:00:17 GMT

{"members": [{"weight": 1, "admin_state_up": true, "subnet_id": "47e7e14c-5188-4c27-8bc6-e130e82f6215", "address": "10.0.0.4", "protocol_port": 80, "id": "8e43edb3-d216-4d2c-b697-adec6c3ac34c"}, {"weight": 1, "admin_state_up": true, "subnet_id": "47e7e14c-5188-4c27-8bc6-e130e82f6215", "address": "10.0.0.5", "protocol_port": 80, "id": "a1cb5009-4ce6-4464-93b9-c1cd9cba5071"}]}
stack@garda12 [1992] ~/devstack (master * u-522)
$