Skip to content

Commit 3677f26

Browse files
committed
merge ark ceph
2 parents 726dba2 + b03caaf commit 3677f26

File tree

7 files changed

+59
-5
lines changed

7 files changed

+59
-5
lines changed

ansible/roles/dnf_repos/defaults/main.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnf_repos_filenames:
1717
dnf_repos_version_filenames: "{{ dnf_repos_filenames[ansible_distribution_major_version] }}"
1818

1919
# epel installed separately
20-
dnf_repos_repolist:
20+
dnf_repos_default_repolist:
2121
- file: "{{ dnf_repos_version_filenames.baseos }}"
2222
name: baseos
2323
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:
3030
- file: "{{ dnf_repos_version_filenames.extras }}"
3131
name: extras
3232
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 []) }}"
3346

3447
dnf_repos_epel_baseurl: "{{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.epel[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
3548
dnf_repos_epel_description: "epel"

ansible/roles/pulp_site/defaults/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ pulp_site_rpm_info:
2222
subpath: "{{ appliances_pulp_repos.extras[pulp_site_target_distribution_version] | appliances_repo_to_subpath }}"
2323
- name: "epel-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.epel[pulp_site_target_distribution_version_major].timestamp }}"
2424
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 }}"
2531

2632
pulp_site_rpm_repo_defaults:
2733
remote_username: "{{ pulp_site_upstream_username }}"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cluster_image": {
3-
"RL8": "openhpc-RL8-250102-1138-77cfc703",
4-
"RL9": "openhpc-RL9-250102-1139-77cfc703"
3+
"RL8": "openhpc-RL8-250106-0916-f8603056",
4+
"RL9": "openhpc-RL9-250106-0916-f8603056"
55
}
66
}

environments/common/inventory/group_vars/all/defaults.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,25 @@ appliances_pulp_repos:
152152
'8':
153153
timestamp: 20241216T235733
154154
path: epel/8/Everything/x86_64
155+
openhpc_base:
156+
'8':
157+
path: OpenHPC/2/EL_8
158+
timestamp: 20241218T154614
159+
'9':
160+
path: OpenHPC/3/EL_9
161+
timestamp: 20241218T154614
162+
openhpc_updates:
163+
'8':
164+
path: OpenHPC/2/updates/EL_8
165+
timestamp: 20241218T154614
166+
'9':
167+
path: OpenHPC/3/updates/EL_9
168+
timestamp: 20241218T154614
169+
ceph:
170+
'8':
171+
timestamp: 20231104T015751
172+
path: centos/8-stream/storage/x86_64/ceph-quincy
173+
'9':
174+
timestamp: 20240923T233036
175+
path: centos/9-stream/storage/x86_64/ceph-reef
155176
# END Marker for ansible/ci/update_timestamps.yml (GH workflow managed)

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ openhpc_config_extra: {}
3939
openhpc_config: "{{ openhpc_config_default | combine(openhpc_config_extra, list_merge='append') }}"
4040
openhpc_state_save_location: "{{ appliances_state_dir + '/slurmctld' if appliances_state_dir is defined else '/var/spool' }}"
4141

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
4251
ohpc_default_extra_repos:
43-
"9": [] #overriding to ensure doesn't overwrite ark epel repo
52+
"9": []
4453
"8": []
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
os_manila_mount_ceph_rpm_repos: []
2+
os_manila_mount_ceph_min_versions:
3+
Rocky:
4+
"8": '17.2.7' # quincy
5+
"9": '18.2.4' # reef

requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ roles:
2121
version: v3.1.5
2222
- src: https://github.com/stackhpc/ansible-role-os-manila-mount.git
2323
name: stackhpc.os-manila-mount
24-
version: v24.11.0 # Support ceph quincy for RL9
24+
version: v25.1.0
2525

2626
collections:
2727
- name: containers.podman

0 commit comments

Comments
 (0)