Bug 1141568
| Summary: | libvirtError: operation failed: filter 'vdsm-no-mac-spoofing' already exists | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Nir Soffer <nsoffer> |
| Component: | vdsm | Assignee: | Dan Kenigsberg <danken> |
| Status: | CLOSED DUPLICATE | QA Contact: | Gil Klein <gklein> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.5 | CC: | bazulay, ecohen, gklein, iheim, mgoldboi, rbalakri, yeylon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | network | ||
| Fixed In Version: | v4.16.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-14 21:31:34 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: | |||
Workaround: 1. Find the rule: [root@voodoo4 ~]# grep -rn 84f08077-76be-4961-9a08-0acb93a2c029 /etc /etc/libvirt/nwfilter/vdsm-no-mac-spoofing.xml:9: <uuid>84f08077-76be-4961-9a08-0acb93a2c029</uuid> 2. Remove it systemctl stop libvirtd rm /etc/libvirt/nwfilter/vdsm-no-mac-spoofing.xml 3. Start vdsmd Lowering severity for easy workaround. *** This bug has been marked as a duplicate of bug 1138807 *** |
Description of problem: Starting vdsm fails with this error in /var/log/messages: Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: libvirt: Network Filter Driver error : operation failed: filter 'vdsm-no-mac-spoofing' already exists with uuid 84f08077-76be-4961-9a08-0acb93a2 Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: Traceback (most recent call last): Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: File "/usr/bin/vdsm-tool", line 209, in main Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: return tool_command[cmd]["command"](*args) Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: File "/usr/lib64/python2.7/site-packages/vdsm/tool/nwfilter.py", line 38, in main Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: NoMacSpoofingFilter().defineNwFilter(conn) Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: File "/usr/lib64/python2.7/site-packages/vdsm/tool/nwfilter.py", line 60, in defineNwFilter Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: nwFilter = conn.nwfilterDefineXML(self.buildFilterXml()) Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 111, in wrapper Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: ret = f(*args, **kwargs) Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4041, in nwfilterDefineXML Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: if ret is None:raise libvirtError('virNWFilterDefineXML() failed', conn=self) Sep 14 23:42:01 voodoo4.tlv.redhat.com vdsmd_init_common.sh[2676]: libvirtError: operation failed: filter 'vdsm-no-mac-spoofing' already exists with uuid 84f08077-76be-4961-9a08-0acb93a2c029 Version-Release number of selected component (if applicable): vdsm-4.16.2-1.gite8cba75.fc20.x86_64 How reproducible: Always after getting into this state. Steps to Reproduce: 1. Install some vdsm version (probably master few weeks before the upgrade) 2. Upgrade Fedora 19 to Fedora 20 using fedup 3. yum remove vdsm\* 4. yum install vdsm 5. vdsm-configure --force 6. systemctl start vdsmd Actual results: vdsm will not start Expected results: vdsm starts