Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Neutron LBaaS - loadbalancer status and stats return null

We have been testing Openstack's LBaaS via the Neutron project. Our version is Mitaka. We can successfully create a load balancer with all the associated listeners, pools, and members, and it works fine. However, we are not able to get the status or stats of the LB, either via the Neutron CLI or the API directly.

Via the CLI:

# neutron lbaas-loadbalancer-stats <id of load balancer>
tuple indices must be integers, not str

# neutron lbaas-loadbalancer-status <id of load balancer>
tuple indices must be integers, not str

and via the API:

# curl -s -H "X-Auth-Token: $TOKEN"  \ 
https://example.com/v2.0/lbaas/loadbalancers/<id of loadbalancer>/stats
null

# curl -s -H "X-Auth-Token: $TOKEN"  \ 
https://example.com/v2.0/lbaas/loadbalancers/<id of loadbalancer>/statuses
null

I assume that the 'tuple indices' error displayed by the CLI is Python's way of responding to a null value. I have googled extensively for information on this but have found nothing, hence this question.

Many thanks in advance.