diff --git a/source/cdk/config_schema.py b/source/cdk/config_schema.py index 6dfbeaeb..e8be3892 100644 --- a/source/cdk/config_schema.py +++ b/source/cdk/config_schema.py @@ -107,6 +107,14 @@ '3.10.1', '3.11.0', ] +PARALLEL_CLUSTER_ENROOT_VERSIONS = { + # This can be found on the head node by running 'yum info enroot' + '3.11.0': '3.4.1', # confirmed +} +PARALLEL_CLUSTER_PYXIS_VERSIONS = { + # This can be found on the head node at /opt/parallelcluster/sources + '3.11.0': '0.20.0', # confirmed +} PARALLEL_CLUSTER_MUNGE_VERSIONS = { # This can be found on the head node at /opt/parallelcluster/sources # This can be found on the head node at /etc/chef/local-mode-cache/cache/ @@ -122,7 +130,7 @@ '3.9.3': '0.5.15', # confirmed '3.10.0': '0.5.16', # confirmed '3.10.1': '0.5.16', # confirmed - '3.11.0': '0.5.16', # + '3.11.0': '0.5.16', # confirmed } PARALLEL_CLUSTER_PYTHON_VERSIONS = { # This can be found on the head node at /opt/parallelcluster/pyenv/versions @@ -138,7 +146,7 @@ '3.9.3': '3.9.17', # confirmed '3.10.0': '3.9.19', # confirmed '3.10.1': '3.9.19', # confirmed - '3.11.0': '3.9.20', # + '3.11.0': '3.9.20', # confirmed } PARALLEL_CLUSTER_SLURM_VERSIONS = { # This can be found on the head node at /etc/chef/local-mode-cache/cache/ @@ -154,7 +162,7 @@ '3.9.3': '23.11.7', # confirmed '3.10.0': '23.11.7', # confirmed '3.10.1': '23.11.7', # confirmed - '3.11.0': '23.11.7', # + '3.11.0': '23.11.10', # confirmed } PARALLEL_CLUSTER_PC_SLURM_VERSIONS = { # This can be found on the head node at /etc/chef/local-mode-cache/cache/ @@ -170,7 +178,7 @@ '3.9.3': '23-11-7-1', # confirmed '3.10.0': '23-11-7-1', # confirmed '3.10.1': '23-11-7-1', # confirmed - '3.11.0': '23-11-10-1', # + '3.11.0': '23-11-10-1', # confirmed } SLURM_REST_API_VERSIONS = { '23-02-2-1': '0.0.39', diff --git a/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/config-pyxis.yml b/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/config-pyxis.yml new file mode 100644 index 00000000..4b1fddbd --- /dev/null +++ b/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/config-pyxis.yml @@ -0,0 +1,15 @@ +--- +# APC 3.11.0 added the pyxis Slurm Spank plugin +# This needs to also be built on login nodes. +# Currently, I am not doing that so until then, disable the Spank plugin by +# renaming plugstack.conf + +- name: Rename plugstack.conf to plugstack.conf.back + shell: + cmd: | + set -ex + + plugstack_conf=/opt/slurm/etc/plugstack.conf + if [[ -e $plugstack_conf ]]; then + mv $plugstack_conf ${plugstack_conf}.back + fi diff --git a/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/main.yml b/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/main.yml index 2af9a5d2..8c20859b 100644 --- a/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/main.yml +++ b/source/resources/playbooks/roles/ParallelClusterHeadNode/tasks/main.yml @@ -7,3 +7,4 @@ - { include_tasks: config-slurmrestd.yml, tags: slurmrestd } - { include_tasks: config-licenses.yml, tags: licenses } - { include_tasks: config-slurmdb-accounts.yml, tags: accounts } +- { include_tasks: config-pyxis.yml }