Skip to content

Set 53/111 LoadBalancer rule may kill haproxy and cause loadbalancer down completely. #4285

@echoidcf

Description

@echoidcf
ISSUE TYPE
  • Bug Report
COMPONENT NAME
VR/Loadbalancer
CLOUDSTACK VERSION
All version after 4.11 (maybe)
4.7 are not affected
CONFIGURATION

VR with network service offering which having DNS(dnsmasq daemon) and LB(haproxy daemon) services.

OS / ENVIRONMENT
SUMMARY

Because dnsmasq daemon is using tcp53 port, haproxy can not use that port again.
Set a loadbalancer rule for public port 53 will result in error while start/reload/restarting haproxy.
After 4.11, haproxy is reload/restart via python script (CsHelper.py)
But CsHelper.py nevery check if reload/restart is ok, haproxy is killed permanently after setting this loadbalancer rule.

The rule can be set without any error/warning, and loadbalancer service is down after that.

STEPS TO REPRODUCE
1. create/use a network offerings with DNS and LB services.
2. create a LB rule with public 53

After that rule is added without error, but haproxy down completely.
EXPECTED RESULTS

ACTUAL RESULTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions