User Can't Delete Role if github repo was already deleted
See original GitHub issueBug Report
SUMMARY
I’d like to delete this role, but get an error.
STEPS TO REPRODUCE
ansible-galaxy delete robertdebock ansible-role-iptables
ERROR! Galaxy user robertdebock does not have access to repo robertdebock/ansible-role-iptables
EXPECTED RESULTS
I’d like the role to be removed.
ACTUAL RESULTS
ansible-galaxy 2.6.3
config file = /home/robertdb/Documents/ansible/mvps/ansible.cfg
configured module search path = [u'/home/robertdb/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-galaxy
python version = 2.7.15 (default, May 16 2018, 17:50:09) [GCC 8.1.1 20180502 (Red Hat 8.1.1-1)]
Using /home/robertdb/Documents/ansible/ansible.cfg as config file
Opened /home/robertdb/.ansible_galaxy
https://galaxy.ansible.com/api/v1/removerole/?github_user=robertdebock&github_repo=ansible-role-iptables
ERROR! Galaxy user robertdebock does not have access to repo robertdebock/ansible-role-iptables
When I visit the API, I see the same error on a DELETE method:
HTTP 400 Bad Request
Allow: DELETE, OPTIONS
Content-Type: application/json
Vary: Accept
{
"detail": "Galaxy user robertdebock does not have access to repo robertdebock/ansible-role-iptables"
}
I have the feeling that I’m making a mistake, but am not sure what the mistake is.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Setting permissions for deleting or transferring repositories
In the "Access" section of the sidebar, click Member privileges. Under "Repository deletion and transfer", select or deselect Allow members to delete or ......
Read more >Deleting an issue - GitHub Docs
People with admin permissions in a repository can permanently delete an issue from a repository. The ability to delete issues depends on whether...
Read more >Deleting a repository - GitHub Docs
Deleting a repository will permanently delete release attachments and team permissions. This action cannot be undone. Deleting a private repository will delete ......
Read more >Can't delete IAM role because policies are attached #2761
It seems like changing a user, role, or group name causes a deletion and recreation of that resource, but we'd need to trigger...
Read more >Users can not remove a deleted Github repo that has been ...
A Github repository that has been pinned to a user's profile is unpinned when the repository is deleted. ... All pinned Github repositories...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@robertdebock
Your
tower
role is deleted.@robertdebock
Deleted. The API failed to remove it because the repository on GitHub was already removed or missing.