My devstack installation was failing with an error reported by the GnuTLS module as shown below:
$ git clone https://github.com/openstack/horizon.git /opt/stack/horizon --branch master
Cloning into '/opt/stack/horizon'...
remote: Counting objects: 154213, done.
remote: Compressing objects: 100% (11/11), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
The following Git config changes fixed the issue for me. Am hoping it will be useful for someone out there:
$ git config http.sslVerify false
$ git config --global http.postBuffer 1048576000
Comments
git config --global http.sslVerify false