ansible / galaxy-issues

This repository exists solely for the tracking of user issues with Ansible Galaxy.
20 stars 3 forks source link

Unable to refresh repositories and import role with a specific user #282

Closed shibayu36 closed 6 years ago

shibayu36 commented 6 years ago

I use galaxy's user named MACKEREL. When I log in this user, I cannot "Refresh Your Repositories from GitHub" and "Import Role" from https://galaxy.ansible.com/roleadd#/ page.

I saw Network tab in chrome developer tools, then I found a refresh endpoint( https://galaxy.ansible.com/api/v1/repos/refresh/ ) returns Internal Server Error.

I thought this problem occurs because this account named MACKEREL have been connected to multiple Github accounts. So I revoked Ansible Galaxy from Github Apps(https://github.com/settings/applications) once, and reconnected MACKEREL user to github, but this problem was not fixed yet.

What should I do?

chouseknecht commented 6 years ago

@shibayu36

I'm confused. If I look at https://github.com/mackerel, there are 0 repositories. Are the repositories part of an organization? And if so, is Galaxy authorized with the organization?

shibayu36 commented 6 years ago

@chouseknecht

We got MACKEREL user a long time ago (maybe in 2015). And if I remember correctly, we could decide an account name freely at that time. So our account name is MACKEREl, but our repositories are in https://github.com/mackerelio . (https://github.com/mackerel is other user's account whom I don't know).

Now, I think MACKEREL is connected to multiple github users in the mackerelio organization. For example, mackerel-bot, Songmu and so on. They are members in the mackerelio organization (https://github.com/orgs/mackerelio/people).

chouseknecht commented 6 years ago

This issue was moved to ansible/galaxy#39