Re: [Gluster-infra] https access with gerrit

2016-04-26 Thread Michaël Scherer
Le lundi 25 avril 2016 à 13:19 -0400, Vijay Bellur a écrit :
> On Mon, Apr 25, 2016 at 4:31 AM, Niels de Vos  wrote:
> > On Mon, Apr 25, 2016 at 10:15:22AM +0200, Michael Scherer wrote:
> >> Le dimanche 24 avril 2016 à 16:08 +0200, Niels de Vos a écrit :
> >> > On Sat, Apr 23, 2016 at 08:05:50PM -0400, Vijay Bellur wrote:
> >> > > On Sat, Apr 23, 2016 at 12:48 AM, Kaushal M  
> >> > > 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://@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://nde...@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.
> >>
> >> So here, I do get "not found".
> >>
> >> But unless there is a urgency and someone is currently blocked, I would
> >> rather push that to later for now.
> >
> > I don't think it is urgent. Not sure why Vijay was trying this.
> >
> 
> A few developers in the community have the problem of not being able
> to push changes to gerrit because of ssh being blocked in their
> corporate firewalls. It would be nice to have this fixed sooner than
> later.

So, do we have a idea of when it was working and when it broke, so I can
see if something was changed in the mean time ?
-- 
Michael Scherer
Sysadmin, Community Infrastructure and Platform, OSAS




signature.asc
Description: This is a digitally signed message part
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] https access with gerrit

2016-04-24 Thread Niels de Vos
On Sat, Apr 23, 2016 at 08:05:50PM -0400, Vijay Bellur wrote:
> On Sat, Apr 23, 2016 at 12:48 AM, Kaushal M  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://@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://nde...@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  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@gluster.org
> >> http://www.gluster.org/mailman/listinfo/gluster-infra
> ___
> Gluster-infra mailing list
> Gluster-infra@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-infra


signature.asc
Description: PGP signature
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] https access with gerrit

2016-04-23 Thread Vijay Bellur
On Sat, Apr 23, 2016 at 12:48 AM, Kaushal M  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://@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.

-Vijay

[1] https://groups.google.com/forum/#!topic/repo-discuss/7BXB_t7cHs8


>
>
> On Fri, Apr 22, 2016 at 11:47 PM, Vijay Bellur  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@gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-infra
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra


Re: [Gluster-infra] https access with gerrit

2016-04-22 Thread Kaushal M
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://@review.gluster.org/glusterfs.git`



On Fri, Apr 22, 2016 at 11:47 PM, Vijay Bellur  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@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-infra
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra


[Gluster-infra] https access with gerrit

2016-04-22 Thread Vijay Bellur

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@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra