<div dir="ltr">This is actually how we have Apache configured to respond to Gerrit being<div>unavailable - that error page is served with a 503 when Gerrit is really down.</div><div><br></div><div>Today I hacked it to always show that page, so even when it was "up" people</div><div>wouldn't be hitting it -- we were still debugging and restarting things so I didn't</div><div>want to give false hopes or end up with half-completed transactions.</div><div><br></div><div>This can all be improved I think with some Apache config tweaks.</div><div><br></div><div>-Chad<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 6, 2016 at 4:14 PM Amir Ladsgroup <<a href="mailto:ladsgroup@gmail.com">ladsgroup@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="gmail_msg">It was bothering to me but I'm guessing this is one of so so many flaws of gerrit itself and probably not fixable easily (other people are more qualified to comment) but i want to suggest speeding up the process to move to differential which is much better in handling such down times alongside with other benefits.</p>
<p dir="ltr" class="gmail_msg">Best</p>
<br class="gmail_msg"><div class="gmail_quote gmail_msg"></div><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Fri, Oct 7, 2016, 2:26 AM Gergo Tisza <<a href="mailto:gtisza@wikimedia.org" class="gmail_msg" target="_blank">gtisza@wikimedia.org</a>> wrote:<br class="gmail_msg"></div></div><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks a lot for the quick recovery!<br class="gmail_msg">
<br class="gmail_msg">
Would it be possible to use something other than a redirect next time when<br class="gmail_msg">
traffic needs to be blocked? An apache deny rule or a 404 would work, but a<br class="gmail_msg">
redirect means that reloading the page (or reopening the browser) will<br class="gmail_msg">
cause the URL to be lost with little hope of recovery (browsers don't<br class="gmail_msg">
record redirects in the history). That can be very annoying when one uses<br class="gmail_msg">
tabs as bookmarks (bad habit as it is).<br class="gmail_msg">
<br class="gmail_msg">
On Thu, Oct 6, 2016 at 3:33 PM, Chad Horohoe <<a href="mailto:chorohoe@wikimedia.org" class="gmail_msg" target="_blank">chorohoe@wikimedia.org</a>> wrote:<br class="gmail_msg">
<br class="gmail_msg">
> Hi!<br class="gmail_msg">
><br class="gmail_msg">
> Sorry for the extended downtime! From what we can tell, it appears as<br class="gmail_msg">
> though<br class="gmail_msg">
> the machine that Gerrit is running on (lead) is having some hardware<br class="gmail_msg">
> issues that<br class="gmail_msg">
> are making the CPU misbehave. We've worked around it for now, so things<br class="gmail_msg">
> should<br class="gmail_msg">
> be up (and Zuul is processing CI events just fine).<br class="gmail_msg">
><br class="gmail_msg">
> However, since it appears it's a hardware problem, we're planning to<br class="gmail_msg">
> migrate off<br class="gmail_msg">
> of lead to a new machine (cobalt). The public IP addresses will not be<br class="gmail_msg">
> changing.<br class="gmail_msg">
> The plan right now is to do this migration tomorrow with a scheduled<br class="gmail_msg">
> downtime<br class="gmail_msg">
> at 17:00UTC (10:00 PST).<br class="gmail_msg">
><br class="gmail_msg">
> We'll be keeping a close eye on things in the meantime, so if things<br class="gmail_msg">
> deteriorate<br class="gmail_msg">
> again we can start the migration sooner.<br class="gmail_msg">
><br class="gmail_msg">
> (and yeah, wikitech incident report to follow, I'm a little burnt out<br class="gmail_msg">
> right now though)<br class="gmail_msg">
><br class="gmail_msg">
> Thanks again for bearing with us!<br class="gmail_msg">
><br class="gmail_msg"></blockquote></div><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br class="gmail_msg">
Wikitech-l mailing list<br class="gmail_msg">
<a href="mailto:Wikitech-l@lists.wikimedia.org" class="gmail_msg" target="_blank">Wikitech-l@lists.wikimedia.org</a><br class="gmail_msg">
<a href="https://lists.wikimedia.org/mailman/listinfo/wikitech-l" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.wikimedia.org/mailman/listinfo/wikitech-l</a></blockquote></div>
</blockquote></div></div></div>