F20 beta virt-manager cannot create bridged network interface

Mateusz Marzantowicz mmarzantowicz at osdf.com.pl
Tue Nov 19 09:21:28 UTC 2013


On 19.11.2013 04:52, Richard Michael wrote:
> 
> 
> 
> On Mon, Nov 18, 2013 at 7:18 PM, Mateusz Marzantowicz
> <mmarzantowicz at osdf.com.pl <mailto: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've found that creating new bridge and specifying existing bridge name
(like br0) has the same effect as "adding existing" one. I think that
virt-manager lacks auto-detect mechanism for configured system
connections. As a result, when you create new bridge but give the name
of existing one virt-manager starts to recognize it.

I agree that GUI support for bridging in NM is a bit rough but I'm
compensating this with text editor.



Mateusz Marzantowicz


More information about the test mailing list