← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1636380] [NEW] [stable/newton] LBaaS statistics cli doesn't show updated values.

 

You have been subscribed to a public bug:

I have enabled Octavia in my stable/newton setup and verifying LBaaS
services.

The cli command "neutron lbaas-loadbalancer-stats" is not showing the updated values.All the 
statistics field's values are zero.

vmware@cntr1:/opt/stack/logs$ neutron lbaas-loadbalancer-stats 663350ad-d515-423b-add1-11b38b14356b
+--------------------+-------+
| Field              | Value |
+--------------------+-------+
| active_connections | 0     |
| bytes_in           | 0     |
| bytes_out          | 0     |
| total_connections  | 0     |
+--------------------+-------+

However, stats collected using Octavia API is having updated values.

vmware@cntr1:/opt/stack/logs$ curl -H "X-Auth-Token:008e1258cc294f9eb3a99df7b2da3e88" http://localhost:9876/v1/loadbalancers/663350ad-d515-423b-add1-11b38b14356b/listeners/a7743e61-a507-4300-81ad-3da3c9046511/stats
{"bytes_in": 89520, "total_connections": 1119, "active_connections": 0, "bytes_out": 402840}

Loadbalancer Info:

vmware@cntr1:/opt/stack/logs$ neutron lbaas-loadbalancer-show 663350ad-d515-423b-add1-11b38b14356b
+---------------------+------------------------------------------------+
| Field               | Value                                          |
+---------------------+------------------------------------------------+
| admin_state_up      | True                                           |
| description         |                                                |
| id                  | 663350ad-d515-423b-add1-11b38b14356b           |
| listeners           | {"id": "a7743e61-a507-4300-81ad-3da3c9046511"} |
| name                | test-lb                                        |
| operating_status    | ONLINE                                         |
| pools               | {"id": "3a5e4090-fb2c-49e6-b209-ac5c6fb6fd21"} |
| provider            | octavia                                        |
| provisioning_status | PENDING_UPDATE                                 |
| tenant_id           | c9b2dc6e087e4aa9913701f48d520914               |
| vip_address         | 50.0.0.11                                      |
| vip_port_id         | 540c4137-ab17-42d1-9e21-a82793607772           |
| vip_subnet_id       | ae311056-b856-464d-a706-bd26f33917a8           |
+---------------------+------------------------------------------------+

vmware@cntr1:/opt/stack/logs$ neutron lbaas-listener-list
+--------------------------------------+--------------------------------------+--------------+----------+---------------+----------------+
| id                                   | default_pool_id                      | name         | protocol | protocol_port | admin_state_up |
+--------------------------------------+--------------------------------------+--------------+----------+---------------+----------------+
| a7743e61-a507-4300-81ad-3da3c9046511 | 3a5e4090-fb2c-49e6-b209-ac5c6fb6fd21 | test-lb-http | TCP      |          8000 | True           |
+--------------------------------------+--------------------------------------+--------------+----------+---------------+----------------+

Please fix it.

** Affects: devstack
     Importance: Undecided
         Status: New

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
[stable/newton] LBaaS statistics cli doesn't show updated values.
https://bugs.launchpad.net/bugs/1636380
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.