Skip to content

Commit ae6ec29

Browse files
authored
feat(disk): add Lustre filesystem support for Azure Managed Lustre and AWS FSx (#1189)
Add support for Lustre filesystem type in DefaultNFSFsTypeFunc(), enabling gpud to properly monitor Lustre mounts (Azure Managed Lustre, AWS FSx for Lustre) as shared storage volumes. Previously, when customers configured Lustre paths as NFS volumes, the NFS component would fail validation because Lustre's fstype is "lustre", not "nfs*". This caused nodes to be marked degraded even though the storage was accessible. As a workaround, customers mounted Lustre as node-local volumes, but this bypassed health monitoring entirely - when mounts failed, nodes weren't marked degraded and jobs were scheduled on broken nodes. This change: - Adds "lustre" to DefaultNFSFsTypeFunc() alongside wekafs, virtiofs, nfs* - Adds comprehensive test coverage for Lustre mount detection - Includes real-world lsblk JSON test data from Azure customer environment Signed-off-by: Gyuho Lee <gyuhol@nvidia.com> Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
1 parent 20c7ae2 commit ae6ec29

5 files changed

Lines changed: 651 additions & 1 deletion

File tree

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ linters:
2323
# Default is to use a neutral variety of English.
2424
# Setting locale to US will correct the British spelling of 'colour' to 'color'.
2525
locale: US
26+
ignore-rules:
27+
- lustre
28+
- Lustre
2629
custom:
2730
# ref. https://github.com/uber-go/nilaway
2831
nilaway:

0 commit comments

Comments
 (0)