Red Hat Bugzilla – Bug 506319
virtinst errors finding default bridge: upsets virt-manager
Last modified: 2009-10-07 08:29:22 EDT
Description of problem:
If "Advanced options" in the virt-manager creation wizard is expanded, it will not be possible to complete the creation of the virtual machine without manually specifying a temporary MAC-address. Closing the advanced options or unticking the option "Set a fixed mac address" doesn't help.
Version-Release number of selected component (if applicable):
Every time in my case.
Steps to Reproduce:
1. Start virt-manager, enter root-password.
2. Select localhost and click the button "New".
3. Enter "Test" as name and leave the "Local install media" selection.
4. Select an ISO-image and leave OS Type and Version to Generic.
5. Leave default selection of 512MB RAM and one CPU.
6. Leave default selection of a 8GB disk image and allocation of entire disk.
Now choose ONE of the following:
7a. Click "Finish" and virtual machine will be created without any issues.
7b. Expand "Advanced options" and the following default options are shown in my case:
"Host device vnet0 (Bridge br1dmz)"
"Set a fixed mac address": Option ticked, but the text field which should contain the mac address is empty (!!!).
"Virt Type": kvm
Clicking on "Advanced options" once again WITHOUT CHANGING ANYTHING will apparently keep these options, even though they are not the same default options as in step 7a above. Clicking on "Finish" now, will result in the error "Error with network parameters. MAC address must be of the format AA:BB:CC:DD:EE:FF".
7c. Expand "Advanced options" and untick "Set a fixed mac address". The text field will now be greyed out and you'll be unable to enter a MAC address.
Clicking on finish now will STILL give you the error "Error with network parameters. MAC address must be of the format AA:BB:CC:DD:EE:FF".
After expanding the "Advanced options" in the wizard, you'll not be able to complete the wizard without entering a MAC address manually no matter what you do.
If "Advanced options" is expanded and closed, the options within "Advanced options" should not be made active. Also unticking the "Set a fixed mac address" option should not require you to set the mac address.
If you need more information for debugging the issue, just ask.
[root@vhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Networking Interface
[root@vhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-br1dmz
Please provide ~/.virt-manager/virt-manager.log. Thanks!
Created attachment 348135 [details]
virt-manager.log as requested
It seems like the log contains the error causing the bug :)
Okay, this is actually a python-virtinst bug, fixed now:
Moving to POST.
python-virtinst-0.400.3-9.fc11 has been submitted as an update for Fedora 11.
python-virtinst-0.400.3-9.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update python-virtinst'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9548
Fixed in rawhide, moving to F11VirtTarget
This should be fixed by python-virtinst-0.400.3-10.fc11 now in stable. Closing.