apache / apache/cloudstack

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

Đang mở
#6,849 4 bình luận 0 reaction 1 người được giao Được @weizhouapache nhận Xem trên GitHub
component:virtual-router no-issue-activity status:stale type:bug
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

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

~~~

~~~

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.