I personally have been using OVS for testing and it should be fine. Here is what you could do:
* Try OVS with another controller (e.g., POX or NOX Zaku) to see if it works fine. * Make sure that you are running the latest NOX (run "git pull" and recompile). In verbose mode, NOX should report the messages it receives, but the output you sent shows no ofp_hello message received. Cheers, Amin On Mon, Jul 2, 2012 at 9:31 PM, YIMIN CHEN <[email protected]> wrote: > Sorry, NOX output from my previous email was for earlier connections > from another OVS 1.4.2. Here is the matching NOX output. Now NOX and > OVS are running on the same machine. > ============= > new NOX > ============= > 00024|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51118 > 00025|connection|DBG:flushed (tx: 0, rx: 0) > 00026|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51119 > 00027|connection|DBG:flushed (tx: 0, rx: 0) > 00028|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51120 > 00029|connection|DBG:flushed (tx: 0, rx: 0) > 00030|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51121 > 00031|connection|DBG:flushed (tx: 0, rx: 0) > 00032|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51122 > 00033|connection|DBG:flushed (tx: 0, rx: 0) > 00034|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51123 > 00035|connection|DBG:flushed (tx: 0, rx: 0) > 00036|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51124 > 00037|connection|DBG:flushed (tx: 0, rx: 0) > 00038|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51125 > 00039|connection|DBG:flushed (tx: 0, rx: 0) > 00040|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51127 > 00041|connection|DBG:flushed (tx: 0, rx: 0) > 00042|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51128 > 00043|connection|DBG:flushed (tx: 0, rx: 0) > 00044|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:51129 > 00045|connection|DBG:flushed (tx: 0, rx: 0) > > > =============== > OVS 1.4.2 > =============== > ymchen@ymchen-lnx:~/openvswitch-1.4.2$ vi INSTALL.Linux > ymchen@ymchen-lnx:~/openvswitch-1.4.2$ sudo ovs-vswitchd --pidfile > [sudo] password for ymchen: > Jul 03 > 09:25:17|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: > connecting... > Jul 03 > 09:25:17|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: > connected > Jul 03 09:25:17|00003|bridge|INFO|created port eth0 on bridge br0 > Jul 03 09:25:17|00004|bridge|INFO|created port br0 on bridge br0 > Jul 03 09:25:17|00005|ofproto|INFO|using datapath ID 0000002320d349df > Jul 03 09:25:17|00006|ofproto|INFO|datapath ID changed to 00000021cc6f7831 > Jul 03 09:25:17|00007|rconn|INFO|br0<->tcp:127.0.0.1: connecting... > Jul 03 09:25:18|00008|rconn|INFO|br0<->tcp:127.0.0.1: connection > failed (Connection reset by peer) > Jul 03 09:25:18|00009|rconn|INFO|br0<->tcp:127.0.0.1: connecting... > Jul 03 09:25:18|00010|rconn|INFO|br0<->tcp:127.0.0.1: connection > failed (Connection reset by peer) > Jul 03 09:25:18|00011|rconn|INFO|br0<->tcp:127.0.0.1: waiting 2 > seconds before reconnect > Jul 03 09:25:20|00012|rconn|INFO|br0<->tcp:127.0.0.1: connecting... > Jul 03 09:25:20|00013|rconn|INFO|br0<->tcp:127.0.0.1: connection > failed (Connection reset by peer) > Jul 03 09:25:20|00014|rconn|INFO|br0<->tcp:127.0.0.1: waiting 4 > seconds before reconnect > Jul 03 09:25:24|00015|rconn|INFO|br0<->tcp:127.0.0.1: connecting... > Jul 03 09:25:24|00016|rconn|INFO|br0<->tcp:127.0.0.1: connection > failed (Connection reset by peer) > Jul 03 09:25:24|00017|rconn|INFO|br0<->tcp:127.0.0.1: continuing to > retry connections in the background but suppressing further logging > > > > Thanks! > Yimin > > On Tue, Jul 3, 2012 at 9:28 AM, YIMIN CHEN <[email protected]> wrote: >> Hi Murphy, >> >> Here is the output from both: >> >> =========== >> new NOX >> =========== >> ymchen@ymchen-lnx:~/noxrepo-nox-61d3f51/build/src$ ./nox_core -v -i ptcp:6633 >> 00001|main|INFO:Starting nox_core >> (/home/ymchen/noxrepo-nox-61d3f51/build/src/.libs/lt-nox_core) >> 00002|event-dispatcher|DBG:Registering event 'New_connection_event'. >> 00003|event-dispatcher|DBG:Registering event 'Shutdown_event'. >> 00004|event-dispatcher|DBG:Registering handler for Shutdown_event, order 9999 >> 00005|event-dispatcher|DBG:creating thread 1 >> 00006|dso-deployer|DBG:Component 'openflow-manager' scanned. >> 00007|dso-deployer|DBG:Component 'switch' scanned. >> 00008|connection_manager|DBG:listening on ptcp:0.0.0.0:6633::: >> 00009|main|DBG:Application installation report: >> 00010|main|DBG:connection-manager: >> Current state: INSTALLED >> Required state: INSTALLED >> Dependencies: >> >> 00011|main|DBG:dso-deployer: >> Current state: INSTALLED >> Required state: INSTALLED >> Dependencies: >> >> 00012|main|DBG:event-dispatcher: >> Current state: INSTALLED >> Required state: INSTALLED >> Dependencies: >> >> 00013|main|INFO:nox bootstrap complete >> 00014|connection_manager|WARN:connected: 172.16.1.4:6633<->172.16.1.2:37886 >> 00015|connection|DBG:flushed (tx: 0, rx: 0) >> 00016|connection_manager|WARN:connected: 172.16.1.4:6633<->172.16.1.2:37887 >> 00017|connection|DBG:flushed (tx: 0, rx: 0) >> 00018|connection_manager|WARN:connected: 172.16.1.4:6633<->172.16.1.2:37888 >> 00019|connection|DBG:flushed (tx: 0, rx: 0) >> >> ================== >> openvswitch 1.4.2 >> ================== >> ymchen@ymchen-lnx:~/openvswitch-1.4.2$ sudo ovs-vswitchd --pidfile >> [sudo] password for ymchen: >> Jul 03 >> 09:25:17|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: >> connecting... >> Jul 03 >> 09:25:17|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: >> connected >> Jul 03 09:25:17|00003|bridge|INFO|created port eth0 on bridge br0 >> Jul 03 09:25:17|00004|bridge|INFO|created port br0 on bridge br0 >> Jul 03 09:25:17|00005|ofproto|INFO|using datapath ID 0000002320d349df >> Jul 03 09:25:17|00006|ofproto|INFO|datapath ID changed to 00000021cc6f7831 >> Jul 03 09:25:17|00007|rconn|INFO|br0<->tcp:127.0.0.1: connecting... >> Jul 03 09:25:18|00008|rconn|INFO|br0<->tcp:127.0.0.1: connection >> failed (Connection reset by peer) >> Jul 03 09:25:18|00009|rconn|INFO|br0<->tcp:127.0.0.1: connecting... >> Jul 03 09:25:18|00010|rconn|INFO|br0<->tcp:127.0.0.1: connection >> failed (Connection reset by peer) >> Jul 03 09:25:18|00011|rconn|INFO|br0<->tcp:127.0.0.1: waiting 2 >> seconds before reconnect >> Jul 03 09:25:20|00012|rconn|INFO|br0<->tcp:127.0.0.1: connecting... >> Jul 03 09:25:20|00013|rconn|INFO|br0<->tcp:127.0.0.1: connection >> failed (Connection reset by peer) >> Jul 03 09:25:20|00014|rconn|INFO|br0<->tcp:127.0.0.1: waiting 4 >> seconds before reconnect >> Jul 03 09:25:24|00015|rconn|INFO|br0<->tcp:127.0.0.1: connecting... >> Jul 03 09:25:24|00016|rconn|INFO|br0<->tcp:127.0.0.1: connection >> failed (Connection reset by peer) >> Jul 03 09:25:24|00017|rconn|INFO|br0<->tcp:127.0.0.1: continuing to >> retry connections in the background but suppressing further logging >> Jul 03 09:25:32|00018|fail_open|WARN|Could not connect to controller >> (or switch failed controller's post-connection admission control >> policy) for 15 seconds, failing open >> >> Am I missing some steps? >> >> Thanks! >> Yimin >> >> On Mon, Jul 2, 2012 at 4:19 PM, Murphy McCauley >> <[email protected]> wrote: >>> Can you post Open vSwitch's log from the same time period? >>> >>> -- Murphy >>> >>> On Jul 1, 2012, at 12:44 AM, YIMIN CHEN wrote: >>> >>>> Hi, >>>> >>>> I installed NOX tarball from NOXrepo verify, and seeing the following >>>> when openvswitch 1.4.2 tries to connect to NOX controller: >>>> >>>> >>>> 00013|main|INFO:nox bootstrap complete >>>> 00014|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:41689 >>>> 00015|connection|DBG:flushed (tx: 0, rx: 0) >>>> 00016|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:41690 >>>> 00017|connection|DBG:flushed (tx: 0, rx: 0) >>>> 00018|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:41691 >>>> 00019|connection|DBG:flushed (tx: 0, rx: 0) >>>> 00020|connection_manager|WARN:connected: 127.0.0.1:6633<->127.0.0.1:41692 >>>> 00021|connection|DBG:flushed (tx: 0, rx: 0) >>>> >>>> >>>> When I use this openvswitch version connect to NOX classic, it >>>> connects fine. Has anyone successfully connect openvswitch to new NOX? >>>> >>>> >>>> Thanks! >>>> Yimin >>>
