Skip to content

Commit 67ff429

Browse files
committed
add fix for Lustre 9.5 bug
1 parent 9541669 commit 67ff429

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

ansible/roles/lustre/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Install and configure a Lustre client. This builds RPM packages from source.
77
**NB:** Currently this only supports RockyLinux 9.
88

99
## Role Variables
10-
11-
- `lustre_version`: Optional str. Version of lustre to build, default `2.15.6` which is the first version with EL9.5 support
10+
The following variables control configuration of Lustre clients.
1211
- `lustre_lnet_label`: Optional str. The "lnet label" part of the host's NID, e.g. `tcp0`. Only the `tcp` protocol type is currently supported. Default `tcp`.
1312
- `lustre_mgs_nid`: Required str. The NID(s) for the MGS, e.g. `192.168.227.11@tcp1` (separate mutiple MGS NIDs using `:`).
1413
- `lustre_mounts`: Required list. Define Lustre filesystems and mountpoints as a list of dicts with keys:
@@ -19,7 +18,11 @@ Install and configure a Lustre client. This builds RPM packages from source.
1918
- `lustre_mount_state`. Optional default mount state for all mounts, as for [ansible.posix.mount](https://docs.ansible.com/ansible/latest/collections/ansible/posix/mount_module.html#parameter-state). Default is `mounted`.
2019
- `lustre_mount_options`. Optional default mount options. Default values are systemd defaults from [Lustre client docs](http://wiki.lustre.org/Mounting_a_Lustre_File_System_on_Client_Nodes).
2120

22-
The following variables control the package build and and install and should not generally be required:
21+
The following variables control the package build and and install:
22+
- `lustre_version`: Optional str. Version of lustre to build, default `2.15.6/lu-18085`
23+
which is the first version with EL9.5 support, plus a fix for https://jira.whamcloud.com/browse/LU-18085.
24+
- `lustre_repo`: Optional str. URL for Lustre repo. Default is a StackHPC repo
25+
incorporating the above fix.
2326
- `lustre_build_packages`: Optional list. Prerequisite packages required to build Lustre. See `defaults/main.yml`.
2427
- `lustre_build_dir`: Optional str. Path to build lustre at, default `/tmp/lustre-release`.
2528
- `lustre_configure_opts`: Optional list. Options to `./configure` command. Default builds client rpms supporting Mellanox OFED, without support for GSS keys.

ansible/roles/lustre/defaults/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
lustre_version: '2.15.6' # https://www.lustre.org/lustre-2-15-6-released/
1+
lustre_repo: https://github.com/stackhpc/lustre-release.git
2+
lustre_version: '2.15.6/lu-18085' # Fixes https://jira.whamcloud.com/browse/LU-18085
23
lustre_lnet_label: tcp
34
#lustre_mgs_nid:
45
lustre_mounts: []

ansible/roles/lustre/tasks/install.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
register: _lustre_dnf_build_packages
55

66
- name: Clone lustre git repo
7-
# https://git.whamcloud.com/?p=fs/lustre-release.git;a=summary
87
ansible.builtin.git:
9-
repo: "{{ lustre_git_repo }}"
8+
repo: "{{ lustre_repo }}"
109
dest: "{{ lustre_build_dir }}"
1110
version: "{{ lustre_version }}"
1211

0 commit comments

Comments
 (0)