<div dir="ltr"><div>Dear All,<br><br></div>I am facing this problem with Devstack Gerrit process. Can someone help?<br><br><p>Here is my problem. I had an old machine on which I installed git, 
git cloned Devstack and contributed some patches to Openstack. My old 
machine was as useless as it could get. So, I bought a new Dell Inspiron
 machine and installed Ubuntu 16.04. I git cloned Devstack again, and 
installed git. I uploaded the SSH keys to <a href="https://review.openstack.org/#/settings/" rel="nofollow noreferrer">https://review.openstack.org/#/settings/</a>. I tried to hook up Gerrit with git so that I could start working on patches as well. When I did the following:</p>

<pre><code>git review -s
</code></pre>

<p>I ran into the following problem.</p>

<pre><code>Problem running 'git remote update gerrit'
Fetching gerrit
fatal: unable to access '<a href="https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git/">https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git/</a>': gnutls_handshake() failed: An unexpected TLS packet was received.
error: Could not fetch gerrit
Problems encountered installing commit-msg hook
The following command failed with exit code 255
"GET <a href="https://annakoppad@review.openstack.org:29418/tools/hooks/commit-msg">https://annakoppad@review.openstack.org:29418/tools/hooks/commit-msg</a>"
-----------------------
("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'unknown protocol')],)",)
</code></pre>

<p>My <code>git config --list</code> looks like this.</p>

<pre><code><a href="http://user.name">user.name</a>=Annapoornima Koppad
user.email=<a href="mailto:annakoppad@gmail.com">annakoppad@gmail.com</a>
gitreview.username=annakoppad
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=<a href="https://git.openstack.org/openstack-dev/devstack">https://git.openstack.org/openstack-dev/devstack</a>
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
remote.gerrit.url=<a href="https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git">https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git</a>
remote.gerrit.fetch=+refs/heads/*:refs/remotes/gerrit/*
<br></code>y local.conf looks like this.

<code>[[local|localrc]]
ADMIN_PASSWORD=****************
DATABASE_PASSWORD=****************
RABBIT_PASSWORD=****************
SERVICE_PASSWORD=****************
GIT_BASE=${GIT_BASE:-<a href="https://git.openstack.org">https://git.openstack.org</a>}
</code>
I restarted the machine if the changes could start again. That did not work. </pre>

<p>What is that I am missing? </p>

<p>Thanks in advance.</p><pre>Annapoornima<br></pre></div>