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

Will this reenable firewall rules/routing when puppet is run #4

Closed
thaylin opened this issue Nov 2, 2020 · 3 comments
Closed

Will this reenable firewall rules/routing when puppet is run #4

thaylin opened this issue Nov 2, 2020 · 3 comments

Comments

@thaylin
Copy link

thaylin commented Nov 2, 2020

I have the issue where firewalld is being restarted by puppet and the podman rules vanish, does this module get around that somehow (such as redeploying the container), or is that a known limitation?

@southalc
Copy link
Owner

southalc commented Nov 2, 2020

The module does not address this issue. There is an open issue for this on the podman project - see:
containers/podman#5431

At this point there does not appear to be a good solution to the underlying problem. Possible work-arounds might be re-deploying containers after a firewall change, or limiting use of podman to systems where firewalld rules will be stable, but I don't care for either approach. If/when the upstream issue is addressed I can make any necessary changes to the module.

@thaylin
Copy link
Author

thaylin commented Nov 2, 2020

sounds good, thank you.

@thaylin thaylin closed this as completed Nov 2, 2020
@southalc
Copy link
Owner

southalc commented Dec 2, 2020

FYI, I had to re-work this module to get rootless containers working properly. In doing so I discovered that rootless containers are unable to create their own firewall rules. This means that while you can publish container ports from a rootless container, the host firewall must be managed separately to allow the inbound connections to published port(s). I'm wondering if this will avoid the issue with firewall rules from podman getting clobbered?

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

2 participants