Skip to content

Image update - OpenHPC v3.1 for RL9 #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
4 changes: 3 additions & 1 deletion .github/workflows/fatimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ name: Build fat image
description: Include RL8 image build
type: boolean
default: false
concurrency:
group: ${{ github.ref }}-{{ matrix.os_version }} # to branch/PR + OS
cancel-in-progress: true
jobs:
openstack:
name: openstack-imagebuild
runs-on: ubuntu-20.04
concurrency: ${{ github.ref }}-{{ matrix.os_version }} # to branch/PR + OS
strategy:
matrix:
os_version: [RL8, RL9]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/stackhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ jobs:
- ${{ inputs.use_RL8 == true }} # only potentially true for workflow_dispatch
rl8_branch:
- ${{ startsWith(github.head_ref, 'rl8') == true }} # only potentially for pull_request, always false on merge
rl8_label:
- ${{ contains(github.event.pull_request.labels.*.name, 'RL8') }} # NB: needs a new commit if added after PR created
exclude:
- os_version: RL8
rl8_selected: false
rl8_branch: false
rl8_label: false
env:
ANSIBLE_FORCE_COLOR: True
OS_CLOUD: openstack
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/ofed/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ofed_version: 24.01-0.3.3.1
ofed_version: '24.04-0.6.6.0' # LTS version 23.10-2.1.3.1 does not support RL9.4
ofed_download_url: https://content.mellanox.com/ofed/MLNX_OFED-{{ ofed_version }}/MLNX_OFED_LINUX-{{ ofed_version }}-{{ ofed_distro }}{{ ofed_distro_version }}-{{ ofed_arch }}.tgz
ofed_distro: rhel # NB: not expected to work on other distros due to installation differences
ofed_distro_version: "{{ ansible_distribution_version }}" # e.g. '8.9'
Expand Down
3 changes: 2 additions & 1 deletion environments/.stackhpc/ARCUS.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
flavor = "vm.ska.cpu.general.small"
use_blockstorage_volume = true
volume_size = 12 # GB. Compatible with SMS-lab's general.v1.tiny
volume_size = 15 # GB
volume_size_ofed = 15 # GB
image_disk_format = "qcow2"
networks = ["4b6b2722-ee5b-40ec-8e52-a6610e14cc51"] # portal-internal (DNS broken on ilab-60)
ssh_keypair_name = "slurm-app-ci"
Expand Down
4 changes: 2 additions & 2 deletions environments/.stackhpc/LEAFCLOUD.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
flavor = "ec1.medium"
flavor = "ec1.large"
use_blockstorage_volume = true
volume_size = 12 # GB. Compatible with SMS-lab's general.v1.tiny
volume_size = 15 # GB
volume_size_ofed = 15 # GB
volume_type = "unencrypted"
image_disk_format = "qcow2"
Expand Down
2 changes: 1 addition & 1 deletion environments/.stackhpc/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ roles_path = ../../ansible/roles
filter_plugins = ../../ansible/filter_plugins

[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPath=~/.ssh/%r@%h-%p -o ControlPersist=240s -o PreferredAuthentications=publickey -o UserKnownHostsFile=/dev/null
ssh_args = -o ServerAliveInterval=10 -o ControlMaster=auto -o ControlPath=~/.ssh/%r@%h-%p -o ControlPersist=240s -o PreferredAuthentications=publickey -o UserKnownHostsFile=/dev/null
pipelining = True
6 changes: 3 additions & 3 deletions environments/.stackhpc/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ variable "cluster_image" {
description = "single image for all cluster nodes, keyed by os_version - a convenience for CI"
type = map(string)
default = {
# https://github.com/stackhpc/ansible-slurm-appliance/pull/353
RL8: "openhpc-RL8-240423-1002-4b09ba85"
RL9: "openhpc-ofed-RL9-240423-1059-4b09ba85"
# https://github.com/stackhpc/ansible-slurm-appliance/pull/394
RL8: "openhpc-RL8-240605-1205-a3002d19"
RL9: "openhpc-ofed-RL9-240605-1204-a3002d19"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# or include regex special characters.
openondemand_host_regex: "{{ (groups['compute'] + groups['grafana']) | to_ood_regex }}"

ondemand_package: ondemand-3.0.3

# Add grafana to dashboard links to OOD only if grafana group is available
openondemand_dashboard_links_grafana:
- name: Grafana
Expand Down
2 changes: 1 addition & 1 deletion packer/openstack.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ variable "fatimage_source_image_name" {
type = map(string)
default = {
RL8: "Rocky-8-GenericCloud-Base-8.9-20231119.0.x86_64.qcow2"
RL9: "Rocky-9-GenericCloud-Base-9.3-20231113.0.x86_64.qcow2"
RL9: "Rocky-9-GenericCloud-Base-9.4-20240523.0.x86_64.qcow2"
}
}

Expand Down
4 changes: 2 additions & 2 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ roles:
- src: stackhpc.nfs
version: v23.12.1 # Tolerate state nfs file handles
- src: https://github.com/stackhpc/ansible-role-openhpc.git
version: v0.25.0 # https://github.com/stackhpc/ansible-role-openhpc/pull/167
version: v0.26.0 # https://github.com/stackhpc/ansible-role-openhpc/pull/168
name: stackhpc.openhpc
- src: https://github.com/stackhpc/ansible-node-exporter.git
version: stackhpc
Expand All @@ -19,7 +19,7 @@ roles:
# No versions available
- src: https://github.com/OSC/ood-ansible.git
name: osc.ood
version: v3.0.6
version: v3.1.5
- src: https://github.com/stackhpc/ansible-role-os-manila-mount.git
name: stackhpc.os-manila-mount
version: v24.2.0 # Support RockyLinux 9
Expand Down
Loading