<div dir="ltr">Hi Annapoornima,<br><div><br></div><div>You probably had some issue related with your key or some lib/package during the installation.</div><div><br></div><div>I suggest follow the Developer's Guide here: <a href="http://docs.openstack.org/infra/manual/developers.html">http://docs.openstack.org/infra/manual/developers.html</a> and make sure that everything is ok.</div><div><br></div><div>Cheers,</div><div><br></div><div>Raildo</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 9, 2016 at 2:18 PM Clark Boylan <<a href="mailto:cboylan@sapwetik.org">cboylan@sapwetik.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Dec 9, 2016, at 09:11 AM, Annapoornima Koppad wrote:<br class="gmail_msg">
> Dear All,<br class="gmail_msg">
><br class="gmail_msg">
> I am facing this problem with Devstack Gerrit process. Can someone help?<br class="gmail_msg">
><br class="gmail_msg">
> Here is my problem. I had an old machine on which I installed git, git<br class="gmail_msg">
> cloned Devstack and contributed some patches to Openstack. My old machine<br class="gmail_msg">
> was as useless as it could get. So, I bought a new Dell Inspiron machine<br class="gmail_msg">
> and installed Ubuntu 16.04. I git cloned Devstack again, and installed<br class="gmail_msg">
> git.<br class="gmail_msg">
> I uploaded the SSH keys to <a href="https://review.openstack.org/#/settings/" rel="noreferrer" class="gmail_msg" target="_blank">https://review.openstack.org/#/settings/</a>. I<br class="gmail_msg">
> tried to hook up Gerrit with git so that I could start working on patches<br class="gmail_msg">
> as well. When I did the following:<br class="gmail_msg">
><br class="gmail_msg">
> git review -s<br class="gmail_msg">
><br class="gmail_msg">
> I ran into the following problem.<br class="gmail_msg">
><br class="gmail_msg">
> Problem running 'git remote update gerrit'<br class="gmail_msg">
> Fetching gerrit<br class="gmail_msg">
> fatal: unable to access<br class="gmail_msg">
> '<a href="https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git/" rel="noreferrer" class="gmail_msg" target="_blank">https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git/</a>':<br class="gmail_msg">
> gnutls_handshake() failed: An unexpected TLS packet was received.<br class="gmail_msg">
> error: Could not fetch gerrit<br class="gmail_msg">
> Problems encountered installing commit-msg hook<br class="gmail_msg">
> The following command failed with exit code 255<br class="gmail_msg">
> "GET<br class="gmail_msg">
> <a href="https://annakoppad@review.openstack.org:29418/tools/hooks/commit-msg" rel="noreferrer" class="gmail_msg" target="_blank">https://annakoppad@review.openstack.org:29418/tools/hooks/commit-msg</a>"<br class="gmail_msg">
> -----------------------<br class="gmail_msg">
> ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO',<br class="gmail_msg">
> 'unknown protocol')],)",)<br class="gmail_msg">
><br class="gmail_msg">
> My git config --list looks like this.<br class="gmail_msg">
><br class="gmail_msg">
> <a href="http://user.name" rel="noreferrer" class="gmail_msg" target="_blank">user.name</a>=Annapoornima Koppad<br class="gmail_msg">
> user.email=<a href="mailto:annakoppad@gmail.com" class="gmail_msg" target="_blank">annakoppad@gmail.com</a><br class="gmail_msg">
> gitreview.username=annakoppad<br class="gmail_msg">
> core.repositoryformatversion=0<br class="gmail_msg">
> core.filemode=true<br class="gmail_msg">
> core.bare=false<br class="gmail_msg">
> core.logallrefupdates=true<br class="gmail_msg">
> remote.origin.url=<a href="https://git.openstack.org/openstack-dev/devstack" rel="noreferrer" class="gmail_msg" target="_blank">https://git.openstack.org/openstack-dev/devstack</a><br class="gmail_msg">
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*<br class="gmail_msg">
> branch.master.remote=origin<br class="gmail_msg">
> branch.master.merge=refs/heads/master<br class="gmail_msg">
> remote.gerrit.url=<a href="https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git" rel="noreferrer" class="gmail_msg" target="_blank">https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git</a><br class="gmail_msg">
<br class="gmail_msg">
Port 29418 is an ssh port, not an https port. You should run https on<br class="gmail_msg">
the default port, 443. Alternately use ssh:// instead of https://.<br class="gmail_msg">
<br class="gmail_msg">
> remote.gerrit.fetch=+refs/heads/*:refs/remotes/gerrit/*<br class="gmail_msg">
> y local.conf looks like this.<br class="gmail_msg">
> [[local|localrc]]<br class="gmail_msg">
> ADMIN_PASSWORD=****************<br class="gmail_msg">
> DATABASE_PASSWORD=****************<br class="gmail_msg">
> RABBIT_PASSWORD=****************<br class="gmail_msg">
> SERVICE_PASSWORD=****************<br class="gmail_msg">
> GIT_BASE=${GIT_BASE:-<a href="https://git.openstack.org" rel="noreferrer" class="gmail_msg" target="_blank">https://git.openstack.org</a>}<br class="gmail_msg">
> I restarted the machine if the changes could start again. That did not<br class="gmail_msg">
> work.<br class="gmail_msg">
><br class="gmail_msg">
> What is that I am missing?<br class="gmail_msg">
<br class="gmail_msg">
I think if you get the connection protocol and ports to line up as above<br class="gmail_msg">
that should make git review happy.<br class="gmail_msg">
<br class="gmail_msg">
Clark<br class="gmail_msg">
<br class="gmail_msg">
__________________________________________________________________________<br class="gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" class="gmail_msg" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="gmail_msg">
</blockquote></div>