Lbaas: Active_connections and Total_Connection in lbaas always show 0 for lb-pool-stat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Vishal Agarwal |
Bug Description
Steps to Reproduce:
1. Create network, subnet
2.Create pool,member vip and healthmonitor.
neutron lb-pool-list
+------
| id | name | provider | lb_method | protocol | admin_state_up | status |
+------
| d488b38e-
+------
neutron lb-member-list
+------
| id | address | protocol_port | admin_state_up | status |
+------
| 303f3d66-
| ac58985b-
+------
4. Validate the algorithm and try to send request from server to client .
5. Check the lp-pool-stats for the pool created.
Actual Results:
neutron lb-pool-stats pool1
+------
| Field | Value |
+------
| active_connections | 0 |
| bytes_in | 1440 |
| bytes_out | 560 |
| total_connections | 0 |
+------
Connections in response for this command always show 0
Expected Results: Active connection should show the value when the connection is active and total connenction should show total number of active connections
summary: |
Lbaas: Active_connections and Total_Connection in lbaas always show 0 - for ln-pool-stat + for lb-pool-stat |
tags: | added: lbaas |
Changed in neutron: | |
assignee: | nobody → Vishal Agarwal (vishala) |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
milestone: | none → juno-2 |
Changed in neutron: | |
milestone: | juno-2 → 2014.2 |
Stats are being fetched from counters of haproxy in an interval of 6secs.
ACTIVE_CONNECTION maps to "qcur" counter of HAPROXY (indicating the current number of requests in the server's queue ), you must be running one or two requests at a time which are being served immediately. This counter may reflect in the load scenario's.
Not able to see anything which maps to “total_ connections” , might be this is the reason for it to remain 0.