Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitLab Privat Token expired for cco initialize-gitlab #59

Closed
zelima opened this issue Jun 19, 2019 · 0 comments
Closed

GitLab Privat Token expired for cco initialize-gitlab #59

zelima opened this issue Jun 19, 2019 · 0 comments
Labels

Comments

@zelima
Copy link
Collaborator

zelima commented Jun 19, 2019

Getting exit status 22 when trying to initialize-gitlab.

ckan-cloud-operator initialize-gitlab me/cloud-my-new-instance

# Logs
subprocess.CalledProcessError: Command '['curl', '-f', '-s', '--header', 'PRIVATE-TOKEN: my-TOkEn', 'https://gitlab.com/api/v4/projects/me%2Fcloud-my-new-instance']' returned non-zero exit status 22.

Tried to run curl command manually:

curl -f -s --header "PRIVATE-TOKEN: my-Token" https://gitlab.com/api/v4/projects/me%2Fcloud-my-new-instance -v
...
> Host: gitlab.com
> User-Agent: curl/7.47.0
> Accept: */*
> PRIVATE-TOKEN: My-TOkEn
> 
* The requested URL returned error: 404 Not Found
* Closing connection 0

After Generating new personal token (with my account) problem is gone. So we need to generate a new one for a production cluster and update appropriate ENV

@zelima zelima added the cluster label Jun 19, 2019
@pwalsh pwalsh closed this as completed Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants