Closed
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
VR in VPC
CLOUDSTACK VERSION
4.19
CONFIGURATION
Advanced networking, VPC network
OS / ENVIRONMENT
N/A
SUMMARY
It looks like that, starting with CS version 4.19, the VR is not properly forwarding traffic to the VM when a port-forwarding rule is created on a secondary IP assigned to the VR.
STEPS TO REPRODUCE
Create a VPC (or use an existing one).
Create a new network tier.
Create a new VM in the tier.
Assign a new Public IP address to the VR and configure a pf rule on it.
Create a new ACL rule allowing traffic on the public port selected.
Try to reach the service exposed on the VR.
EXPECTED RESULTS
You should be able to reach the service
ACTUAL RESULTS
You can't reach the service. Executing a tcpdump on the VR I saw that traffic is not forwarded to the VM behind it and no nat rules were created in iptables.
Rebooting the VR or re-creating it doesn't resolve.
As a work-around (still a poor one) you can use LB service on the VR instead of PF. Haproxy works as expected.
Metadata
Metadata
Assignees
Labels
No labels