[Gluster-infra] https access with gerrit

Niels de Vos ndevos at redhat.com
Sun Apr 24 14:08:36 UTC 2016


On Sat, Apr 23, 2016 at 08:05:50PM -0400, Vijay Bellur wrote:
> On Sat, Apr 23, 2016 at 12:48 AM, Kaushal M <kshlmster at gmail.com> wrote:
> > You need to use the ssh:// URIs to push. The https:// URIs just allow git clone.
> >
> > The ssh:// URIs should be in the format
> > `ssh://<username>@review.gluster.org/glusterfs.git`
> >
> 
> 
> That used to be the case a while back. git supports pushing over http
> for a while now and so does gerrit [1]. We need to determine why it is
> failing so with r.g.o.

I tried it, and pulling over https works just fine. When pushing
(./rfc.sh) over https, I get asked for a password (username in URL).
Pasting the generated password from
http://review.gluster.org/#/settings/http-password did not work, I got
this error:

    remote: Unauthorized
    fatal: Authentication failed for 'https://ndevos@review.gluster.org/glusterfs/'

It would be nice to have this working. Most of us should be able to use
ssh, but in some corperate environments firewalls can be pretty
restrictive.

HTH,
Niels

> 
> -Vijay
> 
> [1] https://groups.google.com/forum/#!topic/repo-discuss/7BXB_t7cHs8
> 
> 
> >
> >
> > On Fri, Apr 22, 2016 at 11:47 PM, Vijay Bellur <vbellur at redhat.com> wrote:
> >> Hey All,
> >>
> >> Whenever I try to push changes (via rfc.sh or git push) from a https clone
> >> of glusterfs repository, it fails as:
> >>
> >> remote: Unauthorized
> >> fatal: Authentication failed for 'https://review.gluster.org/glusterfs.git/'
> >>
> >> Does this work successfully for anybody?
> >>
> >> Thanks,
> >> Vijay
> >> _______________________________________________
> >> Gluster-infra mailing list
> >> Gluster-infra at gluster.org
> >> http://www.gluster.org/mailman/listinfo/gluster-infra
> _______________________________________________
> Gluster-infra mailing list
> Gluster-infra at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-infra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-infra/attachments/20160424/a843fff6/attachment.sig>


More information about the Gluster-infra mailing list