LBaaS documentation is outdated , shows listeners instead of VIPs

Bug #1361413 reported by Diogo Monteiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned
openstack-api-site
Fix Released
High
Anne Gentle

Bug Description

The documentation for the LBaaS REST API endpoints listed on the office docs website does not match the REST API exposed by neutron.
Documentation URL: http://developer.openstack.org/api-ref-networking-v2.html#lbaas

In the API docs there is a reference to /listeners. However, neutron doesn't have an API for /listeners, it only has an API for /vips

Below is a curl command demonstrating the issue:
Listing VIPs: *WORKS
curl -i http://infracont.rnd.cloud:9696/v2.0/lb/vips -X GET -H "X-Auth-Token: 5c5b55bb54cc4c90971fc695ff44923d" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

Listing Listeners: *FAILS
curl -i http://infracont.rnd.cloud:9696/v2.0/lb/listeners -X GET -H "X-Auth-Token: 5c5b55bb54cc4c90971fc695ff44923d" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

Openstack icehouse deployment.
Running neutron version 2.3.4

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

It's because documentation changes for some reason landed before changes in neutron.
I think this should be targeted to proper project, as it needs to be fixed for documentation first.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Diogo Monteiro (diogo-gmt) wrote :

So are you saying the documentation has the latest information regarding LBaaS?
Instead of VIPs the new reference name would be LISTENERS?
Please clarify, thanks.

Revision history for this message
Anne Gentle (annegentle) wrote :

So, since you are on an Icehouse-configuration, you need Load Balancers v 1.0 API and that's currently missing, sorry.

You can see a WADL for it here:
http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-lbaas-ext.wadl#Listeners

Revision history for this message
Anne Gentle (annegentle) wrote :

Neutron bug triager, you can move to the openstack-api-site project.

Changed in neutron:
status: Incomplete → Confirmed
Changed in openstack-api-site:
status: New → Confirmed
Anne Gentle (annegentle)
Changed in openstack-api-site:
importance: Undecided → High
assignee: nobody → Anne Gentle (annegentle)
Revision history for this message
Diogo Monteiro (diogo-gmt) wrote :

Anne, the link you placed in the comment above shows the documentation for loadbalancer listeners. However, for the LBaaS v1 I believe the documentation is being tracked here: https://wiki.openstack.org/wiki/Neutron/LBaaS/API_1.0

Also, when the new LBaaS version gets released on Junos, what will happen with the LBaaS API version 1? Will it be backwards compatible? Since I can see some API signatures being changed I assume it won't, right?

Revision history for this message
Anne Gentle (annegentle) wrote :

I believe it will not be backwards compatible, basing on what you're observing as well.

Also I don't know if lb v2 will be available in Juno.

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

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

commit 244c8fa25b1595588ebf477b64315bfd88e9543b
Author: Anne Gentle <email address hidden>
Date: Mon Sep 8 16:41:39 2014 -0500

    Provides LBaaS v1.0 extension info

     - removes experimental v2.0
     - Updates health_monitor JSON example

    Closes-bug:1214353
    Closes-bug:1361413
    Change-Id: Id5bd7417090ec65fb6f797870b909c75ba14d634

Changed in openstack-api-site:
status: In Progress → Fix Released
Revision history for this message
Aditi Rajagopal (aditirajagopal) wrote :

Marking the "neutron" section of this bug as invalid. The real fix needed to get into openstack-api-site

Changed in neutron:
status: Confirmed → Invalid
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.