OpenStack越来越火,更多的人参与到社区,所以向OpenStack社区提交代码的需求变得越来越多,之前有位IBM的哥们写了一个篇很赞的文章《向OpenStack贡献您的代码》,详细的介绍了向OpenStack社区贡献代码的步骤,对照文章实际操作了一遍,发现在向OpenStack提交代码一步报错,即执行git review -s, 具体错误输出如下:
-
fatal: ICLA contributor agreement requires current contact information.
-
Please review your contact information:
-
-
https://review.openstack.org/#/settings/contact
-
-
fatal: The remote end hung up unexpectedly
解决方法:
主要是由于gerrit去获取用户的contact information,然后去判断用户是否是个合法的“OpenStack Foundation Individual Member”时候失败了,原因就是该用户没有在openstack.org注册,这也就是《向OpenStack贡献您的代码》漏掉的一个步骤,具体注册过程参见注册页面:
https://www.openstack.org/join/register/
网上能搜到该问题的一些解决方法是在gerrit上补全用户的contact information, 即下面图片的Mail Address,Country等信息,但是填写完整后点击save changes的时候,gerrit会直接报错,主要原因是这里需要填写在openstack.org上注册过的信息才行,所以只要在openstack.org上注册过了,再来填写就不会报错了,当然不填也行。

------------------------------------------------------------
email: ustc.dylan@gmail.com
微博:@Marshal-Liu
------------------------------------------------------------
《向OpenStack贡献您的代码》修正和补充
原文:http://blog.chinaunix.net/uid-20940095-id-4653750.html