Re: [opendev] git clone fails: "The TLS connection was non-properly terminated"
On Mon, Jul 22, 2019, at 5:09 PM, Bernd Bausch wrote:
> There seems to be something wrong with the opendev server. Is this a
> glitch, a daily occurrence (backup?), or a deeper problem?
> This happens around midnight between July 22 and 23 UTC.
> $ git clone https://opendev.org/openstack/devstack.git -b stable/stein
> Cloning into 'devstack'...
> fatal: unable to access 'https://opendev.org/openstack/devstack.git/':
> gnutls_handshake() failed: The TLS connection was non-properly
> Same result when I try to clone any other random repo. I can get
> Devstack from Github, but when setting up the cloud, stack.sh wants to
> clone everything from git.openstack.org, which fails again. I could
> replace all the hardcoded *git.openstack.org* strings with the
> equivalent *github.com* URL, but I am not sure if I can trust that all
> Github repos are up to date.
I think this may have happened because because one of the backend servers was removed from the load balancer rotation. And while we thought we had removed that server from the haproxy config  that didn't happen because our ansible doesn't know how to gracefully restart haproxy in a container. At this point haproxy should be aware that the server is gone and it will prevent any new connections from going to it.
All that to say I believe this should be a one off. We'll have to be more careful to ensure backends are rotated off gracefully when replacing them.
If you see this persist that information would be very useful. Thank you.