Skip to content

OCPBUGS-14247: Remove setting ip forwarding via openshift profile#536

Merged
yarda merged 1 commit intoredhat-performance:masterfrom
trozet:disable_global_forwarding
Jun 9, 2023
Merged

OCPBUGS-14247: Remove setting ip forwarding via openshift profile#536
yarda merged 1 commit intoredhat-performance:masterfrom
trozet:disable_global_forwarding

Conversation

@trozet
Copy link
Copy Markdown
Contributor

@trozet trozet commented May 30, 2023

With openshift/machine-config-operator#3676 we removed globally setting ip forwarding in MCO. We should not be setting it in the default profile for OpenShift. We now set it on a per interface basis as needed. However, by setting proc/sys/net/ipv4/forward rather than (forwarding) it will reset all the values:

"This variable is special, its change resets all configuration parameters to their default state (RFC1122 for hosts, RFC1812 for routers)"

We suspect this causes upgrade to fail. NTO sets this to 1, which then resets all the per interface config that OVNK wrote. Then during upgrade when there is a tuned profile change, the config change is rolled back so forward is 0, and now there is no connectivity to kapi and upgrade fails.

With openshift/machine-config-operator#3676 we
removed globally setting ip forwarding in MCO. We should not be setting
it in the default profile for OpenShift. We now set it on a per
interface basis as needed. However, by setting proc/sys/net/ipv4/forward
rather than (forwarding) it will reset all the values:

"This variable is special, its change resets all configuration
parameters to their default state (RFC1122 for hosts, RFC1812
for routers)"

We suspect this causes upgrade to fail. NTO sets this to 1, which then
resets all the per interface config that OVNK wrote. Then during upgrade
when there is a tuned profile change, the config change is rolled back
so forward is 0, and now there is no connectivity to kapi and upgrade
fails.

Signed-off-by: Tim Rozet <trozet@redhat.com>
@jmencak
Copy link
Copy Markdown
Contributor

jmencak commented May 30, 2023

Thank you for the PR. LGTM. @yarda , we'll need this in the next FDP.

@tssurya
Copy link
Copy Markdown

tssurya commented Jun 2, 2023

@jmencak : Hi! What's the approximate ETA for this?

@yarda
Copy link
Copy Markdown
Contributor

yarda commented Jun 2, 2023

ETA is FDP 23.E

@trozet
Copy link
Copy Markdown
Contributor Author

trozet commented Jun 7, 2023

@yarda when will this land time wise?

@jmencak
Copy link
Copy Markdown
Contributor

jmencak commented Jun 7, 2023

@yarda when will this land time wise?

Please see https://issues.redhat.com/browse/FD-2901
If all goes well, by the end of June.

@yarda
Copy link
Copy Markdown
Contributor

yarda commented Jun 9, 2023

LGTM, thanks for contribution.

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

Successfully merging this pull request may close these issues.

4 participants