Skip to content

Commit e5769e3

Browse files
committed
fix smslabs env not being configless, add checks for this
1 parent a24b38a commit e5769e3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ansible/slurm.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
- rebuild
2626
- openhpc
2727
tasks:
28+
- assert:
29+
that: "'enable_configless' in openhpc_config.SlurmctldParameters | default([])"
30+
fail_msg: |
31+
'enable_configless' not found in openhpc_config.SlurmctldParameters - is variable openhpc_config overridden?
32+
Additional slurm.conf parameters should be provided using variable openhpc_config_extra.
33+
success_msg: Checked Slurm will be configured for configless operation
2834
- import_role:
2935
name: stackhpc.slurm_openstack_tools.rebuild
3036

environments/smslabs-example/inventory/group_vars/openhpc/overrides.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openhpc_config:
1+
openhpc_config_extra:
22
SlurmctldDebug: debug
33
SlurmdDebug: debug
44
openhpc_slurm_partitions:

0 commit comments

Comments
 (0)