Bug 1077009
Summary: | It shouldn't be permitted to change the uuid of a nwfilter | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Hu Jianwei <jiahu> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | ajia, dyuan, gsun, honzhang, mzhan, rbalakri |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.7-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 07:32:46 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
Hu Jianwei
2014-03-17 02:20:36 UTC
I have posted the patch from comment 0 upstream: https://www.redhat.com/archives/libvir-list/2014-July/msg00320.html Now pushed upstream: commit 46a811db0731cedaea0153fc223faa6096cee5b5 Author: Hu Jianwei <jiahu> AuthorDate: 2014-07-07 15:55:16 +0200 Commit: Ján Tomko <jtomko> CommitDate: 2014-07-07 15:55:16 +0200 Do not allow changing the UUID of a nwfilter https://bugzilla.redhat.com/show_bug.cgi?id=1077009 git describe: v1.2.6-58-g46a811d I can not reproduce it on libvirt-1.2.8-7.el7.x86_64 [root@ibm-x3850x5-06 ~]# rpm -q libvirt libvirt-1.2.8-7.el7.x86_64 [root@ibm-x3850x5-06 ~]# virsh nwfilter-dumpxml mynwfilter <filter name='mynwfilter' chain='root'> <uuid>71ef822b-4220-4752-b1aa-3653d40254a1</uuid> <rule action='drop' direction='out' priority='-650'> <tcp dstportstart='22'/> </rule> </filter> [root@ibm-x3850x5-06 ~]# virsh nwfilter-edit mynwfilter error: operation failed: filter 'mynwfilter' already exists with uuid 71ef822b-4220-4752-b1aa-3653d40254a1 Failed. Try again? [y,n,f,?]: error: operation failed: filter 'mynwfilter' already exists with uuid 71ef822b-4220-4752-b1aa-3653d40254a1 Failed. Try again? [y,n,f,?]: [root@ibm-x3850x5-06 ~]# virsh nwfilter-dumpxml mynwfilter <filter name='mynwfilter' chain='root'> <uuid>71ef822b-4220-4752-b1aa-3653d40254a1</uuid> <rule action='drop' direction='out' priority='-650'> <tcp dstportstart='22'/> </rule> </filter> The uuid can not be changed, move to Verified. 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://rhn.redhat.com/errata/RHSA-2015-0323.html |