Bug 2231337

Summary: The quota modified on nested directories inside cephfs mount is reflected in CLI however UI does not show updated quota values
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: ngangadh
Component: Ceph-DashboardAssignee: Nizamudeen <nia>
Status: NEW --- QA Contact: Sayalee <saraut>
Severity: medium Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 7.0CC: ceph-eng-bugs, cephqe-warriors
Target Milestone: ---   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 ngangadh 2023-08-11 09:29:06 UTC
Description of problem: UI does not show the modified quota value of nested directories of a cephfs mount. 


Version-Release number of selected component (if applicable): 7.0 


How reproducible: 5/5


Steps to Reproduce:
1. Create a cephfs mount either userspace or kernel. 
2. Create directory in side the mount. Eg: dir1 
3. In UI, set the quota for dir1 as max_files = 10 as example. 
4. In CLI, create a nested directory inside 'dir1' say 'nested_dir1' 
5. In UI, the quota on 'nested_dir1' will be set and shown as max_files = 10 (as per design the nested/child directories inherit quota from parent directory) 
6. In UI, modify the quota of 'nested_dir1' to say 5 
7. From CLI, we are able to see the quota got modified to '5' 
8. However, the UI for 'nested_dir1' still shows the quota max_files as '10'


Actual results: UI is not reflecting the modified quota on nested/child directory 


Expected results: Either we say, always the nested directories inherit quota from parent and do not allow the quota to be modified on sub-directories. 
OR it the modification is allowed, then UI should refresh and display the quota appropriately. 


Additional info: