canonical / charmhub.io

GNU General Public License v3.0
9 stars 23 forks source link

Impossible to revoke collaborator: POST .../invites/revoke 500 (Internal Server Error) #1801

Open taurus-forever opened 2 months ago

taurus-forever commented 2 months ago

Hi,

We have noticed a nice new feature collaborators WEB list. And have tried to clean legacy collaborators in our charms. At the moment we are experiencing 500 on pressing "Revoke" button:

Screenshot from 2024-04-23 11-40-50

Happy to help you trace it down and fix. Tnx!

steverydz commented 2 months ago

@taurus-forever Thanks for the bug report. We'll look into this.

steverydz commented 2 months ago

@taurus-forever Is this still happening? I could replicate it initially but now it's working again. Possibly a glitch on the server side.

taurus-forever commented 2 months ago

@steverydz it is still broken for me. I cannot remove Jon Seager from https://charmhub.io/rolling-ops/collaboration

image

steverydz commented 2 months ago

Hi @taurus-forever

Could you please send the output of https://charmhub.io/rolling-ops/collaborators and https://charmhub.io/rolling-ops/invites in Pastebins?

taurus-forever commented 2 months ago

Hi @steverydz , posted on https://pastebin.ubuntu.com/p/Q4ZNYDp2PK/ (muted IDs and set expiration in month). Is it good enough?

steverydz commented 2 months ago

@taurus-forever Thanks. Yes that's what I was after

steverydz commented 2 months ago

@taurus-forever It looks like John isn't able to be removed because he is the owner of the Canonical Data Platform in Launchpad. This is more of a problem with how we display that in the UI. We don't currently have the data on the frontend to handle this case so that is something we will look into.

taurus-forever commented 1 month ago

Tnx @steverydz !

I have tried to remove marcelo.neppel[at]canonical.com from https://charmhub.io/postgresql/collaboration the same error: There was a problem revoking the invite for marcelo.neppel[at]canonical.com.

Also the same story for stuart.bishop[at]canonical.com and marcelo.neppel[at]canonical.com in https://charmhub.io/postgresql-k8s/collaboration

So.. I literally can remove nobody. :-D

steverydz commented 1 week ago

@taurus-forever We've added some extra logging to try and this down. Could you please try again and we'll see if any errors come through to us?