[ovs-discuss] : Problem compatibility between linux bridge, ovs bridge, libvirt, virt-manager

Maxime JÉGO maxime.jego at netensia.fr
Thu Apr 12 08:35:38 UTC 2012


When i restart my VM i have found the solution to restart it : 

I use this command : virsh edit vm1

and i modify my configuration to have this : 

<interface type='bridge'>
      <mac address='52:54:00:cd:e7:53'/>
      <source bridge='br0'/>
      <target dev='vm1'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>

and after that my vm start.

But now, my problem is to create a new VM. How i can do? Because i have always the same error
and with virt-install i don't have options to specify my target device...





Le Mercredi 11 Avril 2012 19:16 CEST, Ansis Atteka <aatteka at nicira.com> a écrit: 
 
> On Wed, Apr 11, 2012 at 7:21 AM, Maxime JÉGO <maxime.jego at netensia.fr>wrote:
> 
> > Hello everybody,
> > I have already seen this problem on the list but not resolved.
> >
> > My configuration :
> >
> > - My ovs version : 1.4.0
> > - My host OS : Centos 6
> >
> > I have loaded the 2 modules :
> >
> >  [root@********* ~]# lsmod
> > Module                  Size  Used by
> > brcompat_mod            5681  0
> > openvswitch_mod        82901  2 brcompat_mod
> >
> > and the daemons :
> >
> > root      1805  0.0  0.0  11384  1024 ?        Ss   Apr10   0:06
> > ovsdb-server /usr/local/etc/openvswitch/conf.db
> > --remote=punix:/usr/local/var/run/openvswitch/db.sock
> > --remote=db:Open_vSwitch,manager_options
> > root      1824  0.0  0.0  11932  1440 ?        Ss   Apr10   0:24
> > ovs-vswitchd --pidfile --detach
> > root      1850  0.0  0.0  11664   860 ?        Ss   Apr10   0:00
> > ovs-brcompatd --pidfile --detach
> >
> >
> > When i add a bridge with this command :( ovs-vsctl add-br br0) i can see
> > this following result when i use this command (brctl show)
> >
> > -> [root@******** ~]# brctl show
> > bridge name     bridge id               STP enabled     interfaces
> > br0             /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > /sys/class/net/br0/bridge: No such file or directory
> > 0000.0040f4b52a46       no
> 
> 
> >
> > I don't know if it is linked with the following problem, but i have
> > problems to start a Virtual Machine who have the same configuration ( i use
> > virt-manager ). I can use the VM4, who is started, but if i shutdown it i
> > will not restart it.
> >
> When you are unable to (re)start the VM, could you please provide
> us the "ovs-vsctl show" output?
> 
> > (br0 is up)
> >
> > I give you screenshot in attachment.
> >
> 
> > Thank's a lot for your help ;)
> >
> > Maxime
> >
> >
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> >
> >
 
 
 
 




More information about the discuss mailing list