F20 beta virt-manager cannot create bridged network interface

Adam Williamson awilliam at redhat.com
Tue Nov 19 04:05:12 UTC 2013


On Mon, 2013-11-18 at 22:52 -0500, Richard Michael wrote:
> 
> 
> 
> On Mon, Nov 18, 2013 at 7:18 PM, Mateusz Marzantowicz
> <mmarzantowicz at osdf.com.pl> wrote:
>         On 19.11.2013 01:13, Richard Michael wrote:
>         > Hello,
>         >
>         > I've just installed F20 beta x64 and applied all updates.
>         >
>         > I'm attempting to create a bridge network interface in
>         virt-manager
>         > (0.10.0).  I complete the "Configure network interface"
>         dialog, and
>         > when I click "Finish" I receive an "Input Error" with
>         message:
>         >
>         > 'str' object has no attribute 'XMLDesc'
>         >
>         >
>         > A very similar error (when creating a bonded interface) is
>         mentioned
>         > in comments #1 and #2 in a bug related to
>         "system-config-services"
>         > here ...
>         >
>         > https://bugzilla.redhat.com/show_bug.cgi?id=1028833#c2
>         >
>         >  ... with the suggestion to file a bug against
>         virt-manager.  I can't
>         > find a virt-manager bug related to this however.
>         >
>         >
>         > 1/ I'll open one unless anyone has other suggestions or
>         comments?
>         >
>         >
>         > 2/ I'm new to virt-manager and wondering about a
>         work-around; should I
>         > investigate using virsh to create the interface hoping
>         virt-manager
>         > will detect it?
>         >
>         
>         
>         My work-around: Create bridge in NetworkManager (or directly
>         edit config
>         files) and then add it to virt-manager. I always wondered what
>         is this
>         whole bridge management in virt-manager for.
>         
> 
> 
> Thank you for the suggestion.  I looked at this, and interface
> creation using NetworkManager is quite different than in
> virt-manager.  Also, I'm unsure what you mean by "add it to
> virt-manager".  In virt-manager, I am only able to create a new
> interface, I can't find anything to allow adding an existing bridge.
> 
> 
> I'll open a bug, as this problem renders virt-manager nearly
> unusable.  (It's impossible to create network interfaces.)

I'm not entirely clear what you're trying to do here, but I'm still
using
http://www.linux-kvm.com/content/using-bridged-networking-virt-manager
as my basic set of instructions for setting up a bridged config for KVM.
If you just want your VMs to have internet access you don't need to do
anything special at all - you only need to fiddle with networking
configuration if you want them bridged rather than NAT'ed (so they
appear on your local network as if they were 'real' machines connected
to the router).
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net



More information about the test mailing list