Hi all

I started a ovs-vswitchd like this:

sudo  ovs-vswitchd --pidfile -v tcp:127.0.0.1:6653

and then ovs-testcontroller as follows:

sudo ovs-testcontroller ptcp: --pidfile

but it cannot connect to ovs-vswitchd which gives a parse error for jsonrpc. I 
think it should be related to the OVSDB but I am not sure where the problem is. 
Appreciated for any advice.

Thanks in advance..

- Volkan

=======================================
ovs-testcontroller output:
2015-12-29T08:53:28Z|00001|reconnect|DBG|tcp:127.0.0.1:6653: entering BACKOFF
2015-12-29T08:53:28Z|00002|hmap|DBG|lib/shash.c:112: 6 nodes in bucket (16 
nodes, 8 buckets)
2015-12-29T08:53:28Z|00003|ovs_numa|INFO|Discovered 4 CPU cores on NUMA node 0
2015-12-29T08:53:28Z|00004|ovs_numa|INFO|Discovered 1 NUMA nodes and 4 CPU cores
2015-12-29T08:53:28Z|00005|reconnect|INFO|tcp:127.0.0.1:6653: connecting...
2015-12-29T08:53:28Z|00006|reconnect|DBG|tcp:127.0.0.1:6653: entering CONNECTING
2015-12-29T08:53:28Z|00007|poll_loop|DBG|wakeup due to [POLLOUT] on fd 8 
(127.0.0.1:38658<->127.0.0.1:6653) at lib/stream-fd.c:151
2015-12-29T08:53:28Z|00008|reconnect|INFO|tcp:127.0.0.1:6653: connected
2015-12-29T08:53:28Z|00009|reconnect|DBG|tcp:127.0.0.1:6653: entering ACTIVE
2015-12-29T08:53:28Z|00010|jsonrpc|DBG|tcp:127.0.0.1:6653: send request, 
method="get_schema", params=["Open_vSwitch"], id=0
2015-12-29T08:53:28Z|00011|jsonrpc|DBG|tcp:127.0.0.1:6653: send request, 
method="lock", params=["ovs_vswitchd"], id=1
2015-12-29T08:53:28Z|00012|jsonrpc|WARN|tcp:127.0.0.1:6653: error parsing 
stream: line 0, column 0, byte 0: invalid character U+0004
2015-12-29T08:53:28Z|00013|poll_loop|DBG|wakeup due to 0-ms timeout at 
tcp:127.0.0.1:6653
2015-12-29T08:53:28Z|00014|reconnect|WARN|tcp:127.0.0.1:6653: connection 
dropped (Protocol error)
2015-12-29T08:53:28Z|00015|reconnect|DBG|tcp:127.0.0.1:6653: entering BACKOFF

=======================================
ovs-vswitchd
2015-12-29T08:53:28Z|00001|vconn|DBG|tcp:127.0.0.1:38658: sent (Success): 
OFPT_HELLO (OF1.3) (xid=0x1):
 version bitmap: 0x01, 0x02, 0x03, 0x04
2015-12-29T08:53:28Z|00002|vconn_stream|ERR|connection dropped mid-packet
2015-12-29T08:53:28Z|00003|rconn|WARN|tcp:127.0.0.1:38658: connection dropped 
(Protocol error)
2015-12-29T08:53:28Z|00004|vconn_stream|WARN|tcp:127.0.0.1:38658: received 
JSON-RPC data on OpenFlow channel
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to