<div dir="ltr"><div>Hi Samuli,<div><br></div><div>Let's first make sure the configuration is correct.</div><div>How did you configure the env? Did you use the automatic engine-setup configuration?</div><div><br></div><div>Can you please send me the output of the following:</div></div><div><br></div><div>on engine:</div><div> ovn-sbctl show</div><div> ovn-nbctl show</div><div><br></div><div>on hosts:</div><div> ip addr</div><div> ovs-vsctl show</div><div><br></div><div>The '<span style="font-size:12.8px">vdsm-tool ovn-config</span>' command configures the ovn controller to use the first ip as the ovn central, and the local tunnel to use the second one.</div><div><br></div><div>Regards,</div><div>Marcin</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 6, 2018 at 10:42 AM, Samuli Heinonen <span dir="ltr"><<a href="mailto:samppah@neutraali.net" target="_blank">samppah@neutraali.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I'm building a home lab using oVirt+GlusterFS in hyperconverged(ish) setup.<br>
<br>
My setup consists of 2x nodes with ASRock H110M-STX motherboard, Intel Pentium G4560 3,5 GHz CPU and 16 GB RAM. Motherboard has integrated Intel Gigabit I219V LAN. At the moment I'm using RaspberryPi as Gluster arbiter node. Nodes are connected to basic "desktop switch" without any management available.<br>
<br>
Hardware is nowhere near perfect, but it get its job done and is enough for playing around. However I'm having problems getting OVN to work properly and I'm clueless where to look next.<br>
<br>
oVirt is setup like this:<br>
oVirt engine host oe / 10.0.1.101<br>
oVirt hypervisor host o2 / 10.0.1.18<br>
oVirt hypervisor host o3 / 10.0.1.21<br>
OVN network <a href="http://10.0.200.0/24" rel="noreferrer" target="_blank">10.0.200.0/24</a><br>
<br>
When I spin up a VM in o2 and o3 with IP address in network <a href="http://10.0.1.0/24" rel="noreferrer" target="_blank">10.0.1.0/24</a> everything works fine. VMs can interact between each other without any problems.<br>
<br>
Problems show up when I try to use OVN based network between virtual machines. If virtual machines are on same hypervisor then everything seems to work ok. But if I have virtual machine on hypervisor o2 and another one on hypervisor o3 then TCP connections doesn't work very well. UDP seems to be ok and it's possible to ping hosts, do dns & ntp queries and so on.<br>
<br>
Problem with TCP is that for example when taking SSH connection to another host at some point connection just hangs and most of the time it's not even possible to even log in before connectiong hangs. If I look into tcpdump at that point it looks like packets never reach destination. Also, if I have multiple connections, then all of them hang at the same time.<br>
<br>
I have tried switching off tx checksum and other similar settings, but it didn't make any difference.<br>
<br>
I'm suspecting that hardware is not good enough. Before investigating into new hardware I'd like to get some confirmation that everything is setup correctly.<br>
<br>
When setting up oVirt/OVN I had to run following undocumented command to get it working at all: vdsm-tool ovn-config 10.0.1.101 10.0.1.21 (oVirt engine IP, hypervisor IP). Especially this makes me think that I have missed some crucial part in configuration.<br>
<br>
On oVirt engine in /var/log/openvswitch/ovsdb-ser<wbr>ver-nb.log there are error messages:<br>
2018-05-06T08:30:05.418Z|00913<wbr>|stream_ssl|WARN|SSL_read: unexpected SSL connection close<br>
2018-05-06T08:30:05.418Z|00914<wbr>|jsonrpc|WARN|ssl:<a href="http://127.0.0.1:53152" rel="noreferrer" target="_blank">127.0.0.1:<wbr>53152</a>: receive error: Protocol error<br>
2018-05-06T08:30:05.419Z|00915<wbr>|reconnect|WARN|ssl:<a href="http://127.0.0.1:53152" rel="noreferrer" target="_blank">127.0.0.1:<wbr>53152</a>: connection dropped (Protocol error)<br>
<br>
To be honest, I'm not sure what's causing those error messages or are they related. I found out some bug reports stating that they are not critical.<br>
<br>
Any ideas what to do next or should I just get better hardware? :)<br>
<br>
Best regards,<br>
Samuli Heinonen<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div><br></div>