echoidcf opened a new issue #4285:
URL: https://github.com/apache/cloudstack/issues/4285
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and master branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
VR/Loadbalancer
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on master
branch.
-->
~~~
All version after 4.11 (maybe)
4.7 are not affected
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
VR with dnsmasq network service offering
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
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 not 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
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
1. create/use a network offerings with DNS and LB services.
2. create a LB rule with public 53
After that rule is added with error, but haproxy down completely.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
~~~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]