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

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

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

          [LU-10101] sanity-quota test 7e input to quota_error() is incorrect
          pjones Peter Jones added a comment -

          Landed for 2.11

          pjones Peter Jones added a comment - Landed for 2.11

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29358/
          Subject: LU-10101 tests: correct sanity-quota call to quota_error
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 6ce91e9e9503390ef6c8d817ceed5afbf1d41124

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29358/ Subject: LU-10101 tests: correct sanity-quota call to quota_error Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6ce91e9e9503390ef6c8d817ceed5afbf1d41124

          James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/29358
          Subject: LU-10101 tests: correct sanity-quota call to quota_error
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: d10a2ed14125da74af8e7b4b3a79dfbf84409dea

          gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/29358 Subject: LU-10101 tests: correct sanity-quota call to quota_error Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d10a2ed14125da74af8e7b4b3a79dfbf84409dea

          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: