[root@f18 ~]# virsh iface-list --all Name State MAC Address -------------------------------------------- bond0 inactive 00:00:00:00:00:00 lo active 00:00:00:00:00:00 [root@f18 ~]# virsh iface-dumpxml --inactive bond0 <interface type='bond' name='bond0'> <start mode='none'/> <protocol family='ipv4'> <dhcp/> </protocol> <bond> <interface type='ethernet' name='eth0'> </interface> <interface type='ethernet' name='eth1'> </interface> </bond> </interface> [root@f18 ~]# virsh iface-dumpxml bond0 error: XML error: bond interface misses the bond element
Apparently add_bond_info() in netcf is failing to get the slave interface names from the netlink cache. I'm fairly certain that worked at one time (since the code exists, and I surely tested it prior to push).
Pretty sure this is still relevant in F20
Actually I missed the fact that the bond interface in the example is inactive. This is *really* the same thing as Bug 878394 (filed against RHEL7), a libvirt bug, which is fixed by the following upstream commit: commit 7284c499e54e538fd0ab35a1f09e358f06fc23b0 Author: Laine Stump <laine> Date: Mon Apr 7 15:32:00 2014 +0300 interface: dump inactive xml when interface isn't active I just checked and that commit was pulled into the v1.1.3-maint branch prior to 1.1.3.5, so it is already in the current libvirt in F20. It *isn't* in F19 yet (and will require commit 50f5468c960f4fe491399d5a495426e6cb6b41f1 and some conflict resolution if that's desired)