Re: [Gluster-infra] [Gluster-devel] Adding Apache mod_proxy_gluster to github.com/gluster ?

2016-03-12 Thread Niels de Vos
On Sat, Mar 12, 2016 at 06:24:41AM +0100, Niels de Vos wrote:
> Hi David!
> 
> On Freenode IRC in #gluster someone posted a link to your
> mod_proxy_gluster repository on GitHub. I was not aware that someone
> took the effort to improve my stalled weekend project. Many thanks for
> doing that!
> 
> If you do not object, we can make mod_proxy_gluster a project under the
> Gluster organisation. It makes it a little easier for people to find it
> there, and we may get some additional contributions.
> 
> What distribution are you using? I would like to add packages with the
> module and default configuration file to Fedora and the CentOS Storage
> SIG. Would you be interested in that too?
> 
> Cheers,
> Niels

After a few email exchanges with David off-list, we moved his updated
repository under the Gluster organisation in GitHub:
  https://github.com/gluster/mod_proxy_gluster

It would be great if we can get this added to some of the distributions.
I'll probably get it packages for the CentOS Storage SIG at one point
too, unless someone beats me to it.

Niels


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

Re: [Gluster-infra] Gerrit down, disk full and more complication

2016-03-12 Thread Michael Scherer
Le samedi 12 mars 2016 à 12:08 +0100, Michael Scherer a écrit :
> Le samedi 12 mars 2016 à 10:11 +0100, Michael Scherer a écrit :
> > Hi,
> > 
> > so ndevos pinged me on irc this morning (around 7) since gerrit was
> > down. I poked around it once I woke up, and found that the disk was
> > full. However, after adding a new disk to the volume group, the web
> > interface also refuse to start.
> > 
> > I am currently looking for that, but not ETA until I find what is wrong.
> 
> TLDR: So gerrit is back. 
> 
> Root cause was a wrong interaction between gerrit config and apache. 
> 
> For a reason I do not quite understand (since we restart gerrit quite
> often), this:
> canonicalWebUrl = https://review.gluster.org/
> stopped working after the reboot.
> 
> instead, you have to have this:
> canonicalWebUrl = http://review.gluster.org/
> 
> for a reason that I do not understand, this resulted in a redirection
> loop with // url at the end.
> 
> I tried various variations (such as removing the /, adding /foo,
> or /foo/), but the only working way was to tell to gerrit to advertise
> the http url. 
> 
> But, apache redirect to https fine, and do not complain at all, so maybe
> that's a issue on the proxyPass side. 

So this is interesting, cause this work:
   canonicalWebUrl = https://review.gluster.org/
if you have proxy-https in the ListenUrl setting. 

And it seems it made gerrit a bit faster (potentially due to lack of
redirection), even if maybe that's just the restart.
 
-- 
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] Gerrit down, disk full and more complication

2016-03-12 Thread Michael Scherer
Le samedi 12 mars 2016 à 10:11 +0100, Michael Scherer a écrit :
> Hi,
> 
> so ndevos pinged me on irc this morning (around 7) since gerrit was
> down. I poked around it once I woke up, and found that the disk was
> full. However, after adding a new disk to the volume group, the web
> interface also refuse to start.
> 
> I am currently looking for that, but not ETA until I find what is wrong.

TLDR: So gerrit is back. 

Root cause was a wrong interaction between gerrit config and apache. 

For a reason I do not quite understand (since we restart gerrit quite
often), this:
canonicalWebUrl = https://review.gluster.org/
stopped working after the reboot.

instead, you have to have this:
canonicalWebUrl = http://review.gluster.org/

for a reason that I do not understand, this resulted in a redirection
loop with // url at the end.

I tried various variations (such as removing the /, adding /foo,
or /foo/), but the only working way was to tell to gerrit to advertise
the http url. 

But, apache redirect to https fine, and do not complain at all, so maybe
that's a issue on the proxyPass side. 

-- 
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

[Gluster-infra] Gerrit down, disk full and more complication

2016-03-12 Thread Michael Scherer
Hi,

so ndevos pinged me on irc this morning (around 7) since gerrit was
down. I poked around it once I woke up, and found that the disk was
full. However, after adding a new disk to the volume group, the web
interface also refuse to start.

I am currently looking for that, but not ETA until I find what is wrong.

-- 
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