Bug 1679119
Summary: | When nat network is destroyed, one of the iptables rules still exists. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | yalzhang <yalzhang> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | yalzhang <yalzhang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | berrange, chhu, dyuan, jdenemar, laine, mtessun, rbalakri, xuzhang |
Target Milestone: | rc | Keywords: | Automation, Regression |
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-5.0.0-4.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-29 16:05:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
yalzhang@redhat.com
2019-02-20 11:42:45 UTC
The logs shows as below, and after a 'firewall-cmd --reload', the legacy rule is cleared successfully. # tail /var/log/messages .... Feb 20 06:58:44 dell-per730-36 nm-dispatcher[11510]: req:4 'down' [virbr0]: new request (3 scripts) Feb 20 06:58:44 dell-per730-36 nm-dispatcher[11510]: req:4 'down' [virbr0]: start running ordered scripts... Feb 20 06:58:44 dell-per730-36 firewalld[1441]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter delete FORWARD --in-interface virbr0 --jump REJECT' failed: Bad argument `delete'#012Try `iptables -h' or 'iptables --help' for more information. This problem is due to a typo in upstream commit 2deb74f1 that accidentally replaced "--delete" with "delete" when refactoring libvirt's iptables library. This typo was later incidentally fixed by upstream commit 7431b3eb, which was part of the series that moved the iptables rules for each network into their own iptables chain. Commit 2deb74f1 first appeared in libvirt 5.0.0, but 7431b3eb will only be in libvirt 5.1.0, which is why the current rhel8-av exhibits the bad behavior. The patch that fixes the bug is the final patch of a series of 4 patches that makes a sizeable change to libvirt's behavior, see this commit log for a comprehensive list of the advantages to making the change: https://libvirt.org/git/?p=libvirt.git;a=commit;h=5f1e6a7d48c02e02ee50fc9d9818ac1db076f051 Test on libvirt-5.0.0-4.module+el8+2835+faae67de.x86_64, the bug is fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1293 |