Skip to content

Enable IPv6 dual-stack networking for containers#97

Merged
evgeni merged 1 commit into
theforeman:masterfrom
pfreyburg:enable-ipv6
May 27, 2026
Merged

Enable IPv6 dual-stack networking for containers#97
evgeni merged 1 commit into
theforeman:masterfrom
pfreyburg:enable-ipv6

Conversation

@pfreyburg

Copy link
Copy Markdown
Contributor

Comment thread manifests/core_network.pp
@pfreyburg

pfreyburg commented Apr 29, 2026

Copy link
Copy Markdown
Contributor Author

How to run it on existing broker instance:

  1. copy the changes into /usr/share/foreman-installer/modules/iop/manifests/ (replace existing files),
  2. remove iop-core-network with podman network rm -f iop-core-network and ip link delete podman1
  3. then run foreman-installer

Then you can check whether ipv6 is enabled: podman network inspect iop-core-network | grep ipv6_enabled

@pfreyburg pfreyburg changed the title Enable IPv6 dual-stack networking for containers [RHINENG-24842] Enable IPv6 dual-stack networking for containers Apr 29, 2026

@vkrizan vkrizan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One organizational suggestions, if you are changing the code that you are submitting, then feel free to utilize rebase to include changes that are relevant (i.e. clean up the history).

Thank you!

Comment thread manifests/core_network.pp
@vkrizan

vkrizan commented May 7, 2026

Copy link
Copy Markdown
Contributor

@ehelms @evgeni Would you be able to review this? Thank you!

@evgeni

evgeni commented May 7, 2026

Copy link
Copy Markdown
Member

Does this setup NAT for v6 too? Do you happen to have a system handy where I could see the result of this change?

@vkrizan

vkrizan commented May 7, 2026

Copy link
Copy Markdown
Contributor

Does this setup NAT for v6 too?

Yes, I believe that's the purpose of the ipv6 flag besides the IPv6 subnet.

Petr had a machine provisioned by broker where he tested this. I'm not sure if it still exists.

@evgeni evgeni added the enhancement New feature or request label May 11, 2026
@evgeni evgeni changed the title [RHINENG-24842] Enable IPv6 dual-stack networking for containers Enable IPv6 dual-stack networking for containers May 11, 2026
@evgeni

evgeni commented May 11, 2026

Copy link
Copy Markdown
Member

One thing to remember (even if we can't fix it from inside puppet-iop): the podman module won't fix existing networks to enable IPv6, due to the way how the creation is handled in
https://github.com/southalc/podman/blob/f4cc7f6ce6b70130cbdb4b8cde2b064b35b081ab/manifests/network.pp#L158-L159
(It's non-trivial to orchestrate this case with Puppet, as it doesn't know how to "update" a network at all)

@ekohl

ekohl commented May 12, 2026

Copy link
Copy Markdown
Member

(It's non-trivial to orchestrate this case with Puppet, as it doesn't know how to "update" a network at all)

Looking at podman network update --help I only see options to add or remove DNS options, nothing else.

@evgeni evgeni merged commit 2f88e33 into theforeman:master May 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants