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
>