Re: [openstack-dev] Error connecting to gerrit - issue with gerrit and launchpad username mismatch?

2016-03-13 Thread Jeremy Stanley
On 2016-03-13 19:51:14 -0500 (-0500), Lee Calcote wrote:
> Does anyone know if the fact that my usernames are different
> across these systems will cause an error when authenticating to
> gerrit?

It will not. Gerrit does not care (or even know) your Launchpad
username. The Gerrit WebUI identifies you with a unique OpenId URL
from your Launchpad account.

> I receive this error when running a git review from within an
> openstack repository I just cloned:
> 
> $ git review Could not connect to gerrit. Enter your gerrit
> username:
[...]

Unfortunately git-review's current mechanism for determining whether
your account is valid is by trying a test push for the repository
you're working in. Any condition which causes Gerrit to refuse the
push makes git-review think your username is incorrect.

> My gerrit username is "lecalcot". My launchpad username is "lcalcote”.
[...]

A quick look in the Gerrit backend database tells me you've not
filed contact information at
https://review.openstack.org/#/settings/contact which means you
probably also haven't agreed to the Individual Contributor License
Agreement (and the openstack-manuals repository to which you're
trying to contribute requires those). Please follow the
http://docs.openstack.org/infra/manual/developers.html#account-setup
instructions (including creating a Foundation Member account, making
sure you use the same primary E-mail address for that as your
preferred address in Gerrit, agreeing to the ICLA and filing contact
information), and then try your git-review again once that's done.
-- 
Jeremy Stanley

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Error connecting to gerrit - issue with gerrit and launchpad username mismatch?

2016-03-13 Thread Lee Calcote
Does anyone know if the fact that my usernames are different across these 
systems will cause an error when authenticating to gerrit?

I receive this error when running a git review from within an openstack 
repository I just cloned:

$ git review Could not connect to gerrit. Enter your gerrit username: lecalcot 
Trying again with 
ssh://lecal...@review.openstack.org:29418/openstack/openstack-manuals.git 
 We don't know where your gerrit is. Please 
manually create a remote named "gerrit" and try again. Could not connect to 
gerrit at 
ssh://lecal...@review.openstack.org:29418/openstack/openstack-manuals.git 
Traceback (most recent call last): File "/usr/local/bin/git-review", line 11, 
in  sys.exit(main()) File 
"/Library/Python/2.7/site-packages/git_review/cmd.py", line 1534, in main 
sys.exit(e.EXIT_CODE) AttributeError: 'GitReviewException' object has no 
attribute 'EXIT_CODE'

I'm able to ssh -p 29418 lecal...@review.openstack.org gerrit version and 
receive the current version of gerrit back, so I have both network connectivity 
and a valid SSH key.

My gerrit username is "lecalcot". My launchpad username is "lcalcote”.

Thanks,
Lee

1] 
https://ask.openstack.org/en/question/89483/error-connecting-to-gerrit-issue-with-gerrit-and-launchpad-username-mismatch/__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev