apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.98k stars 1.09k forks source link

Failed VR health check gateways_check.py on additional public IP range #9473

Open weizhouapache opened 1 month ago

weizhouapache commented 1 month ago

Steps to reproduce the issue

More information

eth1 - xxx.xx.179.15/24 eth2 - xxx.xx.178.11/24

The health check gateways_check.py failed with error message Unreachable gateways found - xxx.xx.178.1

and drops these packets

-A POSTROUTING -j SNAT -o eth1 --to-source xxx.xx.179.15
-A POSTROUTING -j SNAT -o eth2 --to-source xxx.xx.179.15

the issue is fixed by changing the rules to

-A POSTROUTING -o eth1 -j SNAT --to-source xxx.xx.179.15
-A POSTROUTING -o eth2 -j SNAT --to-source xxx.xx.178.11
ISSUE TYPE
COMPONENT NAME
VR
CLOUDSTACK VERSION
4.18.2.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
weizhouapache commented 1 month ago

this issue seems to be caused by https://github.com/apache/cloudstack/pull/8599

there is no other pf/lb/dnat issues found until now