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

Lustre resource agent can mis-identify resource mounts

Details

    • 3
    • 9223372036854775807

    Description

      In the Lustre resource agent lustre_is_mounted() greps the mountpoint from /proc/mounts but if that mountpoint matches a substring of a different mountpoint
      e.g. /mnt/ost1 and /mnt/ost11.
      It will register as already mounted and fail to start.

      Attachments

        Activity

          [LU-10098] Lustre resource agent can mis-identify resource mounts

          John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29352/
          Subject: LU-10098 scripts: Fix mounted check in Lustre RA
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set:
          Commit: 8a886b997c253da0472c3ab115b159f7878c1dde

          gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29352/ Subject: LU-10098 scripts: Fix mounted check in Lustre RA Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 8a886b997c253da0472c3ab115b159f7878c1dde
          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/29351/
          Subject: LU-10098 scripts: Fix mounted check in Lustre RA
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: df96fab178534adb34067b20490a2d0629aabe2f

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29351/ Subject: LU-10098 scripts: Fix mounted check in Lustre RA Project: fs/lustre-release Branch: master Current Patch Set: Commit: df96fab178534adb34067b20490a2d0629aabe2f

          Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: https://review.whamcloud.com/29352
          Subject: LU-10098 scripts: Fix mountpoint check in Lustre RA
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set: 1
          Commit: 4a09e13f9922968cda966eb02cc94b983d964050

          gerrit Gerrit Updater added a comment - Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: https://review.whamcloud.com/29352 Subject: LU-10098 scripts: Fix mountpoint check in Lustre RA Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 4a09e13f9922968cda966eb02cc94b983d964050

          Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: https://review.whamcloud.com/29351
          Subject: LU-10098 scripts: Fix mountpoint check in Lustre RA
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: d77308de6ccd9314fa3653f1a7d844057ee06a72

          gerrit Gerrit Updater added a comment - Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: https://review.whamcloud.com/29351 Subject: LU-10098 scripts: Fix mountpoint check in Lustre RA Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d77308de6ccd9314fa3653f1a7d844057ee06a72

          This issue also affects the LustreZFS agent previously distributed. The fix is to replace the lustre_is_mounted() function as in the following patch.

          utopiabound Nathaniel Clark added a comment - This issue also affects the LustreZFS agent previously distributed. The fix is to replace the lustre_is_mounted() function as in the following patch.

          People

            utopiabound Nathaniel Clark
            utopiabound Nathaniel Clark
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: