gitlab同步插件gitlab-mirrors报错<已解决,未找到原因>

今天下午在使用gitlab-mirrors同步插件时,发现一直在报错

# ~/gitlab-mirrors/add_mirror.sh --git --project-name manifests --mirror git@10.240.205.131:thinkcloud_ci/manifests.git
Resolving gitlab remote.
Creating new project manifests
Traceback (most recent call last):
  File "lib/manage_gitlab_project.py", line 105, in <module>
    found_project=createproject(project_name)
  File "lib/manage_gitlab_project.py", line 78, in createproject
    git.add_project(pname,description=description,**project_options)
  File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 184, in fn
  File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 418, in _post
  File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 435, in _request
  File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 411, in _check_status_code
gitlab3.exceptions.MissingRequiredAttribute: URL: http://10.100.218.203/api/v3/projects, Data: {'wall_enabled': 'false', 'namespace_id': '5', 'snippets_enabled': 'false', 'merge_requests_enabled': 'false', 'name': 'manifests', 'issues_enabled': 'false', 'wiki_enabled': 'false', 'public': 'false', 'description': 'Mirror of git@10.240.205.131:thinkcloud_ci/manifests.git'}
There was an unknown issue with manage_gitlab_project.py

最后发现,project name不应该是manifests,将其改为其他名字即可正常工作.

很奇怪的东西

转载于:https://www.cnblogs.com/redheat/p/7346455.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值