gitlab同步插件gitlab-mirrors报错<已解决,未找到原因>
# ~/gitlab-mirrors/add_mirror.sh --git --project-name manifests --mirror git@10.240.205.131:thinkcloud_ci/manifests.gitResolving 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
页:
[1]