Fix iptable rules in ubuntu 20 for bridge name#5318
Conversation
In ubuntu20 the interface name contains @ synbol and because of that even the iptable rules for brdige name contains this symbol which causes ping issues. Remove the @ symbol from iptable rule to fix the issue
@rhtyd I thought its better to add extra flags rather than changing the command itself. Im not sure if it will break something else |
|
@ravening I tested your changes manually LGTM on Ubuntu 20.04/kvm host |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
commands looks good. need to test the iptables rules. |
@weizhouapache yes.. this was the only one which was causing issue in ubuntu20. apart from that all other rules worked fine so far... if I find out more then I will either update this pr or create a new one |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 882 |
|
@blueorangutan test |
|
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1657)
|
weizhouapache
left a comment
There was a problem hiding this comment.
code lgtm
ps: this change has been merged into master in pr#5158
2d3f2fb
Description
In ubuntu20 the interface name contains @ synbol and
because of that even the iptable rules for brdige name
contains this symbol which causes ping issues.
Remove the @ symbol from iptable rule to fix the issue
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
This the output from ubuntu16
And iptable rule is
This is the output from ubuntu20
And iptable rule is
After the fix, below is the output from ubuntu20
iptable rule is
How Has This Been Tested?