permission-manager icon indicating copy to clipboard operation
permission-manager copied to clipboard

User settings window hangs

Open Gyzes opened this issue 3 years ago • 2 comments

k8s: v1.22.2 permission-manager: v1.7.1-rc1

Error process:

  1. Create a user and give rights to namespace
  2. Remove namespace
  3. Open the user for editing
  4. The endless process of "... loading" and the out of memory error

image

Found error correction process:

  1. Remove CustomResourceDefinitions
  2. Create user again

Gyzes avatar Nov 16 '21 05:11 Gyzes

Hi @Gyzes ! Thanks for reporting this issue. I can replicate the bug. The frontend hangs, backend seems to be OK though.

ralgozino avatar Feb 25 '22 13:02 ralgozino

The same here. It seems all versions starting from 1.5.1 are affected. However, the workaround mentioned by @Gyzes worked out.

amoravek avatar Mar 27 '22 18:03 amoravek

I might add some clarity — we'd stumbled onto the same UI behavior & established that it is was caused when there was a change in naming pattern of permissionmanagerusers.permissionmanager.users resources:

So when, e.g., one

  • deploys an older version of PM
  • creates users
  • upgrades the version of PM
  • deletes a previously created user,

this user's page becomes inaccessible.

The workaround was to manually rename all permissionmanagerusers.permissionmanager.users resources to a pattern, suitable for the current permission-manager version.

So it's likely that user page starts to load endlessly whenever there's a 404 from k8s API.

bandikoot avatar Jan 23 '23 12:01 bandikoot

First of all, thank you for the issue and especially for waiting. We are back with active permission-manager development. I will take charge of the issue, maybe if we can release the fix for v1.8.0. Good catch ✌🏽

luigibarbato avatar Jan 23 '23 12:01 luigibarbato