Skip to content

Commit a7b5cc1

Browse files
committed
wip: fix caas partitions
1 parent c8af52e commit a7b5cc1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

environments/.caas/hooks/pre.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
roles:
1515
- cluster_infra
1616

17+
- name: DEBUG
18+
hosts: all
19+
tasks:
20+
- debug:
21+
msg: |
22+
openhpc_nodegroups: {{ openhpc_nodegroups }}
23+
openhpc_partitions: {{ openhpc_partitions }}
24+
1725
# Ensure that the secrets are generated and persisted on the control host
1826
- name: Generate and persist secrets
1927
hosts: control

environments/.caas/inventory/group_vars/all/openhpc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ openhpc_cluster_name: "{{ cluster_name }}"
33
# Provision a single "standard" compute nodegroup using the supplied
44
# node count and flavor
55
openhpc_nodegroups: "{{ hostvars[groups['openstack'][0]]['openhpc_nodegroups'] }}"
6+
openhpc_user_partitions: "{{ openhpc_nodegroups }}" # create partition for each nodegroup (actually role default) - this is what we'd expect to be changed

0 commit comments

Comments
 (0)