[openstack-dev] Error with gerrit, devstack

Raildo Mascena raildom at gmail.com
Fri Dec 9 18:18:07 UTC 2016


Hi Annapoornima,

You probably had some issue related with your key or some lib/package
during the installation.

I suggest follow the Developer's Guide here:
http://docs.openstack.org/infra/manual/developers.html and make sure that
everything is ok.

Cheers,

Raildo

On Fri, Dec 9, 2016 at 2:18 PM Clark Boylan <cboylan at sapwetik.org> wrote:

> On Fri, Dec 9, 2016, at 09:11 AM, Annapoornima Koppad wrote:
> > Dear All,
> >
> > I am facing this problem with Devstack Gerrit process. Can someone help?
> >
> > 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 https://review.openstack.org/#/settings/. I
> > tried to hook up Gerrit with git so that I could start working on patches
> > as well. When I did the following:
> >
> > git review -s
> >
> > I ran into the following problem.
> >
> > Problem running 'git remote update gerrit'
> > Fetching gerrit
> > fatal: unable to access
> > '
> https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git/
> ':
> > 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
> > https://annakoppad@review.openstack.org:29418/tools/hooks/commit-msg"
> > -----------------------
> > ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO',
> > 'unknown protocol')],)",)
> >
> > My git config --list looks like this.
> >
> > user.name=Annapoornima Koppad
> > user.email=annakoppad at gmail.com
> > gitreview.username=annakoppad
> > core.repositoryformatversion=0
> > core.filemode=true
> > core.bare=false
> > core.logallrefupdates=true
> > remote.origin.url=https://git.openstack.org/openstack-dev/devstack
> > remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> > branch.master.remote=origin
> > branch.master.merge=refs/heads/master
> > remote.gerrit.url=
> https://annakoppad@review.openstack.org:29418/openstack-dev/devstack.git
>
> Port 29418 is an ssh port, not an https port. You should run https on
> the default port, 443. Alternately use ssh:// instead of https://.
>
> > remote.gerrit.fetch=+refs/heads/*:refs/remotes/gerrit/*
> > y local.conf looks like this.
> > [[local|localrc]]
> > ADMIN_PASSWORD=****************
> > DATABASE_PASSWORD=****************
> > RABBIT_PASSWORD=****************
> > SERVICE_PASSWORD=****************
> > GIT_BASE=${GIT_BASE:-https://git.openstack.org}
> > I restarted the machine if the changes could start again. That did not
> > work.
> >
> > What is that I am missing?
>
> I think if you get the connection protocol and ports to line up as above
> that should make git review happy.
>
> Clark
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161209/ef328859/attachment.html>


More information about the OpenStack-dev mailing list