Description
./add_mirror.sh --git --project-name github-gitlab-mirrors --mirror https://github.com samrocketman/gitlab-mirrors.git
Resolving gitlab remote.
Creating new project github-gitlab-mirrors
Traceback (most recent call last):
File "lib/manage_gitlab_project.py", line 144, in
found_project=createproject(project_name)
File "lib/manage_gitlab_project.py", line 111, in createproject
git.projects.create(project_options)
File "/usr/lib/python2.7/site-packages/gitlab/exceptions.py", line 259, in wrapped_f
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/gitlab/mixins.py", line 204, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "/usr/lib/python2.7/site-packages/gitlab/init.py", line 691, in http_post
**kwargs
File "/usr/lib/python2.7/site-packages/gitlab/init.py", line 575, in http_request
response_body=result.content,
gitlab.exceptions.GitlabAuthenticationError: 401: 401 Unauthorized
There was an unknown issue with manage_gitlab_project.py
SSH key is OK and gitlab authentication is as well OK.
Tested by
GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" git clone git@gitlab.terminus.cz:group-name/project-name.git