-
Notifications
You must be signed in to change notification settings - Fork 98
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
Port mapping not working #3318
Comments
Hi @tuefue - thanks for the report. I believe that this issue is due to a lack of full support for nf_tables (which has replaced iptables), when using the CNI ipmasq / portmap plugins. Newer Linux distributions, which have moved to nf_tables, will hit issues with certain CNI configurations. Luckily, there is a potential solution on the horizon. The upstream CNI plugins project has recently merged a change that adds support for nftables on ipmasq / portmap plugins: containernetworking/plugins#935 This project is what we import into SingularityCE to gain CNI networking functionality. There is no release yet with the fix in it, but as soon as there is then we can update the dependency and support for portmap with nf_tables should then be working. We'll monitor the status of the CNI plugins project until that happens. |
It's released https://github.com/containernetworking/plugins/releases/tag/v1.6.0.
|
Dependabot has opened some pull requests to bring in the dependency update onto our branches. Unforunately, the update CNI plugins dependency requires Go 1.23. Our current documented policy is to support the current (1.23) and previous (1.22) Go version for stable releases. We'll have to have a think about the policy (the issue has also come up with other dependencies recently). Chiefly the issue is with building packages for EPEL etc. where the Go version may lag behind upstream. There will be a delay in getting a release out with this due to the issue above. |
Before you report an issue...
Version of Singularity
singularity-ce version 4.2.1-noble
Describe the bug
Port mapping causes errors.
To Reproduce
Run command:
OS / Linux Distribution
up-to-date
Installation Method
DEB from GitHub (https://github.com/sylabs/singularity/releases/download/v4.2.1/singularity-ce_4.2.1-noble_amd64.deb)
Additional context
iptables command output:
ip6tables command output:
The text was updated successfully, but these errors were encountered: