Skip to content

fix(reproducer): enable IPv6 forwarding for network routing - #4226

Open
pderenda wants to merge 1 commit into
openstack-k8s-operators:mainfrom
pderenda:OSPNW-1776-fix-IPV6-forwarding
Open

pderenda wants to merge 1 commit into
openstack-k8s-operators:mainfrom
pderenda:OSPNW-1776-fix-IPV6-forwarding

Conversation

@pderenda

@pderenda pderenda commented Oct 2, 2026

Copy link
Copy Markdown

IPv6 forwarding was not enabled during premetal provisioning, causing failures in IPv6-enabled scenarios when OCP VMs on IPv6 networks become unreachable with 'no route to host' errors.

IPv6 forwarding was not enabled during premetal provisioning, causing
failures in IPv6-enabled scenarios when OCP VMs on IPv6 networks become
unreachable with 'no route to host' errors.
@openshift-ci

openshift-ci Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign michburk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@qodo-code-review

qodo-code-review Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

Grey Divider

Sorry, something went wrong

We weren't able to complete the code review on our side. Please try again manually by commenting /agentic_review on this PR.

Grey Divider

Qodo Logo

@openshift-ci

openshift-ci Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Hi @pderenda. Thanks for your PR.

I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Enable IPv6 forwarding during reproducer network setup

🐞 Bug fix 🕐 Less than 10 minutes

Grey Divider

AI Description

• Enable IPv6 forwarding on the reproducer host during network preparation.
• Restore routing to OCP VMs on IPv6 networks that were unreachable with “no route to host.”
Diagram

graph TD
  A["Reproducer setup"] --> B["Host sysctl"] --> C["IPv6 VM routing"]
Loading
High-Level Assessment

Keep the new sysctl task beside the existing IPv4 forwarding task. It uses the role’s established mechanism; a separate sysctl configuration path would add complexity without a clear benefit.

Files changed (1) +6 / -0

Bug fix (1) +6 / -0
prepare_networking.ymlEnable host IPv6 forwarding during network preparation +6/-0

Enable host IPv6 forwarding during network preparation

• Adds an ansible.posix.sysctl task that sets net.ipv6.conf.all.forwarding to 1 in the existing privileged host-configuration block. This allows the reproducer host to forward traffic for IPv6-enabled OCP VM networks.

roles/reproducer/tasks/prepare_networking.yml

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build succeeded (check pipeline).
https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/4e0bc8536989454193f48f3b09d15ee6

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 53m 23s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 32m 24s
✔️ podified-multinode-edpm-deployment-crc-centos-10 SUCCESS in 1h 20m 53s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 32m 49s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 21s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 26s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 20s
✔️ cifmw-molecule-reproducer SUCCESS in 16m 29s

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant