octavia get loadbalancer api does not return the load balancer list

Bug #1555805 reported by Banashankar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
Expired
Medium
Unassigned

Bug Description

curl -X GET http://localhost:9876/v1/loadbalancers/
does not return the load balancers which are created from the CLI.

steps to reproduce.
1. Create the LB from CLI
neutron lbaas-loadbalancer-create --name lb1 private-subnet

2.
vagrant@vagrant-ubuntu-trusty-64:~/devstack$ neutron lbaas-loadbalancer-list
+--------------------------------------+------+-------------+---------------------+----------+
| id | name | vip_address | provisioning_status | provider |
+--------------------------------------+------+-------------+---------------------+----------+
| db9bd5c0-048f-48fd-ae8c-0416a46c4566 | lb1 | 10.0.0.3 | ACTIVE | octavia |
+--------------------------------------+------+-------------+---------------------+----------+

3.
vagrant@vagrant-ubuntu-trusty-64:~/devstack$ curl -X GET http://localhost:9876/v1/loadbalancers/
[]

Revision history for this message
Michael Johnson (johnsom) wrote :

You are requesting v1 load blancers. The correct curl path would be: /v2.0/lbaas/loadbalancers

http://developer.openstack.org/api-ref-networking-v2-ext.html#listLoadBalancersv2

Revision history for this message
Michael Johnson (johnsom) wrote :

Nevermind my last comment. I see you are going to the octavia api direct.

Changed in octavia:
importance: Undecided → Medium
Revision history for this message
Lingxian Kong (kong) wrote :

I tested according to your steps, can't reproduce. Could you please use the latest code and confirm that?

Changed in octavia:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for octavia because there has been no activity for 60 days.]

Changed in octavia:
status: Incomplete → Expired
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.