<div dir="ltr"><div><div><div>Hi,<br><br></div>I have done everything from scratch and followed below step.<br><br>Please check and tell me what is missing,<br><br>1. git clone <a href="https://github.com/openstack/ironic">https://github.com/openstack/ironic</a> ironic<br><br>2. Applied my changes<br><br>3. Created account in <a href="https://review.openstack.org">https://review.openstack.org</a> and updated contact details <br><br>4. Generated key using ssh-keygen -t rsa without passphase<br><br>5. Added content of ~/.ssh/id_rsa.pub to <a href="https://review.openstack.org">https://review.openstack.org</a><br><br>6. Installed git-review using apt-get install git-review<br><br>7. Added modified files using git add .<br><br>8. Set name, email and gerrit username as given below:<br>   git config --global <a href="http://user.name">user.name</a> "Malhar Vora"<br>   git config --global user.email "<a href="mailto:mlvora.2010@gmail.com">mlvora.2010@gmail.com</a>"<br>   git config --global gitreview.username malhar_vora<br><br>9. I execute git review -s and again get following.<br>   malhar@ubuntu:~/Documents/contribution/ironic$ git review -s<br>Using global/system git-review config files (/etc/git-review/git-review.conf) is deprecated<br>Could not connect to gerrit.<br>Enter your gerrit username: malhar_vora<br>Trying again with ssh://<a href="http://malhar_vora@review.openstack.org:29418/openstack/ironic.git">malhar_vora@review.openstack.org:29418/openstack/ironic.git</a><br><traceback object at 0x7f6d28ab93f8><br>We don't know where your gerrit is. Please manually create a remote<br>named "gerrit" and try again.<br>Could not connect to gerrit at ssh://<a href="http://malhar_vora@review.openstack.org:29418/openstack/ironic.git">malhar_vora@review.openstack.org:29418/openstack/ironic.git</a><br>Traceback (most recent call last):<br>  File "/usr/local/bin/git-review", line 11, in <module><br>    sys.exit(main())<br>  File "/usr/local/lib/python2.7/dist-packages/git_review/cmd.py", line 1534, in main<br>    sys.exit(e.EXIT_CODE)<br>AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'<br><br></div><div><br></div><div><br></div>Thanks, <br><br></div>Malhar <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><span style="color:rgb(204,0,0)">Regds,</span><br><b style="color:rgb(204,0,0)">Malhar Vora</b><br><div><a href="http://about.me/malhar.vora" target="_blank">http://about.me/malhar.vora</a><br>
<br></div></div></div>
<br><div class="gmail_quote">On Sat, Jul 25, 2015 at 12:50 PM, Jeremy Stanley <span dir="ltr"><<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2015-07-25 07:39:31 -0700 (-0700), Malhar Vora wrote:<br>
[...]<br>
<span class="">> error: Could not fetch gerrit<br>
> Problems encountered installing commit-msg hook<br>
> The following command failed with exit code 1<br>
>     "scp -P29418 malhar_vora@review.openstack.org:hooks/commit-msg<br>
> .git/hooks/commit-msg"<br>
> -----------------------<br>
> Agent admitted failure to sign using the key.<br>
> Permission denied (publickey).<br>
> -----------------------<br>
<br>
</span>This error message implies that either your username or SSH key are<br>
invalid. I'm guessing you got past this because I'm seeing<br>
successful authentication for your username in our Gerrit logs now.<br>
<br>
However, you don't appear to have entered contact information, at<br>
<a href="https://review.openstack.org/#/settings/contact" rel="noreferrer" target="_blank">https://review.openstack.org/#/settings/contact</a> so if you're trying<br>
to submit a change to a repo which requires CLA agreement (for<br>
example, openstack/ironic) then that will be necessary for you as<br>
well.<br>
<br>
For reference, our account setup documentation is available at:<br>
<br>
    <a href="http://docs.openstack.org/infra/manual/developers.html#account-setup" rel="noreferrer" target="_blank">http://docs.openstack.org/infra/manual/developers.html#account-setup</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jeremy Stanley<br>
</font></span><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>