Description of problem: 'virsh net-start default' fails in centos 6.6 and 6.7 for libvirt 1.2.18 libvirt 1.2.2 works without error. Version-Release number of selected component (if applicable): libvirt 1.2.18 How reproducible: Every time Steps to Reproduce: 1. virsh net-start default Actual results: error: Failed to start network default error: error creating bridge interface virbr0: Operation not supported Expected results: Network default started Additional info: libvirt 1.2.2 and 1.2.18 were built from the source tarball with: ./configure make rpm Then installed in a vagrant machine 'geerlingguy/centos6' using virtualbox.
Can you please provide debug logs? http://wiki.libvirt.org/page/DebugLogs
Created attachment 1066822 [details] Debug log for net-start Debug output after 'virsh net-start default'
I posted patches upstream to fix this: https://www.redhat.com/archives/libvir-list/2015-August/msg00884.html
This is great, thanks! I can confirm that the patches work on centos 6.7. I built an rpm with the patch on COPR, available here: https://copr.fedoraproject.org/coprs/mclarkson/libvirt-1.2.18/
Pushed upstream. Will be in libvirt-1.2.19: commit 66dcb4093750aabd637607a1202cb9b9c15f1298 Author: Laine Stump <laine> Date: Tue Aug 25 20:48:19 2015 -0400 util: fallback to ioctl(SIOCBRADDBR) if netlink RTM_NEWLINK fails commit 97d26e470d5be2f1178cedfea212c5983afd7b30 Author: Laine Stump <laine> Date: Tue Aug 25 23:19:03 2015 -0400 util: fallback to ioctl(SIOCBRDELBR) if netlink RTM_DELLINK fails