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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • Lustre 2.11.0
    • 3
    • 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

            jamesanunez James Nunez (Inactive)
            jamesanunez James Nunez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: