My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3726: gerrit update form 2.6.1 to 2.9.1 error
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 jiang2...@gmail.com, Dec 16, 2015
*****************************************************************
*****                       TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:
gerrit-2.9.1.war
What steps will reproduce the problem?
1.copy gerrit-2.9.1.war to target directory and stop the gerrit service.
2.run the commad "java -jar gerrit-2.9.1.war init -d review_site" to update gerrit
3.the gerrit updated successfully.
4.run the command "java -jar review_site/bin/gerrit.war reindex -d /home/gerrit2/review_site" for project reindex
5.and then run the command "bin/.gerrit.sh start"start gerrit.

What is the expected output? What do you see instead?
The gerrit start failure.I have see the error log  there is a message downstair:

********************The error log message***********************

1) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 5 at com.google.gerrit.sshd.DatabasePubKeyAuth.<init>(DatabasePubKeyAuth.java:69)
  at com.google.gerrit.sshd.DatabasePubKeyAuth.class(DatabasePubKeyAuth.java:52)
  while locating com.google.gerrit.sshd.DatabasePubKeyAuth
  while locating org.apache.sshd.server.PublickeyAuthenticator
    for parameter 2 at com.google.gerrit.sshd.SshDaemon.<init>(SshDaemon.java:165)
  at com.google.gerrit.sshd.SshDaemon.class(SshDaemon.java:143)
  while locating com.google.gerrit.sshd.SshDaemon
  at com.google.gerrit.sshd.SshModule.configure(SshModule.java:70)
  while locating com.google.gerrit.server.ssh.SshInfo

2) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 4 at com.google.gerrit.sshd.SshDaemon.<init>(SshDaemon.java:165)
  at com.google.gerrit.sshd.SshDaemon.class(SshDaemon.java:143)
  while locating com.google.gerrit.sshd.SshDaemon
  at com.google.gerrit.sshd.SshModule.configure(SshModule.java:70)
  while locating com.google.gerrit.server.ssh.SshInfo

3) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 5 at com.google.gerrit.sshd.DatabasePubKeyAuth.<init>(DatabasePubKeyAuth.java:69)
  at com.google.gerrit.sshd.DatabasePubKeyAuth.class(DatabasePubKeyAuth.java:52)
  while locating com.google.gerrit.sshd.DatabasePubKeyAuth
  while locating org.apache.sshd.server.PublickeyAuthenticator

4) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 5 at com.google.gerrit.sshd.DatabasePubKeyAuth.<init>(DatabasePubKeyAuth.java:69)
  at com.google.gerrit.sshd.DatabasePubKeyAuth.class(DatabasePubKeyAuth.java:52)
  while locating com.google.gerrit.sshd.DatabasePubKeyAuth
  while locating org.apache.sshd.server.PublickeyAuthenticator
    for parameter 2 at com.google.gerrit.sshd.SshDaemon.<init>(SshDaemon.java:165)
  at com.google.gerrit.sshd.SshDaemon.class(SshDaemon.java:143)
  while locating com.google.gerrit.sshd.SshDaemon
  while locating com.google.gerrit.extensions.events.LifecycleListener annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=25)

5) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 4 at com.google.gerrit.sshd.SshDaemon.<init>(SshDaemon.java:165)
  at com.google.gerrit.sshd.SshDaemon.class(SshDaemon.java:143)
  while locating com.google.gerrit.sshd.SshDaemon
  while locating com.google.gerrit.extensions.events.LifecycleListener annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=25)

6) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider

7) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 5 at com.google.gerrit.sshd.DatabasePubKeyAuth.<init>(DatabasePubKeyAuth.java:69)
  at com.google.gerrit.sshd.DatabasePubKeyAuth.class(DatabasePubKeyAuth.java:52)
  while locating com.google.gerrit.sshd.DatabasePubKeyAuth

8) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 5 at com.google.gerrit.sshd.DatabasePubKeyAuth.<init>(DatabasePubKeyAuth.java:69)
  at com.google.gerrit.sshd.DatabasePubKeyAuth.class(DatabasePubKeyAuth.java:52)
  while locating com.google.gerrit.sshd.DatabasePubKeyAuth
  while locating org.apache.sshd.server.PublickeyAuthenticator
    for parameter 2 at com.google.gerrit.sshd.SshDaemon.<init>(SshDaemon.java:165)
  at com.google.gerrit.sshd.SshDaemon.class(SshDaemon.java:143)
  while locating com.google.gerrit.sshd.SshDaemon

9) Bouncy Castle Crypto not installed; needed to read server host keys: [/home/gerrit2/review_site/etc/ssh_host_rsa_key, /home/gerrit2/review_site/etc/ssh_host_dsa_key]
  while locating com.google.gerrit.sshd.HostKeyProvider
  at com.google.gerrit.sshd.SshHostKeyModule.configure(SshHostKeyModule.java:26)
  while locating org.apache.sshd.common.KeyPairProvider
    for parameter 4 at com.google.gerrit.sshd.SshDaemon.<init>(SshDaemon.java:165)
  at com.google.gerrit.sshd.SshDaemon.class(SshDaemon.java:143)
  while locating com.google.gerrit.sshd.SshDaemon

********************The error log message***********************


Please provide any additional information below.

I had updated three gerrit form gerrit-2.6.1 to gerrit2.9.1,two were ok,excpet this one.The error log said I had not installed Bouncy Castle Crypto,but other two servers also had not installed,why they did not have the same issue?

I am a chinese user,My english was very poor and I did not know where I could submit the issue so......
Can anyone help me ?Thank U very much!


Dec 23, 2015
#1 jiang2...@gmail.com
Nobody can help me?
Sign in to add a comment

Powered by Google Project Hosting