[LU-11461] Lustre resource agent fails with symlink target Created: 03/Oct/18 Updated: 11/Feb/19 Resolved: 06/Nov/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0, Lustre 2.10.5 |
| Fix Version/s: | Lustre 2.12.0, Lustre 2.10.7 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Nathaniel Clark | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | HA, pacemaker | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 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. |
| Comments |
| Comment by Gerrit Updater [ 03/Oct/18 ] |
|
Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33277 |
| Comment by Gerrit Updater [ 06/Nov/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33277/ |
| Comment by Peter Jones [ 06/Nov/18 ] |
|
Landed for 2.12 |
| Comment by Gerrit Updater [ 06/Nov/18 ] |
|
Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33597 |
| Comment by Gerrit Updater [ 05/Jan/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33597/ |
| Comment by cedric milesi [ 06/Feb/19 ] |
|
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).
|
| Comment by Peter Jones [ 06/Feb/19 ] |
|
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 |
| Comment by Nathaniel Clark [ 11/Feb/19 ] |
|
Cedric's issue is addressed in |