Bug 1271178 - rm -rf on /run/gluster/vol/<directory name>/ is not showing quota output header for other quota limit applied directories
Summary: rm -rf on /run/gluster/vol/<directory name>/ is not showing quota output head...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.1.2
Assignee: Manikandan
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On: 1269375 1271490
Blocks: 1260783
TreeView+ depends on / blocked
 
Reported: 2015-10-13 10:40 UTC by Manikandan
Modified: 2016-09-20 04:29 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.7.5-5
Doc Type: Bug Fix
Doc Text:
Previously, when an rm -rf was performed on /<mount point>/<directory with quota limit set>, and 'gluster v quota <volname> list' command was issued, the quota output header was not shown. With this fix, the quota output header is displayed.
Clone Of: 1269375
Environment:
Last Closed: 2016-03-01 05:38:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Description Manikandan 2015-10-13 10:40:18 UTC
+++ This bug was initially created as a clone of Bug #1269375 +++

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Create some directories under the mount point and set limits.
2. Remove one directory by issuing rm -rf /run/gluster/vol/dir/
3. Issue gluster v quota vol list/list-objects

Actual results:
gluster v quota vol list/list-objects should show quota output header and then the list. But it plainly shows the list without a header.
/test                                     5.0MB     80%(4.0MB)   0Bytes   5.0MB              No                   No



Expected results:

                  Path                   Hard-limit  Soft-limit      Used  Available  Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/test                                     5.0MB     80%(4.0MB)   0Bytes   5.0MB              No                   No




Additional info:

--- Additional comment from Vijay Bellur on 2015-10-13 05:09:34 EDT ---

REVIEW: http://review.gluster.org/12345 (cli/quota : rm -rf on /<mountpoint>/<dir> is not showing quota header) posted (#1) for review on master by Manikandan Selvaganesh (mselvaga)

Comment 6 Nag Pavan Chilakam 2015-10-15 09:17:45 UTC
gave ack, as the merge failed without ack and tiering code merge was getting affected without this merge

Comment 11 Manikandan 2015-10-16 06:23:58 UTC
Upstream patch: http://review.gluster.org/12345
Release-3.7 : http://review.gluster.org/12356

Comment 13 Anil Shah 2015-11-12 10:53:49 UTC
Bug verified on build glusterfs-3.7.5-6.el7rhgs.x86_64.

Comment 15 errata-xmlrpc 2016-03-01 05:38:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html


Note You need to log in before you can comment on or make changes to this bug.