Re: [ovs-discuss] Error communicating with sb database

2017-11-13 Thread Sverker Abrahamsson

Indeed, that was the issue:

[root@h2 ~]# ovn-sbctl get-connection
read-write pssl:6642
[root@h2 ~]# ovn-sbctl set-connection ptcp:6642
[root@h2 ~]# ovn-sbctl get-connection
read-write ptcp:6642

After changing that the connection was established.

Thank you
/Sverker

Den 2017-11-13 kl. 17:43, skrev Ben Pfaff:

On Mon, Nov 13, 2017 at 12:38:27PM +0100, Sverker Abrahamsson wrote:

Since an update of ovn/openvswitch the slave switches can't connect to the
master database. In the ovsdb-server-sb.log I get messages like the below:

2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2017-11-13T09:59:35.080Z|00211|stream_ssl|WARN|Dropped 2 log messages in last 8 
seconds (most recently, 2 seconds ago) due to excessive rate
2017-11-13T09:59:35.080Z|00212|stream_ssl|WARN|ssl:148.251.126.50:46994: 
received JSON-RPC data on SSL channel
2017-11-13T09:59:35.080Z|00213|jsonrpc|WARN|Dropped 2 log messages in last 8 
seconds (most recently, 2 seconds ago) due to excessive rate
2017-11-13T09:59:35.080Z|00214|jsonrpc|WARN|ssl:148.251.126.50:46994: receive 
error: Protocol error
2017-11-13T09:59:35.080Z|00215|reconnect|WARN|ssl:148.251.126.50:46994: 
connection dropped (Protocol error)
2017-11-13T09:59:40.974Z|00216|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2017-11-13T09:59:40.974Z|00217|reconnect|WARN|ssl:144.76.84.73:45864: 
connection dropped (Protocol error)
2017-11-13T09:59:43.088Z|00218|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2017-11-13T09:59:43.106Z|00219|reconnect|WARN|ssl:148.251.126.50:47006: 
connection dropped (Protocol error)

I do not have SSL enabled, did it become mandatory?

The message "ssl:148.251.126.50:46994: received JSON-RPC data on SSL
channel" indicates that ovsdb-server is listening for SSL connections on
the specified IP and port, but it's receiving plain old TCP connections.
SSL isn't mandatory but perhaps the defaults changed?  You should adjust
the ovsdb-server so it is listening for tcp connections.


___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Error communicating with sb database

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 12:38:27PM +0100, Sverker Abrahamsson wrote:
> Since an update of ovn/openvswitch the slave switches can't connect to the
> master database. In the ovsdb-server-sb.log I get messages like the below:
> 
> 2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
> routines:SSL23_GET_CLIENT_HELLO:unknown protocol
> 2017-11-13T09:59:35.080Z|00211|stream_ssl|WARN|Dropped 2 log messages in last 
> 8 seconds (most recently, 2 seconds ago) due to excessive rate
> 2017-11-13T09:59:35.080Z|00212|stream_ssl|WARN|ssl:148.251.126.50:46994: 
> received JSON-RPC data on SSL channel
> 2017-11-13T09:59:35.080Z|00213|jsonrpc|WARN|Dropped 2 log messages in last 8 
> seconds (most recently, 2 seconds ago) due to excessive rate
> 2017-11-13T09:59:35.080Z|00214|jsonrpc|WARN|ssl:148.251.126.50:46994: receive 
> error: Protocol error
> 2017-11-13T09:59:35.080Z|00215|reconnect|WARN|ssl:148.251.126.50:46994: 
> connection dropped (Protocol error)
> 2017-11-13T09:59:40.974Z|00216|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
> routines:SSL23_GET_CLIENT_HELLO:unknown protocol
> 2017-11-13T09:59:40.974Z|00217|reconnect|WARN|ssl:144.76.84.73:45864: 
> connection dropped (Protocol error)
> 2017-11-13T09:59:43.088Z|00218|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
> routines:SSL23_GET_CLIENT_HELLO:unknown protocol
> 2017-11-13T09:59:43.106Z|00219|reconnect|WARN|ssl:148.251.126.50:47006: 
> connection dropped (Protocol error)
> 
> I do not have SSL enabled, did it become mandatory?

The message "ssl:148.251.126.50:46994: received JSON-RPC data on SSL
channel" indicates that ovsdb-server is listening for SSL connections on
the specified IP and port, but it's receiving plain old TCP connections.
SSL isn't mandatory but perhaps the defaults changed?  You should adjust
the ovsdb-server so it is listening for tcp connections.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Error communicating with sb database

2017-11-13 Thread Sverker Abrahamsson
Since an update of ovn/openvswitch the slave switches can't connect to 
the master database. In the ovsdb-server-sb.log I get messages like the 
below:


2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2017-11-13T09:59:35.080Z|00211|stream_ssl|WARN|Dropped 2 log messages in last 8 
seconds (most recently, 2 seconds ago) due to excessive rate
2017-11-13T09:59:35.080Z|00212|stream_ssl|WARN|ssl:148.251.126.50:46994: 
received JSON-RPC data on SSL channel
2017-11-13T09:59:35.080Z|00213|jsonrpc|WARN|Dropped 2 log messages in last 8 
seconds (most recently, 2 seconds ago) due to excessive rate
2017-11-13T09:59:35.080Z|00214|jsonrpc|WARN|ssl:148.251.126.50:46994: receive 
error: Protocol error
2017-11-13T09:59:35.080Z|00215|reconnect|WARN|ssl:148.251.126.50:46994: 
connection dropped (Protocol error)
2017-11-13T09:59:40.974Z|00216|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2017-11-13T09:59:40.974Z|00217|reconnect|WARN|ssl:144.76.84.73:45864: 
connection dropped (Protocol error)
2017-11-13T09:59:43.088Z|00218|stream_ssl|WARN|SSL_accept: error:140760FC:SSL 
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2017-11-13T09:59:43.106Z|00219|reconnect|WARN|ssl:148.251.126.50:47006: 
connection dropped (Protocol error)

I do not have SSL enabled, did it become mandatory?

Best regards
Sverker

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss