Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
ca14a61
Update omnia.sh
SOWJANYAJAGADISH123 Feb 11, 2026
46c63c0
cleanup of files under offline_repo dir during pulp cleanup
pullan1 Feb 11, 2026
7ef0c31
removing doca-ofed from nfs share
Katakam-Rakesh Feb 12, 2026
163d71c
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
Katakam-Rakesh Feb 12, 2026
b4f064e
Upgrade of input credential files to 2.1
mithileshreddy04 Feb 12, 2026
0e6d26f
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 12, 2026
d3b9c74
Added new package type rpm_repo
pullan1 Feb 12, 2026
2898ff0
input config changes
pullan1 Feb 12, 2026
680aef3
Fixed ansible lint issues
mithileshreddy04 Feb 12, 2026
ad7a5c0
fixed lint issues
mithileshreddy04 Feb 12, 2026
31c5600
Fixed ansible lint issues
mithileshreddy04 Feb 12, 2026
da54234
fixed ansible lint issues
mithileshreddy04 Feb 12, 2026
cdaa98d
offline build-image and discovery updates (#3956)
balajikumaran-c-s Feb 12, 2026
01dece9
Added flow if any munge key update, will be useful if munge key changes
jagadeeshnv Feb 12, 2026
b7a9238
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
jagadeeshnv Feb 12, 2026
19a000c
lint issue fix
jagadeeshnv Feb 12, 2026
471d4e7
Update main.yml for copyright
Katakam-Rakesh Feb 12, 2026
94a244f
centralize oim_metadata.yml path and remove static backup_location va…
mithileshreddy04 Feb 12, 2026
e55a254
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 12, 2026
2b70f59
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 12, 2026
cd1f4d0
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
SOWJANYAJAGADISH123 Feb 13, 2026
b64916b
Update omnia.sh
SOWJANYAJAGADISH123 Feb 13, 2026
d71aa60
Merge pull request #3961 from SOWJANYAJAGADISH123/pub/q1_dev
abhishek-sa1 Feb 13, 2026
0f35058
Merge pull request #3965 from mithileshreddy04/pub/q1_dev
abhishek-sa1 Feb 13, 2026
8c1d018
Merge pull request #3968 from Katakam-Rakesh/pub/q1_dev
snarthan Feb 13, 2026
a39e26f
updating /etc/hosts entries
Nagachandan-P Feb 13, 2026
00fd2e2
Update service_k8s.json
Katakam-Rakesh Feb 13, 2026
7b98e5e
lint issue fixed
Nagachandan-P Feb 13, 2026
6ff5423
Add user registry to crio.conf
VrindaMarwah Feb 13, 2026
d7c8906
Merge pull request #3962 from pullan1/pub/q1_dev
jagadeeshnv Feb 13, 2026
6414e4c
Merge pull request #3973 from Katakam-Rakesh/pub/q1_dev
snarthan Feb 13, 2026
a70b838
duplicated hostnames
Nagachandan-P Feb 13, 2026
4a07ea4
Merge pull request #3971 from Nagachandan-P/pub/q1_dev
jagadeeshnv Feb 13, 2026
aba17de
Update omnia.sh
SOWJANYAJAGADISH123 Feb 13, 2026
7c79b59
resolve input validation + lint
VrindaMarwah Feb 13, 2026
f614c4b
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
jagadeeshnv Feb 13, 2026
c51ceeb
Merge pull request #3977 from SOWJANYAJAGADISH123/pub/q1_dev
abhishek-sa1 Feb 13, 2026
40f1595
Removed slurmd dependency
jagadeeshnv Feb 13, 2026
b798d68
Merge pull request #3967 from jagadeeshnv/pub/q1_dev
jagadeeshnv Feb 13, 2026
80a5126
Added user guidance messages in rollback_omnia.yml and upgrade_cluste…
mithileshreddy04 Feb 13, 2026
ce80f57
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 13, 2026
3f516a3
Fix for local repo is failing as cuda run package download issue
pullan1 Feb 13, 2026
1563faf
Merge pull request #3979 from pullan1/pub/q1_dev
snarthan Feb 13, 2026
d138e3a
Modification of Rollback guidance message
mithileshreddy04 Feb 16, 2026
12d8502
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 16, 2026
9581ab1
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 16, 2026
3d5fa5b
Update main.yml
mithileshreddy04 Feb 16, 2026
53a1d1c
Update main.yml
mithileshreddy04 Feb 16, 2026
f370a25
Update main.yml
mithileshreddy04 Feb 16, 2026
de65302
Update main.yml
mithileshreddy04 Feb 16, 2026
37358c9
Update main.yml
mithileshreddy04 Feb 16, 2026
1be86a2
Update main.yml
mithileshreddy04 Feb 16, 2026
f531576
Addition of user guidance messages for cluster reprovisioning and rol…
mithileshreddy04 Feb 16, 2026
a131d50
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
VrindaMarwah Feb 16, 2026
7e0e819
Merge pull request #3974 from VrindaMarwah/pub/q1_dev
snarthan Feb 16, 2026
8066a19
fix status return in execute command
VrindaMarwah Feb 16, 2026
c45945a
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
VrindaMarwah Feb 16, 2026
2a76d14
Merge pull request #3982 from VrindaMarwah/pub/q1_dev
snarthan Feb 16, 2026
f092844
Initial iDRAC Telemetry Node addition and deletion changes (#3972)
nethramg Feb 16, 2026
128cac6
support multiple Omnia versions (2.1.0.0, 2.1.0.1) using a single cor…
SOWJANYAJAGADISH123 Feb 17, 2026
2078496
LDMS Slurm node add /delete (#3976)
sakshi-singla-1735 Feb 17, 2026
7953e3c
Node drain logic for deletion
jagadeeshnv Feb 17, 2026
8375edc
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
jagadeeshnv Feb 17, 2026
4dbc6a9
mask docker credentials in local_repo logs
VrindaMarwah Feb 18, 2026
f657612
Shell instead of command for piping
jagadeeshnv Feb 18, 2026
d8bbd64
lint fixes
jagadeeshnv Feb 18, 2026
af42087
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 19, 2026
76d7f3c
Removing the IP's from the Activated IP list (#3992)
nethramg Feb 19, 2026
6c7b33d
Merge pull request #3988 from VrindaMarwah/pub/q1_dev
snarthan Feb 19, 2026
272bfb5
Fix for local_repo.yml allows passes even with invalid package names …
pullan1 Feb 19, 2026
5a03ffc
checkmarx fixes
VrindaMarwah Feb 19, 2026
fa0cd32
Updated permission for slurmdbd
jagadeeshnv Feb 19, 2026
123df95
removede new file
jagadeeshnv Feb 19, 2026
1b3ca13
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 19, 2026
d78a74a
Lock Mechanism added for Upgrade Sequence Integrity
mithileshreddy04 Feb 19, 2026
097ec21
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 19, 2026
3a9ef0a
Renamed force_conf to skip_merge
jagadeeshnv Feb 19, 2026
f12996c
Update omnia.sh
mithileshreddy04 Feb 20, 2026
08dd3e9
auto-backup of slurm-confs
Nagachandan-P Feb 20, 2026
6c45f0a
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
Nagachandan-P Feb 20, 2026
a9df9d1
Merge pull request #3993 from pullan1/pub/q1_dev
snarthan Feb 20, 2026
535f9ca
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 20, 2026
7169855
upgrade utility added to oim_cleanup and credential utility
mithileshreddy04 Feb 20, 2026
c42782c
Lock Mechanism for Upgrade Sequence Integrity (#3994)
mithileshreddy04 Feb 20, 2026
d11fde8
Slurm delete node - drain node before delete - skip_merge new option …
jagadeeshnv Feb 20, 2026
e222005
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 20, 2026
e61980c
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
VrindaMarwah Feb 21, 2026
8e08eab
checkmarx fixes - II
VrindaMarwah Feb 21, 2026
1796774
Merge branch 'pub/q1_dev' of ssh://ssh.github.com:443/VrindaMarwah/om…
VrindaMarwah Feb 21, 2026
62529b6
fix for security issue - improper resource shutdown issue
VrindaMarwah Feb 22, 2026
754026d
Merge pull request #4009 from VrindaMarwah/pub/q1_dev
jagadeeshnv Feb 23, 2026
9542934
mapping file update
abhishek-sa1 Feb 23, 2026
813cec4
Merge pull request #3996 from Nagachandan-P/pub/q1_dev
snarthan Feb 23, 2026
1499181
To configure per-repository sync and caching policies in localrepo
pullan1 Feb 23, 2026
e9c08e4
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 23, 2026
381a640
SSH pemission and access issue fix for upgrade after prepare_oim
mithileshreddy04 Feb 23, 2026
2fd9815
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 23, 2026
f397f00
ansible lint fix
pullan1 Feb 23, 2026
f0a6461
Update validate_ssh_permissions.yml
mithileshreddy04 Feb 23, 2026
d7f2cef
updated validate_ssh_permissions.yml
mithileshreddy04 Feb 23, 2026
b606a13
Update validate_ssh_permissions.yml
mithileshreddy04 Feb 23, 2026
1d6e7e3
ARM nodes gpu detection
Nagachandan-P Feb 23, 2026
03003cc
Merge pull request #4020 from pullan1/pub/q1_dev
snarthan Feb 23, 2026
513443e
Update omnia.sh
mithileshreddy04 Feb 23, 2026
6afbe39
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 23, 2026
c299575
Merge pull request #4021 from Nagachandan-P/pub/q1_dev
snarthan Feb 23, 2026
f2498e4
SSH pemission and access issue fix for upgrade after prepare_oim (#4019)
mithileshreddy04 Feb 23, 2026
1db7071
Merge pull request #4013 from abhishek-sa1/pub/q1_dev
priti-parate Feb 23, 2026
7710bd4
updating pulp_cleanup and timeout for tarball and iso
Katakam-Rakesh Feb 23, 2026
e94557a
Merge pull request #4022 from Katakam-Rakesh/pub/q1_dev
jagadeeshnv Feb 23, 2026
b0ca27f
Input validation fix for duplicate admin IP in pxe mapping file
nethramg Feb 23, 2026
c1fc231
Handled delete scenarios along with /etc/hosts
jagadeeshnv Feb 23, 2026
ce4a848
Merge branch 'pub/q1_dev' into pub/q1_dev
jagadeeshnv Feb 23, 2026
55b5686
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 24, 2026
38ace9d
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
nethramg Feb 24, 2026
a6722a9
Delete node removal of service and NFS data
jagadeeshnv Feb 24, 2026
8e198f4
Fix admin dynamic_range subnet validation and remove flawed netmask c…
balajikumaran-c-s Feb 24, 2026
33af900
Merge pull request #4024 from jagadeeshnv/pub/q1_dev
snarthan Feb 24, 2026
6a5d4f0
fix input validation for high_availability_config.yml
VrindaMarwah Feb 24, 2026
663db57
updating copyrights
VrindaMarwah Feb 24, 2026
0a21abc
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 24, 2026
4e2b391
Updating Reprovision guidance, update success msg and rollback flow
mithileshreddy04 Feb 24, 2026
7b8b421
Merge branch 'pub/q1_dev' of https://github.com/mithileshreddy04/omni…
mithileshreddy04 Feb 24, 2026
986f213
Update main.yml
mithileshreddy04 Feb 24, 2026
d16bd01
Update main.yml
mithileshreddy04 Feb 24, 2026
3c9a568
Merge pull request #4030 from VrindaMarwah/pub/q1_dev
snarthan Feb 24, 2026
ba630e0
Merge branch 'dell:pub/q1_dev' into pub/q1_dev
mithileshreddy04 Feb 24, 2026
2d20e91
Merge pull request #4031 from mithileshreddy04/pub/q1_dev
priti-parate Feb 24, 2026
29a197b
Merge pull request #4028 from nethramg/pub/q1_dev
abhishek-sa1 Feb 24, 2026
53c9023
Additional_Packages defect fix (#4042)
sakshi-singla-1735 Feb 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build_image_aarch64/build_image_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# limitations under the License.
---

- name: Check if upgrade is in progress
ansible.builtin.import_playbook: ../utils/upgrade_checkup.yml

- name: Set_fact for fetch omnia config credentials
hosts: localhost
connection: local
Expand Down
5 changes: 3 additions & 2 deletions build_image_aarch64/roles/image_creation/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 Dell Inc. or its subsidiaries. All Rights Reserved.
# Copyright 2026 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -17,6 +17,7 @@ input_project_dir: "{{ hostvars['localhost']['input_project_dir'] }}"
omnia_metadata_file: "/opt/omnia/.data/oim_metadata.yml"
dir_permissions_644: "0644"
dir_permissions_755: "0755"
aarch64_local_tag: "aarch64-image-builder/ochami"
openchami_dir: "/opt/omnia/openchami"
openchami_clone_path: /opt/omnia/openchami/deployment-recipes
job_retry: "120"
Expand All @@ -32,7 +33,7 @@ ochami_compute_mounts:
- -v {{ openchami_work_dir }}/images/rhel-{{ item.key }}-{{ rhel_tag }}.yaml:/home/builder/config.yaml:z
ochami_aarch64_image:
- --entrypoint /bin/bash
- localhost/arm-image/ochami
- "localhost/{{ aarch64_local_tag }}"
ochami_base_command:
- -c 'update-ca-trust extract && image-build --config /home/builder/config.yaml --log-level DEBUG'

Expand Down
58 changes: 34 additions & 24 deletions build_image_aarch64/roles/prepare_arm_node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,32 +167,42 @@

- name: Build full Podman image path
ansible.builtin.set_fact:
pulp_aarch_image: "{{ hostvars['localhost']['oim_pxe_ip'] }}:2225/dellhpcomniaaisolution/image-build-aarch64:1.1"

- name: Pull aarch64 image using Podman
ansible.builtin.command:
cmd: "podman pull {{ pulp_aarch_image }}"
register: podman_pull_result
ignore_errors: true
changed_when: false
pulp_aarch_image: "{{ hostvars['localhost']['oim_pxe_ip'] }}:2225/{{ pulp_aarch64_image_name }}"

- name: Pull and tag aarch64 image
block:
- name: Pull aarch64 image using Podman
containers.podman.podman_image:
name: "{{ pulp_aarch_image }}"
state: present
register: podman_pull_result
retries: "{{ pull_image_retries }}"
delay: "{{ pull_image_delay }}"
until: podman_pull_result is not failed
changed_when: false

- name: Tag pulled image
containers.podman.podman_tag:
image: "{{ pulp_aarch_image }}"
target_names:
- "{{ aarch64_local_tag }}"
changed_when: false

rescue:
- name: Fail if Podman pull failed
ansible.builtin.fail:
msg: "Failed to pull image {{ pulp_aarch_image }}"

- name: Check if regctl binary exists
ansible.builtin.stat:
path: "{{ ochami_aarch_64_dir }}/regctl"
register: regctl_stat
delegate_to: localhost

- name: Fail if Podman pull failed
- name: Fail if regctl binary not found
ansible.builtin.fail:
msg: "{{ aarch64_image_fail_msg }}"
when: podman_pull_result.rc != 0

- name: Tag pulled image
ansible.builtin.command:
cmd: "podman tag {{ pulp_aarch_image }} arm-image/ochami"
when: podman_pull_result.rc == 0
changed_when: false

- name: Download regctl binary to NFS shared path
ansible.builtin.get_url:
url: "{{ aarch64_regctl_url }}"
dest: "{{ ochami_aarch_64_dir }}/regctl"
mode: "{{ hostvars['localhost']['dir_permissions_755'] }}"
delegate_to: localhost
msg: "{{ regctl_not_found_msg }}"
when: not regctl_stat.stat.exists

- name: Copy regctl binary to /usr/local/bin on target host
ansible.builtin.copy:
Expand Down
10 changes: 8 additions & 2 deletions build_image_aarch64/roles/prepare_arm_node/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 Dell Inc. or its subsidiaries. All Rights Reserved.
# Copyright 2026 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,10 +15,13 @@

# input files
input_project_dir: "{{ hostvars['localhost']['input_project_dir'] }}"
pulp_aarch64_image_name: "dellhpcomniaaisolution/image-build-aarch64:1.1"
aarch64_local_tag: "aarch64-image-builder/ochami"
pull_image_retries: "3"
pull_image_delay: "10"
network_spec: "{{ input_project_dir }}/network_spec.yml"
ochami_aarch_64_dir: "/opt/omnia/openchami/aarch64"
pulp_repo_store_path: "{{ ochami_aarch_64_dir }}/pulp.repo"
aarch64_regctl_url: "https://github.com/regclient/regclient/releases/latest/download/regctl-linux-arm64"
pulp_repo_file_path: "/etc/yum.repos.d/pulp.repo"
pulp_webserver_cert_path: "/opt/omnia/pulp/settings/certs/pulp_webserver.crt"
anchors_path: "/etc/pki/ca-trust/source/anchors/pulp_webserver.crt"
Expand All @@ -39,3 +42,6 @@ aarch64_image_fail_msg: >
Unable to pull the Ochami aarch64 image builder image.
Make sure you have added the default package for aarch64 in the software_config.json file and ran local_repo.yml.
If not, add that package and rerun local_repo.yml.
regctl_not_found_msg: >
regctl binary not found at {{ ochami_aarch_64_dir }}/regctl.
Please run prepare_oim.yml playbook to download the regctl binary.
7 changes: 5 additions & 2 deletions build_image_x86_64/build_image_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 Dell Inc. or its subsidiaries. All Rights Reserved.
# Copyright 2026 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,9 @@
# limitations under the License.
---

- name: Check if upgrade is in progress
ansible.builtin.import_playbook: ../utils/upgrade_checkup.yml

- name: Set_fact for fetch omnia config credentials
hosts: localhost
connection: local
Expand Down Expand Up @@ -80,7 +83,7 @@
- name: Tag OpenCHAMI image
ansible.builtin.include_role:
name: image_creation
tasks_from: build_image_tag.yml
tasks_from: prepare_pulp_image.yml

- name: OpenCHAMI build image for x86_64
hosts: localhost
Expand Down
28 changes: 0 additions & 28 deletions build_image_x86_64/roles/image_creation/tasks/build_image_tag.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Copyright 2026 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---

# Load network specification
- name: Load network spec file
ansible.builtin.include_vars:
file: "{{ network_spec }}"
register: include_network_spec
no_log: true

- name: Fail if network spec cannot be loaded
ansible.builtin.fail:
msg: "{{ network_spec_syntax_fail_msg }} Error: {{ include_network_spec.message }}"
when: include_network_spec is failed

# Parse network spec data
- name: Parse network spec
ansible.builtin.set_fact:
network_data: "{{ network_data | default({}) | combine({item.key: item.value}) }}"
with_dict: "{{ Networks }}"

# Set PXE IP fact
- name: Set PXE IP fact
ansible.builtin.set_fact:
oim_pxe_ip: "{{ network_data.admin_network.primary_oim_admin_ip }}"
cacheable: true

# Copy pulp certificate and update CA trust
- name: Copy pulp webserver certificate to anchors
ansible.builtin.copy:
src: "{{ pulp_webserver_cert_path }}"
dest: "{{ anchors_path }}"
mode: "{{ dir_permissions_644 }}"
become: true

- name: Update CA trust
ansible.builtin.command: update-ca-trust
register: update_ca
changed_when: false

- name: Build full Podman image path for x86_64
ansible.builtin.set_fact:
pulp_x86_image: "{{ oim_pxe_ip }}:2225/{{ pulp_x86_64_image_name }}"

- name: Pull and tag x86_64 image
block:
- name: Pull x86_64 image using Podman
containers.podman.podman_image:
name: "{{ pulp_x86_image }}"
state: present
register: pull_result
retries: "{{ pull_image_retries }}"
delay: "{{ pull_image_delay }}"
until: pull_result is not failed
changed_when: false

- name: Tag pulled image for x86_64 build
containers.podman.podman_tag:
image: "{{ pulp_x86_image }}"
target_names:
- "{{ x86_64_local_tag }}"
changed_when: false

rescue:
- name: Fail if Podman pull failed
ansible.builtin.fail:
msg: "Failed to pull image {{ pulp_x86_image }}."
10 changes: 8 additions & 2 deletions build_image_x86_64/roles/image_creation/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
image_build_el10: "docker.io/dellhpcomniaaisolution/image-build-el10:1.0"
pulp_x86_64_image_name: "dellhpcomniaaisolution/image-build-el10:1.0"
x86_64_local_tag: "x86_64-image-builder/ochami"
pull_image_retries: "3"
pull_image_delay: "10"
input_project_dir: "{{ hostvars['localhost']['input_project_dir'] }}"
Expand All @@ -23,6 +24,9 @@ openchami_dir: "/opt/omnia/openchami"
openchami_clone_path: /opt/omnia/openchami/deployment-recipes
job_retry: "120"
job_delay: "30"
network_spec: "{{ input_project_dir }}/network_spec.yml"
pulp_webserver_cert_path: "/opt/omnia/pulp/settings/certs/pulp_webserver.crt"
anchors_path: "/etc/pki/ca-trust/source/anchors/pulp_webserver.crt"
openchami_work_dir: "{{ oim_shared_path }}/omnia/openchami/workdir"
ochami_mounts:
- --user 0 --privileged
Expand All @@ -35,7 +39,7 @@ ochami_compute_mounts:

ochami_x86_64_image:
- --entrypoint /bin/bash
- docker.io/dellhpcomniaaisolution/image-build-el10:1.0
- "localhost/{{ x86_64_local_tag }}"
ochami_base_command:
- -c 'update-ca-trust extract && image-build --config /home/builder/config.yaml --log-level DEBUG'

Expand All @@ -54,3 +58,5 @@ compute_image_failure_msg: |
# build_compute_image.yml
openchami_compute_image_vars_template: "{{ role_path }}/templates/compute_images_templates.j2"
openchami_compute_image_vars_path: "/opt/omnia/openchami/compute_images_template.yaml"

network_spec_syntax_fail_msg: "Failed to load network_spec.yml due to syntax error"
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@
OMNIA_ENTITLEMENT_PATH = '/opt/omnia/rhel_repo_certs/*.pem'
OMNIA_REDHAT_REPO = '/opt/omnia/rhel_repo_certs/redhat.repo'

# Supported functional groups for additional_packages per architecture
ADDITIONAL_PACKAGES_SUPPORTED_SUBGROUPS = {
"x86_64": [
"slurm_control_node", "slurm_node", "login_node", "login_compiler_node",
"service_kube_control_plane", "service_kube_control_plane_first", "service_kube_node"
],
"aarch64": [
"slurm_control_node", "slurm_node", "login_node", "login_compiler_node"
]
}

# dict to hold the file names. If any file's name changes just change it here.
files = {
"local_repo_config": "local_repo_config.yml",
Expand Down Expand Up @@ -147,6 +158,7 @@
"rpm": ["package", "repo_name"],
"rpm_list": ["package_list", "repo_name"],
"rpm_file": ["package", "url"],
"rpm_repo": ["package", "repo_name"],
"ansible_galaxy_collection": ["package", "version"],
"git": ["package", "version", "url"],
"image": ["package", ["tag", "digest"]], # Special: one of tag or digest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 Dell Inc. or its subsidiaries. All Rights Reserved.
# Copyright 2026 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -384,6 +384,8 @@ def server_spec_network_key_fail_msg(nic_device):
"roles_config.yml")
FEILD_MUST_BE_EMPTY = "feild must be empty."
DUPLICATE_VIRTUAL_IP = "is already used. Please give unique virtual ip address"
VIRTUAL_IP_SAME_AS_PRIMARY_OIM_ADMIN_IP = ("virtual_ip_address provided in high_availability_config.yml must not be the same as primary_oim_admin_ip in network_spec.yml. "
"Please provide a different virtual IP address.")
INVALID_PASSIVE_NODE_SERVICE_TAG = "active node and passive node service tag cannot be same."
GROUP_NOT_FOUND = "is not defined in the roles_config.yml. Please define the group in roles_config.yml"
ROLE_NODE_FOUND = "is not defined in roles_config.yml. Please define the role in roles_config.yml"
Expand Down
Loading