Skip to content

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

Description

@weizhouapache

Steps to reproduce the issue

  • Use multiple IP-Ranges / VLANs on Public Physical Network
  • Create VPC
  • Create multiple tiers
  • Deploy one VM in every tier
  • Allocate IP-Adresses from different ranges / vlans
  • Create Static NAT for at least one VM with an IP not originating from snat-range.
  • Execute health-checks

More information

  • In the VPC VR, there are two public nics

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

  • switch says "Rule Interface Mismatch"

and drops these packets

  • The iptables rules shows
-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
  • Bug Report
COMPONENT NAME
VR
CLOUDSTACK VERSION
4.18.2.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Activity

  1. weizhouapache commented on Jul 31, 2024

    @weizhouapache
    MemberAuthor

    this issue seems to be caused by #8599

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

  2. added this to the 4.19.2.0 milestone on Aug 13, 2024
  3. moved this from Discuss to Dev In Progress in Apache CloudStack BugFest - Issueson Aug 20, 2024
  4. self-assigned this
    on Aug 20, 2024
  5. modified the milestones: 4.19.2, 4.19.3 on Feb 13, 2025
  6. moved this from Dev In Progress to Todo in Apache CloudStack BugFest - Issueson Mar 5, 2025
  7. modified the milestones: 4.19.3, 4.19.4 on Jun 5, 2025
  8. modified the milestones: 4.19.4, 4.20.2, 4.22.0 on Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions