Created attachment 367379 [details] Upstream fix for this issue Description of problem: The bridge associated with a network created and started with virsh net-define and virsh-start is not actually enabled ("ip link set DEVICE up") if the host has no IP on that bridge. Version-Release number of selected component (if applicable): libvirt-0.6.3-20.1 How reproducible: Every time. Steps to Reproduce: 1. virsh net-define <(echo "<network><name>test_noip</name><uuid>9533aa79-1064-449d-8b43-1b873e5e52d4</uuid><bridge name='test_noip_br'/></network>") 2. virsh net-start test_noip 3. ip -o link show test_noip_br | grep -q UP && echo 'Pass' || echo 'Fail' Actual results: Above steps should emit 'Pass'. Expected results: Given test emits 'Fail'; bridge does not pass packets. Additional info: Fixed in upstream libvirt commit e978774ec67f4b062b1f65e5c76a13193a9430eb; patch (which applies cleanly except for the changelog entry) attached for reference.
Charles supplied a pointer to the upstream fix, think this can move to POST
Created attachment 374897 [details] patch rebased to RHEL-5 libvirt This is the upstream patch newly rebased to the RHEL-5 libvirt-0.6.3. I built and tested, and it does now pass the test.
libvirt-0.6.3-23.el5 has been built in dist-5E-qu-candidate with the patches, Daniel
The bugs has been fixed in libvirt-0.6.3-28.el5 virsh net-dumpxml test_noip <network> <name>test_noip</name> <uuid>9d92939c-208a-9cec-5ff9-86b6645ca2a5</uuid> <bridge name='test_noip_br' stp='on' forwardDelay='0' /> </network> ip -o link show test_noip_br 7: test_noip_br: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue \ link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0205.html