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

Galaxy Detects No Roles in GitHub #79

Closed
chouseknecht opened this issue Oct 13, 2017 · 8 comments
Closed

Galaxy Detects No Roles in GitHub #79

chouseknecht opened this issue Oct 13, 2017 · 8 comments

Comments

@chouseknecht
Copy link
Contributor

From @chris-short on November 23, 2016 16:28

I have removed and re-added my authorization from GitHub but multiple scans have resulted in Galaxy not being able to find any roles for my account. I've been a Galaxy "user" for a long time and am wondering if something is afoot with my account.

Thanks,
Chris

Copied from original issue: ansible/galaxy-issues#217

@chouseknecht chouseknecht added the status/incomplete Additional information required label Oct 13, 2017
@chouseknecht
Copy link
Contributor Author

From @chris-short on November 24, 2016 18:22

Successfully submitted import request 36164
Starting import 36164: role_name=ansible-role-papertrail repo=chris-short/ansible-role-papertrail
Failed to get GitHub account for Galaxy user ChrisShort. You must first authenticate with GitHub.
bugs:ansible-role-papertrail cshort$ ansible-galaxy login --github-token []
Succesfully logged into Galaxy as ChrisShort
bugs:ansible-role-papertrail cshort$ ansible-galaxy import chris-short ansible-role-papertrail
Successfully submitted import request 36166
Starting import 36166: role_name=ansible-role-papertrail repo=chris-short/ansible-role-papertrail
Failed to get GitHub account for Galaxy user ChrisShort. You must first authenticate with GitHub.
bugs:ansible-role-papertrail cshort$ ansible-galaxy login --github-token []
Succesfully logged into Galaxy as ChrisShort
bugs:ansible-role-papertrail cshort$ ansible-galaxy import chris-short ansible-role-papertrail
Successfully submitted import request 36167
Starting import 36167: role_name=ansible-role-papertrail repo=chris-short/ansible-role-papertrail
Failed to get GitHub account for Galaxy user ChrisShort. You must first authenticate with GitHub.```

@chouseknecht
Copy link
Contributor Author

There is an account on Galaxy for username ChrisShort, however it does not appear to be associated with a GitHub username. Let's start by fixing that.

First, if you have previously accessed Galaxy via the browser you're using, clear the browser's history, removing cookies. Now authenticate with Galaxy using your username/password. Then go to Manage Linked Accounts, and click on the GitHub logo. This should take you through the GitHub auth process and make the association.

Now go to My Roles and click the Refresh button to the right of the search box.

NOTE: only public GitHub repos containing a meta/main.yml or ansible/meta.yml will appear on the list.

Please update this issue, once you have been able to authenticate via a browser.

@chouseknecht
Copy link
Contributor Author

From @chris-short on November 27, 2016 21:7

No joy. I had tried this previously but did so in a completely different browser now with the same effect. Whenever I click on the Managed Linked Accounts link I get presented the same "Connect to Github" page like my accounts have never been linked before. I'm baffled at this point.

@chouseknecht
Copy link
Contributor Author

From @chris-short on November 28, 2016 15:54

At this point can my account be blown away completely and then I can start over?

@chouseknecht
Copy link
Contributor Author

From @gregdek on December 5, 2016 16:29

@chouseknecht can we just blow away @chris-short's account per his request?

@chouseknecht
Copy link
Contributor Author

From @AsavarTzeth on March 6, 2017 21:45

Same issue, but in my case I also have two accounts (not on purpose). Whenever I try to link my account and refresh it just asks me again.

I wonder if it may be related to using multiple email addresses on GitHub. In my case I have two and I may have changed the primary at some point. Currently if I login using GitHub email verification tries to use my previous primary.

EDIT: It solved itself a day later. Still have two accounts though.

@chouseknecht
Copy link
Contributor Author

@chris-short

Deleted the 'ChrisShort' account from Galaxy. You should be able to log in from scratch, set permissions on your GitHub orgs, and import content.

Apologies for overlooking this. Not sure what happened.

Ping me, if you're still finding issues getting things imported.

@chouseknecht chouseknecht self-assigned this Jun 13, 2018
@chouseknecht chouseknecht added this to the 3.0-sprint-8 milestone Jun 13, 2018
@chouseknecht chouseknecht added this to Need Triage in Galaxy 3.0 Sprint 8 via automation Jun 13, 2018
@chouseknecht
Copy link
Contributor Author

Haven't heard back, so assuming we can close this. Ping me, if it's still an issue.

Galaxy 3.0 Sprint 8 automation moved this from Need Triage to Done Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant