zero stats if health monitor_type is PING
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
New
|
High
|
Unassigned |
Bug Description
loadbalancer stats always return zeros if loadbalancer's health monitor type=PING.
nicira@
{
"loadbalancer": {
"name": "venus-lb2-http",
{
],
}
],
"pools": [
{
},
],
}
],
"id": "67f267a8-
}
}
nicira@
+------
| Field | Value |
+------
| active_connections | 0 |
| bytes_in | 0 |
| bytes_out | 0 |
| total_connections | 0 |
+------
The issue here is that neutron-lbaas is not querying Octavia for the stats. They are being collected by Octavia, but if you use the neutron client you will always get zeros.
This is related to the database split brain issue which will be fixed with the merge.
If it is needed earlier, I recommend updating the event streamer to also update the stats in addition to status.