[openstack-dev] [ironic] AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'

Lucas Alvares Gomes lucasagomes at gmail.com
Sat Jul 25 10:22:38 UTC 2015


Hi,

> malhar at ubuntu:~/Documents/contribution/temp/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: myusername
> Trying again with
> ssh://malhar_vora@review.openstack.org:29418/openstack/ironic.git
> <traceback object at 0x7f337522e3f8>
> 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@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'
>

Apparently you don't have the git remote map to review.openstack.org,
you can add it by running the following:

$ git remote add gerrit
ssh://malhar_vor@review.openstack.org:29418/openstack/ironic.git

Cheers,
Lucas



More information about the OpenStack-dev mailing list