Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACL Rule works intermittently, requires reboot or cleanup #10160

Open
btzq opened this issue Jan 3, 2025 · 3 comments
Open

ACL Rule works intermittently, requires reboot or cleanup #10160

btzq opened this issue Jan 3, 2025 · 3 comments

Comments

@btzq
Copy link

btzq commented Jan 3, 2025

ISSUE TYPE
  • Bug Report
COMPONENT NAME
VR
CLOUDSTACK VERSION
4.19.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

This happens on and off, but often enough to know its a bug.

When a ACL Rule has been updated, it doesnt always take effect. Sometimes it works, sometime it does not.

When it does not work, we need to reboot the router, which causes downtime, or, clean up the VPC.

STEPS TO REPRODUCE

- Create VPC (2 Subnets or More)
- Create custom ACL Rule (we have around 30 ACL Rules per Tier)
- Everything works fine
- Update ACL Rule (maybe add a new port to allow access)

Result: Hit or miss. But when it is a miss, we need to reboot or cleanup the router to take effect.

EXPECTED RESULTS
When an ACL Rule is changed, it should take effect immediately and reliably
ACTUAL RESULTS
Does not always work. 
@DaanHoogland
Copy link
Contributor

@btzq sounds bad, but as you say hit or miss. This will be also true for anybody fixing it, so please add as much details as you can. errors from logs on the router host and MS, cidrs, port numbers and maybe even ips.

Things that could help

  • is the command getting to the router
  • is the command file being processed
  • is the service being restarted
  • etc

@btzq
Copy link
Author

btzq commented Jan 8, 2025

@DaanHoogland

We encountered the situation again on one of our VPCs.

We found that the VR iptables shows that the rule was indeed added, but changes did not take effect.

Note, this VPC has a few hundred ACL Rules, and 15 Private Gateways.

@DaanHoogland
Copy link
Contributor

We found that the VR iptables shows that the rule was indeed added, but changes did not take effect.

Note, this VPC has a few hundred ACL Rules, and 15 Private Gateways.

wouw,

Can you look in the VR if the command for the rules is being processed? I.E. if the file with the new rule is being moved to /var/cache/cloud/processed/ on the router?

As this seems to be quite a busy VM can you also check if there is any disk problem on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants