Skip to content

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

Open
@weizhouapache

Description

@weizhouapache

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

After haproxy reload:
image

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions