Bug 1928163

Summary: [GSS][RFE] How to set quota on rgw bucket from GUI
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Sonal <sarora>
Component: management-consoleAssignee: Nishanth Thomas <nthomas>
Status: CLOSED WONTFIX QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: assingh, etamir, hnallurv, jefbrown, jthottan, mbenjamin, muagarwa, nthomas, ocs-bugs, odf-bz-bot, shan, skatiyar, uboppana
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: mbenjamin: needinfo? (uboppana)
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-23 13:26:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sonal 2021-02-12 14:19:34 UTC
Description of problem (please be detailed as possible and provide log
snippests):

Rook-ceph operator should have the functionality to set quota on RGW object buckets (Just like noobaa operator have this feature)

- In ceph, we use rados-admin commands (https://access.redhat.com/solutions/2038183) to achieve this feature. 

- It's my understanding that in OCS we do not suggest customers use toolbox pod for this.

Version of all relevant components (if applicable):
OCS 4.6

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Yes, without using toolbox pod, one can't set quota on object buckets 

Is there any workaround available to the best of your knowledge?
Use toolbox pod to execute rados-admin command.

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
3

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
No

Steps to Reproduce:

1. Install OCS 4.6 on (bare metal or VMware)
2. Create Object bucket Claim using RGW storage class.
3. Try to set quota on OBC/OB


Actual results:
Not able to set quota on rgw buckets without using toolbox pod

Expected results:
Rook-ceph operator should have the capability to set quota on Object buckets.

Additional info:

Comment 5 Sébastien Han 2021-02-15 11:14:48 UTC
As per https://bugzilla.redhat.com/show_bug.cgi?id=1928163#c4, Rook already has the capability, so perhaps this is a UI implementation?

Comment 13 Mudit Agarwal 2021-09-27 06:16:09 UTC
AFAIK UI is not covered in 4.9 as part of this epic https://issues.redhat.com/browse/RHSTOR-1879

Comment 32 Sanjal Katiyar 2023-03-16 11:27:32 UTC
Hi @etamir,
is it something that we can create an epic for and target for some future release (wrt to UI) ??