apache / apache/cloudstack

Load balancer counters are reset to 0 if there are load balancer changes

未关闭
#6,849 4 条评论 0 个 reaction 已指派 1 人 已被 @weizhouapache 认领 在 GitHub 查看
component:virtual-router no-issue-activity status:stale type:bug
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

CloudStack uses haproxy in VR to implement the load balancer feature. If there are any load balancer changes (add/remove VMs, add/remove rules, etc), the haproxy configuration will be regenerated and haproxy service in VR will be reloaded.

We've found an issue that counters are reset to 0 after haproxy reload, which is incorrect because the existing connections are remain alive.

Before haproxy reload:
![image](https://user-images.githubusercontent.com/57355700/197732623-c1d9bb5e-dc71-41f1-a66d-b9b756319560.png)

After haproxy reload:
![image](https://user-images.githubusercontent.com/57355700/197732986-95fcf89d-afb0-4ff1-aeb0-5a9f1e514010.png)

An issue has been created in haproxy community: https://discourse.haproxy.org/t/stats-are-reset-to-0-after-haproxy-reload/8051

Users who monitor the load balancer connections, please pay attention to it.

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
VR
~~~

##### CLOUDSTACK VERSION

~~~
4.17
4.18
~~~

##### CONFIGURATION

Advanced network
load balancer

##### OS / ENVIRONMENT

##### SUMMARY

##### STEPS TO REPRODUCE

~~~

~~~

##### EXPECTED RESULTS

~~~

~~~

##### ACTUAL RESULTS

~~~

~~~

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。