The OvS log suggest connection refused.

2015-07-28T11:50:22.459Z|11536|vlog|INFO|opened log file 
/var/log/openvswitch/ovs-vswitchd.log
2015-07-28T11:50:22.890Z|11537|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:50:30.890Z|11538|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:50:38.891Z|11539|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:50:46.891Z|11540|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:50:54.890Z|11541|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:50:55.890Z|11542|fail_open|INFO|Still in fail-open mode after 
73520 seconds disconnected from controller
2015-07-28T11:51:02.890Z|11543|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:51:10.891Z|11544|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:51:18.891Z|11545|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)
2015-07-28T11:51:26.890Z|11546|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection 
dropped (Connection refused)

Would that be an issue with the controller?

I checked the SSL client part. It says connected.

sanket@sanket-ubuntu-ovs:~$ openssl s_client -connect 172.31.1.2:6633
CONNECTED(00000003)
140381499594384:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:s23_clnt.c:795:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 295 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---


From what I can understand. But no certificates available.


Regards,
Sanket

-----Original Message-----
From: Justin Pettit [mailto:jpet...@nicira.com] 
Sent: Tuesday, July 28, 2015 12:17 PM
To: Tandulwadkar, Sanket Ravindra (Sanket Ravindra)
Cc: b...@openvswitch.org
Subject: Re: [ovs-discuss] is_connected parameter absent: 
2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at 
lib/ovsdb-idl.c:1354


> On Jul 28, 2015, at 9:09 AM, Tandulwadkar, Sanket Ravindra (Sanket Ravindra) 
> <standulwa...@avaya.com> wrote:
> 
> Hello Justin,
> 
> Thank you for the tip. I did run that, and I could see that its set to false.
> 
> sanket@sanket-ubuntu-ovs:~$ sudo ovs-vsctl list controller
> _uuid               : 5236a306-4ec2-4ee8-b554-e09d42ecc1fc
> connection_mode     : []
> controller_burst_limit: []
> controller_rate_limit: []
> enable_async_messages: []
> external_ids        : {}
> inactivity_probe    : []
> is_connected        : false
> local_gateway       : []
> local_ip            : []
> local_netmask       : []
> max_backoff         : []
> other_config        : {}
> role                : other
> status              : {last_error="Protocol error", sec_since_disconnect="0", 
> state=BACKOFF}
> target              : "ssl:172.31.1.2:6633"
> 
> But on pinging the same target I am able to receive packets.
> 
> PING 172.31.1.2 (172.31.1.2) 56(84) bytes of data.
> 64 bytes from 172.31.1.2: icmp_seq=1 ttl=64 time=0.456 ms
> 64 bytes from 172.31.1.2: icmp_seq=2 ttl=64 time=0.156 ms
> 64 bytes from 172.31.1.2: icmp_seq=3 ttl=64 time=0.177 ms ^C
> --- 172.31.1.2 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt 
> min/avg/max/mdev = 0.156/0.263/0.456/0.136 ms 
> sanket@sanket-ubuntu-ovs:~$
> 
> sanket@sanket-ubuntu-odl:~$ ping 172.31.1.1 PING 172.31.1.1 
> (172.31.1.1) 56(84) bytes of data.
> 64 bytes from 172.31.1.1: icmp_seq=1 ttl=64 time=0.467 ms
> 64 bytes from 172.31.1.1: icmp_seq=2 ttl=64 time=0.185 ms
> 64 bytes from 172.31.1.1: icmp_seq=3 ttl=64 time=0.212 ms ^C
> --- 172.31.1.1 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt 
> min/avg/max/mdev = 0.185/0.288/0.467/0.127 ms 
> sanket@sanket-ubuntu-odl:~$
> 
> My ODL controller iss on 172.31.1.2 and OvS is running on 172.31.1.1
> 
> Am I missing something here?

It's reporting a "Protocol error" in the "status" column.  Have you looked at 
your OVS logs to see if there are any logs?  You might try connecting to your 
controller with s_client to make sure that SSL is configure properly.

--Justin


_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to