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

Deleted In column is displaying the value and it keep increasing like Age of the user #11074

Closed
rak-phillip opened this issue May 21, 2024 · 3 comments
Assignees
Labels
QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this [zube]: To Test
Milestone

Comments

@rak-phillip
Copy link
Member

Rancher Server Setup

  • Rancher version:
  • Installation option (Docker install/Helm Chart):
    • If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):
  • Proxy/Cert Details:

Rancher Server Setup

Rancher version: v2.8.s4-318b423a3124919eb59fe0f4af024f2699645ffd-head
Installation option (Docker install/Helm Chart): HA
If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):
Proxy/Cert Details:
User Information: Admin

Describe the bug
When the CRON Job values are set to NULL, Deleted In column is displaying the value and it keep increasing like Age, it never deleted. This gives wrong information to the user.

STEPS To Reproduce:

  1. Provision rancher HA
  2. Create a user test1
  3. Login as user test1 and logout
  4. Login as admin and Update settings 'delete-inactive-user-after' to 5 mins kubectl edit setting delete-inactive-user-after
  5. Make sure the UserRetention Cron value should set to NULL
  6. Check for the Deleted In time before and after 5mins (Rancher->users)

Result

UI says the user is Delete after 5mins, and the value keep decreasing & after 5mins the time keep getting increased and like the age of the User, it never got deleted.

Expected Result
The value should display from the CRON job, in this case the Cron job is not set and this user will not be deleted.

Screenshots
image

Additional context

@rak-phillip rak-phillip added this to the v2.8.patch1 milestone May 21, 2024
@rak-phillip
Copy link
Member Author

/backport v2.8.patch1

@rak-phillip
Copy link
Member Author

/forwardport v2.9.0

@rak-phillip
Copy link
Member Author

/backport v2.7.patch1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this [zube]: To Test
Projects
None yet
Development

No branches or pull requests

2 participants