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

Lustre resource agent fails with symlink target

Details

    • 3
    • 9223372036854775807

    Description

      If Lustre resource agent is configured with a target device that is a symlink (e.g. /dev/disk/by-id/scsi-3...)

      The "is mounted" check will fail because findmnt will return the resolved path, which will not match the symlink.

      Attachments

        Issue Links

          Activity

            [LU-11461] Lustre resource agent fails with symlink target

            Cedric's issue is addressed in LU-11947

            utopiabound Nathaniel Clark added a comment - Cedric's issue is addressed in LU-11947
            pjones Peter Jones added a comment -

            Cedric 

            Can you please open a new ticket that is linked to this one with the details so we can correct this in 2.12.1?

            Thanks

            Peter

            pjones Peter Jones added a comment - Cedric  Can you please open a new ticket that is linked to this one with the details so we can correct this in 2.12.1? Thanks Peter

            Interestingly this patch introduced a bug in my configuration (Lustre 2.12, ZFS as backend). Basically the realpath function is NOT returning an empty string when run against a ZPOOL/FS causing the function to fail.  (rc=2). 

             

            cedric.milesi cedric milesi (Inactive) added a comment - Interestingly this patch introduced a bug in my configuration (Lustre 2.12, ZFS as backend). Basically the realpath function is NOT returning an empty string when run against a ZPOOL/FS causing the function to fail.  (rc=2).   

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33597/
            Subject: LU-11461 scripts: Support symlink target
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 14236f475f7fecd35934289b966d2bfe16a0d163

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33597/ Subject: LU-11461 scripts: Support symlink target Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 14236f475f7fecd35934289b966d2bfe16a0d163

            Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33597
            Subject: LU-11461 scripts: Support symlink target
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 3e205ee8ad0ae859fdae0bb350d0d7804c6509ed

            gerrit Gerrit Updater added a comment - Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33597 Subject: LU-11461 scripts: Support symlink target Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 3e205ee8ad0ae859fdae0bb350d0d7804c6509ed
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33277/
            Subject: LU-11461 scripts: Support symlink target
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c36d70272541d3ba3dd9051e6f50cf89eaba639f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33277/ Subject: LU-11461 scripts: Support symlink target Project: fs/lustre-release Branch: master Current Patch Set: Commit: c36d70272541d3ba3dd9051e6f50cf89eaba639f

            Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33277
            Subject: LU-11461 scripts: Support symlink target
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d68ef000a714eae5b7fa7e1e65a6c9f458c2909e

            gerrit Gerrit Updater added a comment - Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33277 Subject: LU-11461 scripts: Support symlink target Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d68ef000a714eae5b7fa7e1e65a6c9f458c2909e

            People

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

              Dates

                Created:
                Updated:
                Resolved: