[openstack-dev] Getting GERRIT error while submitting spec for liberty.
Jeremy Stanley
fungi at yuggoth.org
Sat Apr 4 11:45:10 UTC 2015
On 2015-04-04 16:39:17 +0530 (+0530), Vikram Choudhary wrote:
> Can anyone please help me in resolving the below errors.
[...]
> We don't know where your gerrit is. Please manually create a remote
> named "gerrit" and try again.
[...]
> Exception: Error running git remote add -f gerrit ssh://
> vikram.choudhary at review.openstack.org:29418/openstack/neutron-specs.git
[...]
This error error message from git-review can be misleading, because
it performs a test push to attempt to determine whether your Gerrit
credentials/URL are correct. However, if you're testing it on a
CLA-enforced repository (such as openstack/neutron-specs) it can
misinterpret a CLA-related rejection from Gerrit as implying your
configuration is incorrect.
If...
ssh -p 29418 vikram.choudhary at review.openstack.org gerrit version
...returns a "gerrit version" string instead of an authentication or
connection error, then this is probably the issue. Make sure your
account was set up following the instructions at...
http://docs.openstack.org/infra/manual/developers.html#account-setup
...including setting up your Foundation Individual Member profile at
www.openstack.org, and agreeing to the ICLA and submitting contact
information on review.openstack.org.
If your test instead reveals that ssh is failing with something like
"Permission denied (publickey)" then double-check that your username
in Gerrit is shown as "vikram.choudhary" and that you've correctly
added your SSH RSA public key in Gerrit as well.
--
Jeremy Stanley
More information about the OpenStack-dev
mailing list