首页 > 其他 > 详细

[remote rejected] HEAD -> refs/publish/master/bug/1475475 (missing Change-Id in

时间:2015-07-22 02:15:33      阅读:2248      评论:0      收藏:0      [点我收藏+]

chenying@chenying-virtual-machine:~/stack/cinder$ sudo git review
remote: Resolving deltas: 100% (4/4)
remote: Processing changes: refs: 1, done???
remote: ERROR: missing Change-Id in commit message footer
remote: Suggestion for commit message:
remote: Publishing service capabilities after volume is sucessfully cteated
remote:
remote: Fixes this bug #1475475:
remote: There was only one backend.creating several thinly provisioned volumes in one minute ,if the size of Volume was larger than host‘s free_capacity_gb, the volume creating maybe failed.
remote:
remote:? Every one minute, host‘s capabilities was updated. One thinly provisioned volume scuessfully created, in the function consume_from_volume,
remote:?? hostsate‘s free_capacity_gb minus volume_gb,the free_capacity_gb was minus. If the host‘s capabilities had not been updated,the next volume creating maybe failed.
remote:?? Maybe the free_capacity_gb was minus,but the ratio of provisioned capacity over total capacity is not over the max_over_subscription_ratio,then the host choosing failed,
remote:?? the error message is ‘No valid host was found. No weighed hosts available‘
remote:
remote: Publishing service capabilities after volume is sucessfully cteated,this bug will be fixed.
remote:
remote: Fixes: bug #1475475
remote:
remote: Change-Id: Id3e195d414056c6baeb2afc263d52c7af6290749
remote:
remote: Hint: To automatically insert Change-Id, install the hook:
remote:?? gitdir=$(git rev-parse --git-dir); scp -p -P 29418 chenying@review.openstack.org:hooks/commit-msg ${gitdir}/hooks/
remote:
remote:
To https://chenying:kcXgyFIpCvMe@review.openstack.org/openstack/cinder.git
?! [remote rejected] HEAD -> refs/publish/master/bug/1475475 (missing Change-Id in commit message footer)
error: failed to push some refs to ‘https://chenying:kcXgyFIpCvMe@review.openstack.org/openstack/cinder.git‘

?

?

原因 29418端口被墙 无法通过scp的方式添加change-id

?

解决方法:

可以通过编辑git message文本,将上述命令提示的Change-Id: Id3e195d414056c6baeb2afc263d52c7af6290749 添加到messages最后一行,然后再次提交。

?

chenying@chenying-virtual-machine:~/stack/cinder$ sudo git commit --amend -a -F ../messages2
[sudo] password for chenying:
[Bug1475475 ae3e6e9] Publishing service capabilities after volume is sucessfully cteated
?1 file changed, 2 insertions(+)
chenying@chenying-virtual-machine:~/stack/cinder$ sudo git review
remote: Processing changes: updated: 1, refs: 1, done???
remote: (W) ae3e6e9: commit subject >65 characters; use shorter first paragraph
remote: (W) ae3e6e9: no files changed, message updated
To https://chenying:kcXgyFIpCvMe@review.openstack.org/openstack/cinder.git
?* [new branch]????? HEAD -> refs/publish/master/bug/1475475
chenying@chenying-virtual-machine:~/stack/cinder$ ^C

?

[remote rejected] HEAD -> refs/publish/master/bug/1475475 (missing Change-Id in

原文:http://chenyingkof.iteye.com/blog/2229108

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!