Project

General

Profile

Bug #44322

mgr/dashboard: Not able to restrict bucket creation for new user

Added by Volker Theile 4 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/rgw
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

We are trying to create new RGW user belonging to Tenant.

When we specify Maximum Bucket field value as 0,it is getting interpreted as unlimited due to which new user belonging to existing tenants are able to create unlimited buckets.

As per Ceph documentation in order to disable the bucket creation for new users, we will need to set the max number of buckets for a user to a negative value. However, Ceph dashboard has a validation for +ve values only. When we tried setting negative value (-1) in Maximum Bucket field, it gives error as "The entered value must be >= 0.".


Related issues

Copied to mgr - Backport #44475: nautilus: mgr/dashboard: Not able to restrict bucket creation for new user Resolved

History

#1 Updated by Volker Theile 4 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 33612

#2 Updated by Lenz Grimmer 4 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler 4 months ago

  • Copied to Backport #44475: nautilus: mgr/dashboard: Not able to restrict bucket creation for new user added

#4 Updated by Nathan Cutler about 1 month ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF