Neutron/Networking: GET "List VIPs" Response Parameters missing the "port_id" parameter

Bug #1476646 reported by Yuki Deguchi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Yuki Deguchi

Bug Description

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

Issue: In "Load-Balancer-as-a-Service (LBaaS) 1.0 (STABLE)" section,
GET "List VIPs" Response Parameters is missing the "port_id" parameter.

[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"

<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/vips ;echo
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 487
X-Openstack-Request-Id: req-a123366a-15fd-4a28-a3d5-be0e518c2fc5
Date: Tue, 21 Jul 2015 06:23:12 GMT

{"vips": [{"status": "ACTIVE", "protocol": "HTTP", "description": "", "address": "10.0.0.4", "protocol_port": 80, "port_id": "f949c544-3cf2-4926-8e26-9b766df91f06", "id": "fc01e2ec-081f-4802-b8f9-aab8c26802ea", "status_description": null, "name": "myvip", "admin_state_up": true, "subnet_id": "5084f73f-b52e-441f-9724-697b1d917b1a", "tenant_id": "0522fc19a56b4d7ca32a9140d3d36a08", "connection_limit": -1, "pool_id": "6507ae42-1f7a-4bc0-8174-3fcc9c5dd3d6", "session_persistence": null}]}
stack@ubuntu:~$

<CLI>
stack@ubuntu:~$ neutron lb-vip-list --debug
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://192.168.122.99:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] content-length: 340 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Tue, 21 Jul 2015 06:32:45 GMT content-type: application/json x-openstack-request-id: req-03796d34-aea3-4a72-8a7c-b6505b82e6b7
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://192.168.122.99:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: neutronclient.neutron.v2_0.lb.vip.ListVip get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[]))
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://192.168.122.99:5000/v2.0/tokens
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://192.168.122.99:9696/v2.0/lb/vips.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}afb91e7d2ee61b1c9d18aa50d40a5ec974b46b24"
DEBUG: keystoneclient.session RESP: [200] date: Tue, 21 Jul 2015 06:32:46 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 487 x-openstack-request-id: req-a09857f9-bbc7-46b5-bbca-995ca082b926
RESP BODY: {"vips": [{"status": "ACTIVE", "protocol": "HTTP", "description": "", "address": "10.0.0.4", "protocol_port": 80, "port_id": "f949c544-3cf2-4926-8e26-9b766df91f06", "id": "fc01e2ec-081f-4802-b8f9-aab8c26802ea", "status_description": null, "name": "myvip", "admin_state_up": true, "subnet_id": "5084f73f-b52e-441f-9724-697b1d917b1a", "tenant_id": "0522fc19a56b4d7ca32a9140d3d36a08", "connection_limit": -1, "pool_id": "6507ae42-1f7a-4bc0-8174-3fcc9c5dd3d6", "session_persistence": null}]}

+--------------------------------------+-------+----------+----------+----------------+--------+
| id | name | address | protocol | admin_state_up | status |
+--------------------------------------+-------+----------+----------+----------------+--------+
| fc01e2ec-081f-4802-b8f9-aab8c26802ea | myvip | 10.0.0.4 | HTTP | True | ACTIVE |
+--------------------------------------+-------+----------+----------+----------------+--------+
stack@ubuntu:~$

Tags: neutron
Changed in openstack-api-site:
assignee: nobody → Yuki Deguchi (deguchi-yuki)
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Akihiro Motoki (amotoki)
tags: added: neutron
Revision history for this message
Diane Fleming (diane-fleming) wrote :

Already fixed.

Changed in openstack-api-site:
assignee: Yuki Deguchi (deguchi-yuki) → Diane Fleming (diane-fleming)
milestone: none → mitaka
assignee: Diane Fleming (diane-fleming) → nobody
assignee: nobody → Yuki Deguchi (deguchi-yuki)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.