Well, I was not able to install Gerrit 2.10.2 on saros-build, so I had no chance to try the plugin.
Tomcat was not able to properly start the new gerrit.war (see below). I was able to run Gerrit as a stand-alone service (verified by "lynx http://localhost:8009"), but not inside Tomcat. So I went back to Gerrit 2.8.6.1 and replayed the database dump. In case anyone else wants to try: As soon as Gerrit 2.10.2 is running, you can continue with this [2] guide. But instead of compiling the plugin yourself, try this one first "/home/administrator/gerrit-oauth-provider.jar" (that's the one I built myself). *Sigh*, enough for today. Franz [2] http://www.sgvulcan.com/2015/04/09/migrating-gerrit-to-google-oauth-from-google-openid/ ---- from catalina.out (with Gerrit 2.10.2) ---- INFO: Deploying web application archive gerrit.war [2015-04-15 22:18:25,506] INFO com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /var/lib/gerrit2/cache [2015-04-15 22:18:30,591] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes192-cbc: Illegal key size; try installing unlimit ed cryptography extension [2015-04-15 22:18:30,592] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes256-cbc: Illegal key size; try installing unlimit ed cryptography extension [2015-04-15 22:18:30,651] WARN com.google.gerrit.httpd.GitWebConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) [2015-04-15 22:18:31,591] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 252m Apr 15, 2015 10:18:31 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Apr 15, 2015 10:18:31 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/gerrit] startup failed due to previous errors -------------------------- --- from catalina.out (with Gerrit 2.8.6.1) --- INFO: Deploying web application archive gerrit.war [2015-04-15 22:25:31,937] INFO com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /var/lib/gerrit2/cache [2015-04-15 22:25:36,542] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes192-cbc: Illegal key size; try installing unlimit ed cryptography extension [2015-04-15 22:25:36,543] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes256-cbc: Illegal key size; try installing unlimit ed cryptography extension [2015-04-15 22:25:36,595] WARN com.google.gerrit.httpd.GitWebConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) [2015-04-15 22:25:37,474] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 252m [2015-04-15 22:25:37,487] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /var/lib/gerrit2/plugins [2015-04-15 22:25:37,816] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin reviewnotes, version v2.8.6.1 Apr 15, 2015 10:25:37 PM com.google.inject.servlet.GuiceFilter setPipeline WARNING: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web a pplication. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected. [2015-04-15 22:25:37,954] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin commit-message-length-validator, version v 2.8.6.1 [2015-04-15 22:25:38,475] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin replication, version v2.8.6.1 [2015-04-15 22:25:38,636] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin download-commands, version v2.8.6.1 [2015-04-15 22:25:38,860] INFO com.google.gerrit.sshd.SshDaemon : Started Gerrit SSHD-CORE-0.11.1-ATLASSIAN-1 on *:29418 -------------------------- -----Original Message----- From: Zieris, Franz [mailto:franz.zie...@fu-berlin.de] Sent: Wednesday, April 15, 2015 8:53 PM To: Stefan Rossbach Cc: dpp-devel@lists.sourceforge.net Subject: Re: [DPP-Devel] Gerrit authentication, OpenID > there should be no problem I hope. I'm skeptical because I couldn't find a jar file ready to use on the internet. Even this guy [2] only describes how to build it yourself. Franz [2] http://www.sgvulcan.com/2015/04/09/migrating-gerrit-to-google-oauth-from-google-openid/ -----Original Message----- From: Stefan Rossbach [mailto:srossb...@arcor.de] Sent: Wednesday, April 15, 2015 8:50 PM To: Zieris, Franz; dpp-devel@lists.sourceforge.net Subject: Re: [DPP-Devel] Gerrit authentication, OpenID On 15.04.2015 20:47, Zieris, Franz wrote: > Hi there, > > I did a new setup of Gerrit 2.8.6.1 (same version as on saros-build) on my > own server and tried an update to Gerrit 2.10.2 (most recent). > No problems at all. > > Gerrit 2.10.2 fulfills (just in time, by the way) the necessary preconditions > to work together with this plugin [1] which can make use of Google's OAuth > (in case you wonder: we used Open*ID*) *and* it keeps the existing accounts. > Downside: That plugin needs to be built with the tool Buck, which in turn > needs to be built with Ant. > Long story short: I did all that stuff and really, really hope that the > gerrit-auth-provider.jar I built on my server will also run on saros-build. As long as you do not used Java 8 to compile the files there should be no problem. Tomcat is running with Java 7. > > Next steps: I'll ... > * backup the current Gerrit setup > * upgrade to Gerrit 2.10.2 > * copy the plugin from my server to saros-build > * hope for the best > > I'll report my progress here. > > Franz > > [1] https://github.com/davido/gerrit-oauth-provider > > -----Original Message----- > From: Zieris, Franz [mailto:franz.zie...@fu-berlin.de] > Sent: Wednesday, April 15, 2015 7:02 PM > To: dpp-devel@lists.sourceforge.net > Subject: [DPP-Devel] Gerrit authentication, OpenID > > Hi everyone, > > I just logged into Gerrit (it's been a while, I have to admit), was > redirected to Google for OpenID authentication as usual, and noticed a little > yellow box telling me that Google will drop OpenID 2.0 support on April 20th, > 2015 [1], i.e. in five days. > > I'm just wondering whether I'm *actually* the first one to see this and > understand that without any action taken, practically nobody will be able to > log into our Gerrit system starting from Monday. > That's a bit weird, since according to the official time table [2], anyone > should have seen that warning message since November 18th, 2014 (!). > What I wanted to say: If anyone else already saw that warning and thought > "Meh, none of my business" -- not cool. > > Anyway, I'll take a look around and see what needs to be done (simply a > Gerrit upgrade or anything more drastic). > > Cheers, > Franz > > [1] https://support.google.com/accounts/answer/6135882?authuser=0 > [2] > https://developers.google.com/identity/protocols/OpenID2Migration#shutdown-timetable > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > DPP-Devel mailing list > DPP-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dpp-devel > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > DPP-Devel mailing list > DPP-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dpp-devel ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ DPP-Devel mailing list DPP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dpp-devel ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ DPP-Devel mailing list DPP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dpp-devel