File tree 10 files changed +67
-7
lines changed
common/inventory/group_vars/all
10 files changed +67
-7
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ def to_ood_regex(items):
41
41
eg {{ [compute-001, compute-002, control] | to_regex }} -> '(compute-\d+)|(control)'
42
42
"""
43
43
44
+ # NB: for python3.12+ the \d in this function & docstring
45
+ # need to be raw strings. See https://docs.python.org/3/reference/lexical_analysis.html
46
+
44
47
# There's a python bug which means re.sub() can't use '\d' in the replacement so
45
48
# have to do replacement in two stages:
46
49
r = [re .sub (r"\d+" , 'XBACKSLASHX' , v ) for v in items ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dnf_repos_filenames:
17
17
dnf_repos_version_filenames : " {{ dnf_repos_filenames[ansible_distribution_major_version] }}"
18
18
19
19
# epel installed separately
20
- dnf_repos_repolist :
20
+ dnf_repos_default_repolist :
21
21
- file : " {{ dnf_repos_version_filenames.baseos }}"
22
22
name : baseos
23
23
base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.baseos[ansible_distribution_version] | appliances_repo_to_subpath }}"
@@ -30,6 +30,19 @@ dnf_repos_repolist:
30
30
- file : " {{ dnf_repos_version_filenames.extras }}"
31
31
name : extras
32
32
base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.extras[ansible_distribution_version] | appliances_repo_to_subpath }}"
33
+ - file : ceph
34
+ name : Ceph
35
+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.ceph[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
36
+
37
+ dnf_repos_openhpc_repolist :
38
+ - name : OpenHPC
39
+ file : OpenHPC
40
+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.openhpc_base[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
41
+ - name : OpenHPC-updates
42
+ file : OpenHPC
43
+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.openhpc_updates[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
44
+
45
+ dnf_repos_repolist : " {{ dnf_repos_default_repolist + (dnf_repos_openhpc_repolist if (openhpc_install_type | default('ohpc')) == 'ohpc' else []) }}"
33
46
34
47
dnf_repos_epel_baseurl : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.epel[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
35
48
dnf_repos_epel_description : " epel"
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ pulp_site_rpm_info:
22
22
subpath : " {{ appliances_pulp_repos.extras[pulp_site_target_distribution_version] | appliances_repo_to_subpath }}"
23
23
- name : " epel-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.epel[pulp_site_target_distribution_version_major].timestamp }}"
24
24
subpath : " {{ appliances_pulp_repos.epel[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
25
+ - name : " ohpc-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.openhpc_base[pulp_site_target_distribution_version_major].timestamp }}"
26
+ subpath : " {{ appliances_pulp_repos.openhpc_base[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
27
+ - name : " ohpc-updates-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major].timestamp }}"
28
+ subpath : " {{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
29
+ - name : " ceph-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major].timestamp }}"
30
+ subpath : " {{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
25
31
26
32
pulp_site_rpm_repo_defaults :
27
33
remote_username : " {{ pulp_site_upstream_username }}"
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ PYTHON_VERSION=""
17
17
if [[ " $OS " == " ubuntu" && " $MAJOR_VERSION " == " 22" ]]; then
18
18
PYTHON_VERSION=" /usr/bin/python3.10"
19
19
elif [[ " $OS " == " rocky" && " $MAJOR_VERSION " == " 8" ]]; then
20
+ # python3.9+ doesn't have selinux bindings
20
21
PYTHON_VERSION=" /usr/bin/python3.8" # use `sudo yum install python38` on Rocky Linux 8 to install this
21
22
elif [[ " $OS " == " rocky" && " $MAJOR_VERSION " == " 9" ]]; then
22
23
PYTHON_VERSION=" /usr/bin/python3.9"
Original file line number Diff line number Diff line change 1
1
{
2
2
"cluster_image_names" : {
3
3
"RL8" : {
4
- "default" : " openhpc-RL8-250102-1138-77cfc703 "
4
+ "default" : " openhpc-RL8-250107-1534-b03caaf3 "
5
5
},
6
6
"RL9" : {
7
- "default" : " openhpc-RL9-250102-1139-77cfc703 "
7
+ "default" : " openhpc-RL9-250107-1535-b03caaf3 "
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -151,3 +151,24 @@ appliances_pulp_repos:
151
151
' 8 ' :
152
152
timestamp : 20241216T235733
153
153
path : epel/8/Everything/x86_64
154
+ openhpc_base :
155
+ ' 8 ' :
156
+ path : OpenHPC/2/EL_8
157
+ timestamp : 20241218T154614
158
+ ' 9 ' :
159
+ path : OpenHPC/3/EL_9
160
+ timestamp : 20241218T154614
161
+ openhpc_updates :
162
+ ' 8 ' :
163
+ path : OpenHPC/2/updates/EL_8
164
+ timestamp : 20241218T154614
165
+ ' 9 ' :
166
+ path : OpenHPC/3/updates/EL_9
167
+ timestamp : 20241218T154614
168
+ ceph :
169
+ ' 8 ' :
170
+ timestamp : 20231104T015751
171
+ path : centos/8-stream/storage/x86_64/ceph-quincy
172
+ ' 9 ' :
173
+ timestamp : 20240923T233036
174
+ path : centos/9-stream/storage/x86_64/ceph-reef
Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ openhpc_config_extra: {}
39
39
openhpc_config : " {{ openhpc_config_default | combine(openhpc_config_extra, list_merge='append') }}"
40
40
openhpc_state_save_location : " {{ appliances_state_dir + '/slurmctld' if appliances_state_dir is defined else '/var/spool' }}"
41
41
42
+ openhpc_install_type : ohpc # 'ohpc' or 'generic', see https://github.com/stackhpc/ansible-slurm-appliance/pull/326
43
+
44
+ # Empty repo lists from stackhpc.openhpc role defaults, as these repofiles are
45
+ # now generated by dnf_repos to allow injecting Ark creds:
46
+ ohpc_openhpc_repos :
47
+ " 9 " : []
48
+ " 8 " : []
49
+
50
+ # overriding to ensure doesn't overwrite Ark epel repo
42
51
ohpc_default_extra_repos :
43
- " 9 " : [] # overriding to ensure doesn't overwrite ark epel repo
52
+ " 9 " : []
44
53
" 8 " : []
Original file line number Diff line number Diff line change
1
+ # Empty repo lists from stackhpc.ansible-role-os-manila-mount role defaults, as these repofiles are
2
+ # now generated by dnf_repos to allow injecting Ark creds:
3
+ os_manila_mount_ceph_rpm_repos : []
Original file line number Diff line number Diff line change 1
- ansible == 8.0.0
1
+ ansible == 6.7.0 # cloudalchemy.prometheus uses ansible.builtin.include, removed in ansible-core==2.16 => ansible==9
2
2
openstacksdk
3
3
python-openstackclient == 6.6.1 # v7.0.0 has a bug re. rebuild
4
4
python-manilaclient
@@ -9,4 +9,4 @@ cookiecutter
9
9
selinux # this is a shim to avoid having to use --system-site-packages, you still need sudo yum install libselinux-python3
10
10
netaddr
11
11
matplotlib
12
- pulp-cli == 0.29 .2
12
+ pulp-cli == 0.23 .2
Original file line number Diff line number Diff line change 21
21
version : v3.1.5
22
22
- src : https://github.com/stackhpc/ansible-role-os-manila-mount.git
23
23
name : stackhpc.os-manila-mount
24
- version : v24.11.0 # Support ceph quincy for RL9
24
+ version : v25.1.1
25
25
26
26
collections :
27
27
- name : containers.podman
@@ -49,6 +49,10 @@ collections:
49
49
- name : https://github.com/azimuth-cloud/ansible-collection-image-utils
50
50
type : git
51
51
version : 0.4.0
52
+ # stackhpc.pulp has pulp.squeezer as dependency, any version, but latest
53
+ # requires newer ansible than can install
54
+ - name : pulp.squeezer
55
+ version : 0.0.15
52
56
- name : stackhpc.pulp
53
57
version : 0.5.5
54
58
...
You can’t perform that action at this time.
0 commit comments