[Bugs] [Bug 1408359] New: `quota list` command displays 'N/A' when root of the volume is empty

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 23 04:49:55 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1408359

            Bug ID: 1408359
           Summary: `quota list` command displays 'N/A' when root of the
                    volume is empty
           Product: GlusterFS
           Version: mainline
         Component: quota
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: anoopcs at redhat.com
                CC: bugs at gluster.org



Created attachment 1234949
  --> https://bugzilla.redhat.com/attachment.cgi?id=1234949&action=edit
failing-test-case.t

Description of problem:
Even after setting a particular quota limit on '/' i.e, root of the volume,
subsequent quota list command displays 'N/A' as usage limit for '/'.

How reproducible:
Always

Steps to Reproduce:
1. Apply https://review.gluster.org/#/c/12256/ on top of master branch.
2. Build and install GlusterFS
3. Run the attached test case named 'failing-test-case.t'

Actual results:
EXPECT_WITHIN $MARKER_UPDATE_TIMEOUT "10.0MB" quota_list_field "/" 5
not ok 6 Got "N/A" instead of "10.0MB", LINENUM:17

Expected results:
Tests should complete successfully.

Additional info:
As of now root of the volume is non-empty as we were having .trashcan directory
created by default. But with the patch mentioned in 'Steps to Reproduce' this
behaviour is being targeted to change by 3.10. See
https://github.com/gluster/glusterfs/issues/65 for more details.

A modified test case named 'passing-test-case.t' is also attached which runs
successfully by creating a test file at root of the volume.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list