May appear when submitting code review
Could not connect to Gerrit.
Enter your Gerrit Username:xxxx
Trying again with Ssh://[email Protected]:29418/openstack/oslo.messaging.git
<traceback Object at 0xb6fe493c>
We don ' t know where your Gerrit is. Please manually create a remote
Named "Gerrit" and try again.
Traceback (most recent):
File "/usr/bin/git-review", line 1196, in <module>
Main ()
File "/usr/bin/git-review", line 1110, in main
config[' hostname ', config[' Port '], config[' project ')
File "/usr/bin/git-review", line 489, in Check_remote
Add_remote (hostname, port, project, remote)
File "/usr/bin/git-review", line 344, in Add_remote
Raise Exception ("Could not connect to Gerrit at%s"% Remote_url)
Exception:could not connect to Gerrit at Ssh://[email Protected]:29418/openstack/oslo.messaging.git
Could not review.openstack.org
To manually add a node Gerrit node
Git remote add Gerrit ssh://<username> @review. Openstack.org:29418/openstack/nova.git
[Email protected]:~/oslo.messaging$ git review
Problem running ' git Remote update Gerrit '
Getting Gerrit
Ssh:could not resolve hostname review.openstack.org:Name or service not known
Fatal:could not read from remote repository.
Sure you have the correct access rights
and the repository exists.
Error: Cannot get Gerrit
Problems encountered installing COMMIT-MSG hook
The following command failed with exit code 1
"Scp:hooks/commit-msg. Git/hooks/commit-msg"
-----------------------
. git/hooks/commit-msg:no such file or directory
Ssh-vv-p 29418 [email protected]
Print debugging information
....
Debug1:next Authentication Method:publickey
debug1:offering RSA Public Key:/home/someone/.ssh/id_rsa
Debug2:we sent a publickey packet, wait for reply
Debug1:authentications that can Continue:publickey
Debug1:trying private key:/HOME/SOMEONE/.SSH/ID_DSA
Debug1:trying private key:/HOME/SOMEONE/.SSH/ID_ECDSA
Debug1:trying private key:/home/someone/.ssh/id_ed25519
Debug2:we did not send a packet, disable method
Debug1:no more authentication methods to try.
Permission denied (PublicKey).
Delete the. SSH directory and regenerate the private key
Problems with Git review