Skip to content

Commit

Permalink
reorder compute-init docs notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpb committed Feb 11, 2025
1 parent 3024f70 commit aa880f3
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions ansible/roles/compute_init/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ it also requires an image build with the role name added to the
| bootstrap.yml | (ssh /home fix) | None required - use image build | No |
| bootstrap.yml | (system users) | None required - use image build | No |
| bootstrap.yml | systemd | None required - use image build | No |
| bootstrap.yml | selinux | None required - use image build | Maybe [7] |
| bootstrap.yml | selinux | None required - use image build | Maybe [1] |
| bootstrap.yml | sshd | None at present | No |
| bootstrap.yml | dnf_repos | None at present [8] | - |
| bootstrap.yml | dnf_repos | None at present [2] | - |
| bootstrap.yml | squid | Not relevant for compute nodes | n/a |
| bootstrap.yml | tuned | None | - |
| bootstrap.yml | freeipa_server | Not relevant for compute nodes | n/a |
Expand All @@ -61,49 +61,47 @@ it also requires an image build with the role name added to the
| bootstrap.yml | ansible_init (install) | Not relevant during boot | n/a |
| bootstrap.yml | k3s (install) | Not relevant during boot | n/a |
| hooks/post-bootstrap.yml | ? | None at present | n/a |
| iam.yml | freeipa_client | None at present [1] | Yes |
| iam.yml | freeipa_client | None at present [3] | Yes |
| iam.yml | freeipa_server | Not relevant for compute nodes | n/a |
| iam.yml | sssd | None at present | No |
| filesystems.yml | block_devices | None required - role deprecated | n/a |
| filesystems.yml | nfs | All client functionality | No |
| filesystems.yml | manila | All functionality | No [10] |
| filesystems.yml | manila | All functionality | No [4] |
| filesystems.yml | lustre | None at present | Yes |
| extras.yml | basic_users | All functionality [2] | No |
| extras.yml | eessi | All functionality [3] | No |
| extras.yml | cuda | None required - use image build | Yes [4] |
| extras.yml | basic_users | All functionality [5] | No |
| extras.yml | eessi | All functionality [6] | No |
| extras.yml | cuda | None required - use image build | Yes [7] |
| extras.yml | persist_hostkeys | Not relevant for compute nodes | n/a |
| extras.yml | compute_init (export) | Not relevant for compute nodes | n/a |
| extras.yml | k9s (install) | Not relevant during boot | n/a |
| extras.yml | extra_packages | None at present [9] | - |
| extras.yml | extra_packages | None at present [8] | - |
| slurm.yml | mysql | Not relevant for compute nodes | n/a |
| slurm.yml | rebuild | Not relevant for compute nodes | n/a |
| slurm.yml | openhpc [5] | All slurmd functionality | No |
| slurm.yml | openhpc [9] | All slurmd functionality | No |
| slurm.yml | (set memory limits) | None at present | - |
| slurm.yml | (block ssh) | None at present | - |
| portal.yml | (openondemand server) | Not relevant for compute nodes | n/a |
| portal.yml | (openondemand vnc desktop) | None required - use image build | No |
| portal.yml | (openondemand jupyter server) | None required - use image build | No |
| monitoring.yml | node_exporter | None required - use image build | No |
| monitoring.yml | (other monitoring) | Not relevant for compute nodes | - |
| disable-repos.yml | dnf_repos | None at present [8] | - |
| disable-repos.yml | dnf_repos | None at present [2] | - |
| hooks/post.yml | ? | None at present | - |


Notes:
1. FreeIPA client functionality would be better provided using a client fork
1. `selinux` is set to disabled in StackHPC images.
2. Requirement for this functionality is TBD.
3. FreeIPA client functionality would be better provided using a client fork
which uses pkinit keys rather than OTP to reenrol nodes.
2. Assumes home directory already exists on shared storage.
3. Assumes `cvmfs_config` is the same on control node and all compute nodes
4. If `cuda` role was run during build, the nvidia-persistenced is enabled
4. Assuming default Ceph client version.
5. Assumes home directory already exists on shared storage.
6. Assumes `cvmfs_config` is the same on control node and all compute nodes.
7. If `cuda` role was run during build, the nvidia-persistenced is enabled
and will start during boot.
5. `openhpc` does not need to be added to `compute_init_enable`, this is
8. Would require `dnf_repos`.
9. `openhpc` does not need to be added to `compute_init_enable`, this is
automatically enabled by adding `compute`.
6. Only node-exporter tasks are relevant, and will be done via k3s in a future release.
7. `selinux` is set to disabled in StackHPC images.
8. Requirement TBD
9. Would require dnf_repos
10. Assuming default cephfs version


## Approach
This works as follows:
Expand Down

0 comments on commit aa880f3

Please sign in to comment.