<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 23, 2017 at 11:32 PM, Marcin Mirecki <span dir="ltr">&lt;<a href="mailto:mmirecki@redhat.com" target="_blank">mmirecki@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hello Gianluca,<br><br></div>Can you please check the ovn north db log.<br></div>This is placed in /var/log/openvswitch/ovsdb-<wbr>server-nb.log<br></div><div>Please check if the logs has any new entries when you try to connect and when you issue the &#39;ovn-nbctl set-connection ptcp:6641&#39; command.<br></div><div>If the connection attempt is getting through, pvs db should print an error to the log.<br></div><div><br>Please also try restarting the ovn-northd service.<br><br></div><div>Do the ovn-controllers connect to the south-db?<br></div><div>You can verify this by looking at /var/log/openvswitch/ovn-<wbr>controller.log on the ovn-controller host (please look for entries saying &quot;... &lt;north ip&gt;:6642 connected&quot;)<br><br></div><div>Marcin<br></div><div><div><div><br><br></div></div></div></div></blockquote><div> </div></div></div><div class="gmail_extra">The ovirt nb log contains:</div><div class="gmail_extra"><div class="gmail_extra">2017-04-24T07:46:51.541Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovsdb-server-nb.log</div><div class="gmail_extra">2017-04-24T07:46:51.550Z|00002|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 2.7.0</div><div class="gmail_extra">2017-04-24T07:47:01.560Z|00003|memory|INFO|2268 kB peak resident set size after 10.0 seconds</div><div class="gmail_extra">2017-04-24T07:47:01.560Z|00004|memory|INFO|cells:100 json-caches:1 monitors:1 ses</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">In my ovn-controller.log of my 3 hosts I have this, when I run the 2 commands below on the provider host</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">ovn-sbctl set-connection ptcp:6642</div><div class="gmail_extra">ovn-nbctl set-connection ptcp:6641</div><div><br></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">2017-04-24T07:56:23.178Z|00247|reconnect|INFO|tcp:<a href="http://10.4.192.43:6642">10.4.192.43:6642</a>: connecting...</div><div class="gmail_extra">2017-04-24T07:56:23.178Z|00248|reconnect|INFO|tcp:<a href="http://10.4.192.43:6642">10.4.192.43:6642</a>: connection attempt failed (Connection refused)</div><div class="gmail_extra">2017-04-24T07:56:23.178Z|00249|reconnect|INFO|tcp:<a href="http://10.4.192.43:6642">10.4.192.43:6642</a>: waiting 8 seconds before reconnect</div><div class="gmail_extra">2017-04-24T07:56:31.187Z|00250|reconnect|INFO|tcp:<a href="http://10.4.192.43:6642">10.4.192.43:6642</a>: connecting...</div><div class="gmail_extra">2017-04-24T07:56:31.188Z|00251|reconnect|INFO|tcp:<a href="http://10.4.192.43:6642">10.4.192.43:6642</a>: connected</div><div class="gmail_extra">2017-04-24T07:56:31.193Z|00252|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting to switch</div><div class="gmail_extra">2017-04-24T07:56:31.193Z|00253|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting...</div><div class="gmail_extra">2017-04-24T07:56:31.201Z|00254|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connected</div><div class="gmail_extra">2017-04-24T07:56:31.201Z|00255|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting to switch</div><div class="gmail_extra">2017-04-24T07:56:31.201Z|00256|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting...</div><div class="gmail_extra">2017-04-24T07:56:31.201Z|00257|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connected</div><div class="gmail_extra">2017-04-24T07:56:31.202Z|00258|binding|INFO|Releasing lport 0a2a47bc-ea0d-4f1d-8f49-ec903e519983 from this chassis.</div><div><br></div></div><div class="gmail_extra">On my provider I see then the 3 oVirt hosts connected:</div><div class="gmail_extra"><div class="gmail_extra">[root@ovmgr1 openvswitch]# netstat -tpn|grep 66</div><div class="gmail_extra">tcp        0      0 <a href="http://10.4.192.43:6642">10.4.192.43:6642</a>        <a href="http://10.4.168.76:38882">10.4.168.76:38882</a>       ESTABLISHED 6699/ovsdb-server   </div><div class="gmail_extra">tcp        0      0 <a href="http://10.4.192.43:6642">10.4.192.43:6642</a>        <a href="http://10.4.168.75:45486">10.4.168.75:45486</a>       ESTABLISHED 6699/ovsdb-server   </div><div class="gmail_extra">tcp        0      0 <a href="http://127.0.0.1:5432">127.0.0.1:5432</a>          <a href="http://127.0.0.1:37074">127.0.0.1:37074</a>         ESTABLISHED 16696/postgres: eng </div><div class="gmail_extra">tcp        0      0 <a href="http://10.4.192.43:6642">10.4.192.43:6642</a>        <a href="http://10.4.168.74:59176">10.4.168.74:59176</a>       ESTABLISHED 6699/ovsdb-server   </div><div class="gmail_extra">[root@ovmgr1 openvswitch]# </div><div><br></div><div>But it seems that the &quot;set&quot; command above is not persistent across reboot of the provider host.... that in my case is the oVirt engine server</div><div><br></div></div></div>