-
Notifications
You must be signed in to change notification settings - Fork 30
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
backport: Disable iptables bridge forwarding on initialization #119
Conversation
@mingshuoqiu I see iptables are disabled by default in the harvester node.Am I missing something ? |
It is 1 if no secondary guest network created. |
(cherry picked from commit 6521629) Signed-off-by: Chris Chiu <chris.chiu@suse.com>
37be333
to
793fc1d
Compare
Yes, it'll be turned off once there a new ClusterNetwork and VlanConfig created.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
Is this a specific case of mgmt network in custom vlan ? who is the caller of init() ? |
@rrajendran17 I installed Harvester 1.3.2-rc2 on a new machine w/o any config file, the |
Sure then, Thanks. LGTM |
(cherry picked from commit 6521629)
Signed-off-by: Chris Chiu chris.chiu@suse.com
Problem:
In the Harvester cluster whose management network has a VLAN ID, the VM will be unable to access the host port or node port with the host IP where the VM is running.
Solution:
Disable net.bridge.bridge-nf-call-iptables to avoid iptables rules affecting bridge forwarding on vlan.init().
We could not disable net.bridge.bridge-nf-call-iptables in the harvester-installer because RKE2 will enable it after harvester-installer.
Related Issue:
harvester/harvester#3960
Test plan: