Bug 1084702 - XML error: bond interface misses the bond element
Summary: XML error: bond interface misses the bond element
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-05 17:35 UTC by kubrick@fgv6.net
Modified: 2014-05-08 10:09 UTC (History)
10 users (show)

Fixed In Version: libvirt-1.1.3.5-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-08 10:09:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
FC20 dump inactive xml and Introduce netcfInterfaceObjIsActive (4.30 KB, patch)
2014-04-13 12:35 UTC, kubrick@fgv6.net
no flags Details | Diff

Description kubrick@fgv6.net 2014-04-05 17:35:09 UTC
Description of problem:
When I try connecting to my local libvirtd/qemu in from network-manager the following error is displayed:

Error polling connection 'qemu:///system': XML error: bond interface misses the bond element

I've deleted my configuration in /etc/libvirtd/ & /var/run/libvirtd and reinstall libvirt-daemon. I can connect to other libvirtd instances over the network (on OpenSUSE machines) so I suppose the problem is not with virt-manager.

The journal doesn't provide anything else than the same XML error message.

It used to work very well, I assume a recent update broke it...

Comment 1 Cole Robinson 2014-04-08 15:17:07 UTC
This appears to be fixed upstream:

commit 7284c499e54e538fd0ab35a1f09e358f06fc23b0
Author: Laine Stump <laine>
Date:   Mon Apr 7 15:32:00 2014 +0300

    interface: dump inactive xml when interface isn't active

Comment 2 kubrick@fgv6.net 2014-04-13 10:45:14 UTC
Hi,

I applied the patch to libvirt-1.1.3.4-3.fc20.

It fixes the problem but breaks the compile-time tests (I had to disable them).

Thanks a lot, this patch should be backported to the current FC20 version.

F.

Comment 3 kubrick@fgv6.net 2014-04-13 10:57:37 UTC
I spoke to fast, I can use virt manager again, but the tests were right: it breaks the network.

F.

Comment 4 kubrick@fgv6.net 2014-04-13 12:35:01 UTC
Created attachment 885882 [details]
FC20 dump inactive xml and Introduce netcfInterfaceObjIsActive

Okay, applying this patch

https://www.redhat.com/archives/libvir-list/2013-December/msg00612.html

make it pass the tests and /sort of/ work. I still have to do some manual bonding configuration (like removing routes from the host's physical bonded interface) for network to work, but I don't know if it's related to this bug or a configuration problem.

The attached patch is what I used.

F.

Comment 5 Fedora Update System 2014-05-03 22:57:05 UTC
libvirt-1.1.3.5-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libvirt-1.1.3.5-1.fc20

Comment 6 Fedora Update System 2014-05-06 03:37:07 UTC
Package libvirt-1.1.3.5-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.1.3.5-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6018/libvirt-1.1.3.5-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-05-08 10:09:31 UTC
libvirt-1.1.3.5-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.