Closed msteggink closed 6 months ago
we will look into disabling the epel repo during the slurm install. success rate depends a bit on how other dependencies are resolved.
it seems that all ohpc packages for slurm trails with -ohpc, which makes it easier to distinguish. as such we have to revise the slurm role to just use the ohpc packages, instead of a mix currently. Then disabling the repo is not needed.
Earlier comment confirmed. slurm_packages_ohpc only contains packages with the trailing -ohpc. The role only installs slurm from epel if openhpc is disabled:
- name: Install slurm packages
yum:
name: '{{ slurm_packages }}'
state: present
tags: install-only
when: enable_openhpc == false
- name: ensure legacy slurm rpms are not installed before configuring ohpc versions
yum:
name: '{{ slurm_packages }}'
state: removed
tags: install-only
when: enable_openhpc == true
....
- name: Install ohpc slurm packages
yum:
name: '{{ slurm_packages_ohpc }}'
state: present
tags: install-only
when: enable_openhpc == true
There is no risk installing wrong packages during TrinityX installation.
typical package set after installing on the controller:
i close the ticket.
dnf search on Rocky 9.3:
Note the "duplicate" packages, from the EPEL and the OpenHPC (preferred).
This could lead to installation of the wrong version (note it comes from epel)
We want to see only the openhpc: