My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2491: Attempting gsql with PeerDaemonUser hangs
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by c...@lambda.nu, Feb 20, 2014
If you attempt to use "gerrit gsql" by connecting with the magic PeerDaemonUser credentials - that is, using the server's host key as the ssh key and the username "Gerrit Code Review" - the ssh command will hang, and a stack trace is dumped into the error_log (attached).

I discovered this while attempting to use the "Trivial Rebase Detection" hook script from here: https://www.codeaurora.org/xwiki/bin/QAEP/Gerrit

This hook uses the Peer user (apparently it expects to have some ssh configuration to use the ssh host key as well).


Affected Version: 2.8.1


What steps will reproduce the problem?
1. Install Gerrit 2.8.1, including Bouncy Castle
2. Start with "gerrit.sh start"
3. From the install directory's etc/ directory, run

  ssh -i ssh_host_rsa_key -l 'Gerrit Code Review' -p 29418 localhost gerrit gsql


What is the expected output? What do you see instead?

I expect the gsql prompt. Instead I get no output from the ssh command; it hangs.

error_log
5.0 KB   View   Download
Apr 18, 2014
#1 c...@lambda.nu
FYI, this still occurs with Gerrit 2.8.4.
Sign in to add a comment

Powered by Google Project Hosting