File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
ansible/roles/cluster_infra/templates
environments/.caas/inventory/group_vars Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ output "cluster_nodes" {
3232 }
3333 }
3434 ],
35- {% for partition in openhpc_slurm_partitions %}
35+ {% for partition in openhpc_partitions %}
3636 [
3737 for compute in openstack_compute_instance_v2.{{ partition.name }}: {
3838 name = compute.name
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ resource "openstack_networking_port_v2" "control_storage" {
282282###
283283# Workers
284284###
285- {% for partition in openhpc_slurm_partitions %}
285+ {% for partition in openhpc_partitions %}
286286# Primary network
287287resource "openstack_networking_port_v2" "{{ partition.name }}" {
288288 count = {{ partition.count }}
@@ -499,7 +499,7 @@ resource "openstack_compute_instance_v2" "control" {
499499 }
500500}
501501
502- {% for partition in openhpc_slurm_partitions %}
502+ {% for partition in openhpc_partitions %}
503503resource " openstack_compute_instance_v2" " {{ partition.name }}" {
504504 count = {{ partition.count }}
505505
Original file line number Diff line number Diff line change 11openhpc_cluster_name : " {{ cluster_name }}"
22
3- # Provision a single "standard" compute partition using the supplied
3+ # Provision a single "standard" compute nodegroup using the supplied
44# node count and flavor
5- openhpc_slurm_partitions : " {{ hostvars[groups['openstack'][0]]['openhpc_slurm_partitions '] }}"
5+ openhpc_nodegroups : " {{ hostvars[groups['openstack'][0]]['openhpc_nodegroups '] }}"
Original file line number Diff line number Diff line change 11---
22openondemand_auth : basic_pam
3- openondemand_jupyter_partition : " {{ openhpc_slurm_partitions [0]['name'] }}"
4- openondemand_desktop_partition : " {{ openhpc_slurm_partitions [0]['name'] }}"
3+ openondemand_jupyter_partition : " {{ openhpc_partitions [0]['name'] }}"
4+ openondemand_desktop_partition : " {{ openhpc_partitions [0]['name'] }}"
55
66httpd_listen_addr_port :
77 - 80
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ terraform_project_path: "{{ playbook_dir }}/terraform"
1616terraform_state : " {{ cluster_state | default('present') }}"
1717cluster_ssh_user : rocky
1818
19- # Provision a single "standard" compute partition using the supplied
19+ # Provision a single "standard" compute nodegroup using the supplied
2020# node count and flavor
21- openhpc_slurm_partitions :
21+ openhpc_nodegroups :
2222 - name : " standard"
2323 count : " {{ compute_count }}"
2424 flavor : " {{ compute_flavor }}"
You can’t perform that action at this time.
0 commit comments