---------- Forwarded message ----------
From: manel med <[email protected]>
Date: 2011/6/4
Subject: Re: [ovs-discuss] nova/openvswitch
To: Justin Pettit <[email protected]>


hi,
ovs-vsctl list bridge shows br0 and br1
root@cactus:~# ovs-dpctl show
system@br1:
        lookups: frags:0, hit:192, missed:120, lost:0
        port 0: br1 (internal)
root@cactus:~# brctl
show                                                       bridge name
bridge id               STP enabled     interfaces
br0             8000.003018a24f43       no              vlan100
br1             0000.00232085baf0       no
virbr0          8000.000000000000       yes

root@cactus:~# ps ax|grep ovs-vswitchd
 1754 ?        Ss     0:35 ovs-vswitchd
unix:/usr/local/var/run/openvswitch/db.sock --pidfile --detach
 2978 pts/0    D+     0:00 grep --color=auto ovs-vswitchd

br0 works well when it's not integrated with nova. i just replace br100 in
networks table of sqlite db of nova by br0 and restart machine. then when i
run:
root@cactus:~#  sudo ovs-vswitchd
unix:/usr/local/var/run/openvswitch/db.sock             --pidfile --detach
--log-file=log

Jun 04 10:14:38|00001|vlog|INFO|opened log file log
Jun 04
10:14:38|00002|daemon|WARN|/usr/local/var/run/openvswitch/ovs-vswitchd.pid:
pid file is not locked
Jun 04
10:14:38|00003|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
connecting...
Jun 04
10:14:38|00004|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
connected
Jun 04 10:14:38|00005|ofproto|INFO|using datapath ID 0000002320fa61b4
Jun 04 10:14:38|00006|bridge|INFO|created bridge br1 on system@br1
Jun 04 10:14:38|00007|dpif|WARN|datapath br0 already exists but cannot be
opened: No such device
Jun 04 10:14:38|00008|bridge|INFO|created port br1 on bridge br1
Jun 04 10:14:38|00009|bridge|WARN|bridge br1: using default bridge Ethernet
address 00:23:20:85:ba:f0
Jun 04 10:14:38|00010|xenserver|INFO|not running on a XenServer
Jun 04 10:14:38|00011|ofproto|INFO|datapath ID changed to 000000232085baf0
Jun 04 10:14:38|00012|sflow|INFO|creating sFlow agent 0

Manel



2011/6/4 Justin Pettit <[email protected]>

> I'm afraid I haven't worked with NOVA, so I'm not familiar with the NOVA's
> "br100" bridge or this SQLite database.  What version of OVS are you using?
>  When it's not working, what does "ovs-dpctl show" and "ovs-vsctl list
> bridge" print out?  Does it work properly if you don't run NOVA and instead
> configure OVS by hand?
>
> --Justin
>
>
> On Jun 4, 2011, at 3:16 AM, manel med wrote:
>
> > i want to say that i'am working on using openvswitch with nova. and i
> have only one week to give up my project. any way i installed openvswitch
> and configured it. i change the br100 of nova by the br0 (openvswitch) in
> sqlite db.I can run instances and access to them using br0.
> > But the problem as shown in log file is that br0 is already exists cannot
> be opend ,However br1 which is not used with nova is created.
> >
> > Jun 04 10:14:38|00001|vlog|INFO|opened log file log
> > Jun 04
> 10:14:38|00002|daemon|WARN|/usr/local/var/run/openvswitch/ovs-vswitchd.pid:
> pid file is not locked
> > Jun 04
> 10:14:38|00003|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
> connecting...
> > Jun 04
> 10:14:38|00004|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
> connected
> > Jun 04 10:14:38|00005|ofproto|INFO|using datapath ID 0000002320fa61b4
> > Jun 04 10:14:38|00006|bridge|INFO|created bridge br1 on system@br1
> > Jun 04 10:14:38|00007|dpif|WARN|datapath br0 already exists but cannot be
> opened: No such device
> > Jun 04 10:14:38|00008|bridge|INFO|created port br1 on bridge br1
> > Jun 04 10:14:38|00009|bridge|WARN|bridge br1: using default bridge
> Ethernet address 00:23:20:85:ba:f0
> > Jun 04 10:14:38|00010|xenserver|INFO|not running on a XenServer
> > Jun 04 10:14:38|00011|ofproto|INFO|datapath ID changed to
> 000000232085baf0
> > Jun 04 10:14:38|00012|sflow|INFO|creating sFlow agent 0
> > Jun 04 10:14:38|00013|dpif|WARN|datapath br0 already exists but cannot be
> opened: No such device
> > Jun 04 10:14:38|00014|bridge|WARN|bridge br1: using default bridge
> Ethernet address 00:23:20:85:ba:f0
> >
> > sflow agent is created for br1 but not for br0.
> > _______________________________________________
> > discuss mailing list
> > [email protected]
> > http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to