Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10101

sanity-quota test 7e input to quota_error() is incorrect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.11.0
    • Fix Version/s: Lustre 2.11.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      In sanity-quota test_7e, we call quota_error at

      1483         # hardlimit should be cleared on slave during reintegration
      1484         $RUNAS createmany -m $TESTFILE $((ilimit + 1)) ||
      1485                 quota_error -u $TSTUSR "create failed, expect success"
      

      quota_error passes the input to quota_scan and neither routine accounts for nor understand input/flags with a “-“ before them. So, the “-u” should be just “u”.

      This does not cause any errors, but, if test 7e fails the call to createmany, we will not get the quota information printed to the logs.

        Attachments

          Activity

            People

            • Assignee:
              jamesanunez James Nunez
              Reporter:
              jamesanunez James Nunez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: