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

agent: move the iptables bridge forwarding disable to agent register (backport #123) #124

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 17, 2024

The DisableBridgeNF() placed in init() would cause phantom error message while restart/kill the network-manager pod. Move it to agent register to prevent the unexpected invoke.

Fixes: 6521629 ("Disable iptables bridge forwarding on initializatio")

Problem:
harvester/harvester#6747

Solution:
Move the DisableBridgeNF() to agent register to prevent the unexpected invoke.

Related Issue:

Test plan:

  1. Manually restarting the harvester-network-controller-manager deployment or simply killing off the pod
  2. check if there's the error message disable net.bridge.bridge-nf-call-iptables failed, error: open /proc/sys/net/bridge/bridge-nf-call-iptables: read-only file system

This is an automatic backport of pull request #123 done by [Mergify](https://mergify.com).

The DisableBridgeNF() placed in init() would cause phantom error
message while restart/kill the network-manager pod. Move it to
agent register to prevent the unexpected invoke.

Fixes: 6521629 ("Disable iptables bridge forwarding on initializatio")
(cherry picked from commit bced981)
@starbops starbops merged commit 38aee8b into v0.5.x Oct 17, 2024
4 checks passed
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.

3 participants