[openstack-dev] [ironic] AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'
Malhar Vora
mlvora.2010 at gmail.com
Sun Jul 26 09:53:30 UTC 2015
Hi,
I have done everything from scratch and followed below step.
Please check and tell me what is missing,
1. git clone https://github.com/openstack/ironic ironic
2. Applied my changes
3. Created account in https://review.openstack.org and updated contact
details
4. Generated key using ssh-keygen -t rsa without passphase
5. Added content of ~/.ssh/id_rsa.pub to https://review.openstack.org
6. Installed git-review using apt-get install git-review
7. Added modified files using git add .
8. Set name, email and gerrit username as given below:
git config --global user.name "Malhar Vora"
git config --global user.email "mlvora.2010 at gmail.com"
git config --global gitreview.username malhar_vora
9. I execute git review -s and again get following.
malhar at ubuntu:~/Documents/contribution/ironic$ git review -s
Using global/system git-review config files
(/etc/git-review/git-review.conf) is deprecated
Could not connect to gerrit.
Enter your gerrit username: malhar_vora
Trying again with ssh://
malhar_vora at review.openstack.org:29418/openstack/ironic.git
<traceback object at 0x7f6d28ab93f8>
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://
malhar_vora at review.openstack.org:29418/openstack/ironic.git
Traceback (most recent call last):
File "/usr/local/bin/git-review", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/git_review/cmd.py", line
1534, in main
sys.exit(e.EXIT_CODE)
AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'
Thanks,
Malhar
Regds,
*Malhar Vora*
http://about.me/malhar.vora
On Sat, Jul 25, 2015 at 12:50 PM, Jeremy Stanley <fungi at yuggoth.org> wrote:
> On 2015-07-25 07:39:31 -0700 (-0700), Malhar Vora wrote:
> [...]
> > error: Could not fetch gerrit
> > Problems encountered installing commit-msg hook
> > The following command failed with exit code 1
> > "scp -P29418 malhar_vora at review.openstack.org:hooks/commit-msg
> > .git/hooks/commit-msg"
> > -----------------------
> > Agent admitted failure to sign using the key.
> > Permission denied (publickey).
> > -----------------------
>
> This error message implies that either your username or SSH key are
> invalid. I'm guessing you got past this because I'm seeing
> successful authentication for your username in our Gerrit logs now.
>
> However, you don't appear to have entered contact information, at
> https://review.openstack.org/#/settings/contact so if you're trying
> to submit a change to a repo which requires CLA agreement (for
> example, openstack/ironic) then that will be necessary for you as
> well.
>
> For reference, our account setup documentation is available at:
>
> http://docs.openstack.org/infra/manual/developers.html#account-setup
>
> --
> Jeremy Stanley
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150726/a6077df1/attachment.html>
More information about the OpenStack-dev
mailing list