-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop support for CentOS 7 (OpenHPC v1.3) (#152)
* remove drain and resume functionality * allow install and runtime taskbooks to be used directly * fix linter complaints * fix slurmctld state * move common tasks to pre.yml * remove unused openhpc_slurm_service * fix ini_file use for some community.general versions * fix var precedence in molecule test13 * fix var precedence in all molecule tests * fix slurmd always starting on control node * remove unused ohpc_slurm_services var * remove support for CentOS7 / OpenHPC * remove post-configure, not needed as of slurm v20.02 * remove unused openhpc_version
- Loading branch information
Showing
28 changed files
with
196 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
tasks: | ||
- name: "Include ansible-role-openhpc" | ||
include_role: | ||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
--- | ||
- name: Create initial cluster | ||
hosts: initial | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
openhpc_slurm_configless: true | ||
tasks: | ||
- name: "Include ansible-role-openhpc" | ||
include_role: | ||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
openhpc_slurm_configless: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_control'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_control'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
openhpc_slurm_configless: true | ||
openhpc_login_only_nodes: 'testohpc_login' | ||
openhpc_config: | ||
FirstJobId: 13 | ||
SlurmctldSyslogDebug: error | ||
tasks: | ||
- name: "Include ansible-role-openhpc" | ||
include_role: | ||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_control'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_control'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
openhpc_slurm_configless: true | ||
openhpc_login_only_nodes: 'testohpc_login' | ||
openhpc_config: | ||
FirstJobId: 13 | ||
SlurmctldSyslogDebug: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
extra_nodes: | ||
# Need to specify IPs for the non-existent State=DOWN nodes, because otherwise even in this state slurmctld will exclude a node with no lookup information from the config. | ||
# We use invalid IPs here (i.e. starting 0.) to flag the fact the nodes shouldn't exist. | ||
# Note this has to be done via slurm config rather than /etc/hosts due to Docker limitations on modifying the latter. | ||
- NodeName: fake-x,fake-y | ||
NodeAddr: 0.42.42.0,0.42.42.1 | ||
State: DOWN | ||
CPUs: 1 | ||
- NodeName: fake-2cpu-[3,7-9] | ||
NodeAddr: 0.42.42.3,0.42.42.7,0.42.42.8,0.42.42.9 | ||
State: DOWN | ||
CPUs: 2 | ||
openhpc_cluster_name: testohpc | ||
openhpc_slurm_configless: true | ||
tasks: | ||
- name: "Include ansible-role-openhpc" | ||
include_role: | ||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
extra_nodes: | ||
# Need to specify IPs for the non-existent State=DOWN nodes, because otherwise even in this state slurmctld will exclude a node with no lookup information from the config. | ||
# We use invalid IPs here (i.e. starting 0.) to flag the fact the nodes shouldn't exist. | ||
# Note this has to be done via slurm config rather than /etc/hosts due to Docker limitations on modifying the latter. | ||
- NodeName: fake-x,fake-y | ||
NodeAddr: 0.42.42.0,0.42.42.1 | ||
State: DOWN | ||
CPUs: 1 | ||
- NodeName: fake-2cpu-[3,7-9] | ||
NodeAddr: 0.42.42.3,0.42.42.7,0.42.42.8,0.42.42.9 | ||
State: DOWN | ||
CPUs: 2 | ||
openhpc_cluster_name: testohpc | ||
openhpc_slurm_configless: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
tasks: | ||
- name: "Include ansible-role-openhpc" | ||
include_role: | ||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" | ||
vars: | ||
openhpc_enable: | ||
control: "{{ inventory_hostname in groups['testohpc_login'] }}" | ||
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}" | ||
runtime: true | ||
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}" | ||
openhpc_slurm_partitions: | ||
- name: "compute" | ||
openhpc_cluster_name: testohpc | ||
|
Oops, something went wrong.