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

ipsets and iptables rules should be clean up on flush() #4336

Open
Tracked by #4360
bechampion opened this issue Jan 30, 2024 · 1 comment
Open
Tracked by #4360

ipsets and iptables rules should be clean up on flush() #4336

bechampion opened this issue Jan 30, 2024 · 1 comment
Assignees

Comments

@bechampion
Copy link

Feature Request

Upon experiment deletion (in this case a network experiment (qdisc + iptables + ipset) , only the qdisc is deleted. I would like it if the iptables rule and ipset x2 are also removed , so we leave the pod in the same state we found it.

There's a flush() that does this for qdiscs https://github.com/chaos-mesh/chaos-mesh/blob/master/pkg/chaosdaemon/tc_server.go#L308-L321 , but we would need also an entrypoint for the iptables that deal with that class and the ipsets the iptables refers to.

@STRRL STRRL self-assigned this Feb 6, 2024
@STRRL STRRL mentioned this issue Mar 5, 2024
3 tasks
@nioshield
Copy link
Contributor

@STRRL I'm interested in fixing this problem, can you please assign it to me? Thank you!

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

No branches or pull requests

3 participants