[fedora-virt] Can't use network in guests

Mark McLoughlin markmc at redhat.com
Tue Jul 28 10:29:08 UTC 2009


On Tue, 2009-07-28 at 12:24 +0200, Gianluca Sforna wrote:
> Hi all,
> it seems that after I installed Fedora 11 I can't assign to guests any
> ethernet device; in particular, the virt-manager VM creation wizard do
> not let me choose any network device, and if I try to assign it later
> via the "Add new hardware" button I get a traceback:
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/addhardware.py", line 288,
> in forward
>     if(self.validate(notebook.get_current_page()) != True):
>   File "/usr/share/virt-manager/virtManager/addhardware.py", line 882,
> in validate
>     net = self.get_config_network()
>   File "/usr/share/virt-manager/virtManager/addhardware.py", line 407,
> in get_config_network
>     return ["network", model.get_value(net.get_active_iter(), 0)]
> TypeError: iter must be a GtkTreeIter

That certainly looks like a virt-manager bug, please do file it in
bugzilla.

Can you use 'virsh edit' to add e.g.:

    <interface type='bridge'>
      <mac address='54:52:00:49:73:9a'/>
      <source bridge='br0'/>
    </interface>

See also:

  http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging
  https://fedoraproject.org/wiki/Reporting_virtualization_bugs#Networking

Cheers,
Mark.




More information about the Fedora-virt mailing list