Crash when removing <filterref> from interface with update-device
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | libvirt (Ubuntu) |
High
|
Unassigned | ||
| | Trusty |
High
|
Unassigned | ||
| | Vivid |
High
|
Unassigned | ||
Bug Description
=======
SRU Justification
1. Impact: crash when removing filterref from a network interface
2. Test case: Create an interface with filterref (see below), then update it and try to remove it.
3. Regression potential: the patch simply avoids attempting to instantiate a filter if the filter has been removed. There should be no regressions.
=======
Hello,
We're running into this issue on our 14.04 LTS hosts, when removing all filterref's on an interface, it results in a crash.
# virsh dump-xml e7276b62-
.....
<interface type='bridge'>
<mac address=
<source bridge=
<target dev='tap3f490a5
<model type='virtio'/>
<filterref filter=
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
....
Update attempt
# cat interface.xml
<interface type="bridge">
<mac address=
<source bridge=
<target dev="tap3f490a5
<model type="virtio"/>
<alias name="net0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
# virsh update-device e7276b62-
.. libvirtd segfaults!
There is an existing patch for this which addresses this issue, but it seems that it's not backported into current sources.
http://
| Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1448205] [NEW] Crash when removing <filterref> from interface with update-device | #2 |
| Mohammed Naser (mnaser) wrote : | #3 |
I will check it out and let you know.
The attachment "qemu-filterref
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
| Changed in libvirt (Ubuntu): | |
| importance: | Undecided → High |
| Changed in libvirt (Ubuntu Vivid): | |
| status: | Confirmed → Fix Released |
| Changed in libvirt (Ubuntu Utopic): | |
| importance: | Undecided → High |
| Changed in libvirt (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Mohammed Naser (mnaser) wrote : | #5 |
Hi,
Tested in 15.04, fixed and working properly.
Thanks,
Mohammed
| Serge Hallyn (serge-hallyn) wrote : | #6 |
Thank you, I'll SRU the patch.
| description: | updated |
| no longer affects: | libvirt (Ubuntu Utopic) |
Hello Mohammed, or anyone else affected,
Accepted libvirt into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in libvirt (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| tags: | added: verification-needed |
| Mohammed Naser (mnaser) wrote : | #8 |
Seems to have addressed the issue. :)
| tags: |
added: verification-done removed: verification-needed |
| Chris J Arges (arges) wrote : | #9 |
Hello Mohammed, or anyone else affected,
Accepted libvirt into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: | removed: verification-done |
| tags: | added: verification-needed |
| Timo Aaltonen (tjaalton) wrote : | #10 |
fixed the tag, this was verified already
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package libvirt - 1.2.2-0ubuntu13
---------------
libvirt (1.2.2-
* Drop Support-
verification.
libvirt (1.2.2-
* Support-
* qemu-filterref-
interfaces (LP: #1448205)
* storage_
arguments to rbd_create3. (LP: #1447030)
-- Serge Hallyn <email address hidden> Thu, 18 Jun 2015 14:21:06 -0500
| Changed in libvirt (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #12 |
The verification of the Stable Release Update for libvirt has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.


Hi,
given the date of that patch, could you confirm that this is fixed in 15.04?
If so then I'll SRU this to trusty