Bug 1593549
Summary: | parts of the network filter can not pass virt-xml-validate | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yalzhang <yalzhang> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | yalzhang <yalzhang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.6 | CC: | chhu, fjin, laine, xuzhang |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-4.5.0-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 09:56:58 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
2018-06-21 04:49:35 UTC
It is a regression from https://www.redhat.com/archives/libvir-list/2017-December/msg00195.html Patch posted upstream: https://www.redhat.com/archives/libvir-list/2018-June/msg01488.html Pushed upstream, will be in libvirt-4.5.0: commit 17b4734288ced5c34b3157c7c240f88823cbbfed Author: Laine Stump <laine> Date: Thu Jun 21 02:07:17 2018 -0400 schema: allow a <rule> element with no subelements in a nwfilter Test on libvirt-4.5.0-1.el7.x86_64, all nwfilter xml validates successfully Get all the builtin nwfilter name in a file # cat test allow-arp allow-dhcp allow-dhcp-server allow-incoming-ipv4 allow-ipv4 clean-traffic no-arp-ip-spoofing no-arp-mac-spoofing no-arp-spoofing no-ip-multicast no-ip-spoofing no-mac-broadcast no-mac-spoofing no-other-l2-traffic no-other-rarp-traffic qemu-announce-self qemu-announce-self-rarp Prepare a simple script as below: # cat test.sh #!/bin/bash cat test | while read line do virsh nwfilter-dumpxml ${line} > /tmp/${line}.xml virt-xml-validate /tmp/${line}.xml done validate all the nwfilter dumpxml file successfully. # ./test.sh /tmp/allow-arp.xml validates /tmp/allow-dhcp.xml validates /tmp/allow-dhcp-server.xml validates /tmp/allow-incoming-ipv4.xml validates /tmp/allow-ipv4.xml validates /tmp/clean-traffic.xml validates /tmp/no-arp-ip-spoofing.xml validates /tmp/no-arp-mac-spoofing.xml validates /tmp/no-arp-spoofing.xml validates /tmp/no-ip-multicast.xml validates /tmp/no-ip-spoofing.xml validates /tmp/no-mac-broadcast.xml validates /tmp/no-mac-spoofing.xml validates /tmp/no-other-l2-traffic.xml validates /tmp/no-other-rarp-traffic.xml validates /tmp/qemu-announce-self.xml validates /tmp/qemu-announce-self-rarp.xml validates 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/RHSA-2018:3113 |