Skip to content

Commit

Permalink
Merge pull request #402 from Azure/feature/397
Browse files Browse the repository at this point in the history
Upgrade to CentOS 7.9
  • Loading branch information
xpillons authored Jun 25, 2021
2 parents e25bb5a + 1f3d30a commit 5860877
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 55 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/configs/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ groups:
- name: users
gid: 5000
images:
- name: azhop-centos78-v2-rdma
publisher: azhop
offer: CentOS
sku: 7.8-gen2
hyper_v: V2
os_type: Linux
version: 7.8
- name: azhop-centos79-v2-rdma-gpgpu
publisher: azhop
offer: CentOS
Expand All @@ -71,24 +64,24 @@ queues:
- name: execute
vm_size: Standard_F2s_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7_8:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
spot: true
- name: hc44rs
vm_size: Standard_HC44rs
max_core_count: 1056
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb60rs
vm_size: Standard_HB60rs
max_core_count: 1440
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v2
vm_size: Standard_HB120rs_v2
max_core_count: 2880
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v3
vm_size: Standard_HB120rs_v3
max_core_count: 2880
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: viz3d
vm_size: Standard_NV6
max_core_count: 24
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/configs/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ groups:
- name: users
gid: 5000
images:
- name: azhop-centos78-v2-rdma
- name: azhop-centos79-v2-rdma-gpgpu
publisher: azhop
offer: CentOS
sku: 7.8-gen2
sku: 7.9-gen2
hyper_v: V2
os_type: Linux
version: 7.8
version: 7.9
- name: centos-7.8-desktop-3d
publisher: azhop
offer: CentOS
Expand All @@ -64,23 +64,23 @@ queues:
- name: execute
vm_size: Standard_F2s_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7_8:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
- name: hc44rs
vm_size: Standard_HC44rs
max_core_count: 1408
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb60rs
vm_size: Standard_HB60rs
max_core_count: 1920
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v2
vm_size: Standard_HB120rs_v2
max_core_count: 3840
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v3
vm_size: Standard_HB120rs_v3
max_core_count: 3840
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: viz3d
vm_size: Standard_NV6
max_core_count: 48
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/configs/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ groups:
- name: users
gid: 5000
images:
- name: azhop-centos78-v2-rdma
- name: azhop-centos79-v2-rdma-gpgpu
publisher: azhop
offer: CentOS
sku: 7.8-gen2
sku: 7.9-gen2
hyper_v: V2
os_type: Linux
version: 7.8
version: 7.9
- name: centos-7.7-desktop-3d
publisher: azhop
offer: CentOS
Expand All @@ -47,19 +47,19 @@ queues:
- name: execute
vm_size: Standard_F2s_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7_8:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
- name: hc44rs
vm_size: Standard_HC44rs
max_core_count: 1056
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb60rs
vm_size: Standard_HB60rs
max_core_count: 1440
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v2
vm_size: Standard_HB120rs_v2
max_core_count: 2880
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: viz3d
vm_size: Standard_NV6
max_core_count: 24
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/configs/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ groups:
- name: users
gid: 5000
images:
- name: azhop-centos78-v2-rdma
- name: azhop-centos79-v2-rdma-gpgpu
publisher: azhop
offer: CentOS
sku: 7.8-gen2
sku: 7.9-gen2
hyper_v: V2
os_type: Linux
version: 7.8
version: 7.9
- name: centos-7.8-desktop-3d
publisher: azhop
offer: CentOS
Expand All @@ -64,23 +64,23 @@ queues:
- name: execute
vm_size: Standard_F2s_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7_8:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
- name: hc44rs
vm_size: Standard_HC44rs
max_core_count: 1056
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb60rs
vm_size: Standard_HB60rs
max_core_count: 1440
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v2
vm_size: Standard_HB120rs_v2
max_core_count: 2880
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v3
vm_size: Standard_HB120rs_v3
max_core_count: 2880
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: viz3d
vm_size: Standard_NV6
max_core_count: 24
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
needs: deploy
strategy:
matrix:
packer_file: ["azhop-centos78-v2-rdma.json", "centos-7.8-desktop-3d.json", "azhop-centos79-v2-rdma-gpgpu.json"]
packer_file: ["centos-7.8-desktop-3d.json", "azhop-centos79-v2-rdma-gpgpu.json"]
container:
image: xpillons/hpcrover:latest
options: --user 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
needs: deploy
strategy:
matrix:
packer_file: ["azhop-centos78-v2-rdma.json", "centos-7.8-desktop-3d.json", "azhop-centos79-v2-rdma-gpgpu.json"]
packer_file: ["centos-7.8-desktop-3d.json", "azhop-centos79-v2-rdma-gpgpu.json"]
container:
image: xpillons/hpcrover:latest
options: --user 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
packer_file: ["azhop-centos78-v2-rdma.json", "centos-7.8-desktop-3d.json", "azhop-centos79-v2-rdma-gpgpu.json"]
packer_file: ["centos-7.8-desktop-3d.json", "azhop-centos79-v2-rdma-gpgpu.json"]
container:
image: xpillons/hpcrover:latest
options: --user 0
Expand Down
14 changes: 7 additions & 7 deletions config.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,35 +72,35 @@ images:
- name: image_definition_name # Should match the packer configuration file name, one per packer file
publisher: azhop
offer: CentOS
sku: 7.8-gen2
sku: 7_9-gen2
hyper_v: V2 # V1 or V2 (V1 is the default)
os_type: Linux # Linux or Windows
version: 7.8 # Version of the image to create the image definition in SIG
version: 7.9 # Version of the image to create the image definition in SIG
queues:
- name: execute # name of the Cycle Cloud node array
# Azure VM Instance type
vm_size: Standard_F2s_v2
# maximum number of cores that can be instanciated
max_core_count: 1024
# marketplace image name or custom image id
image: OpenLogic:CentOS-HPC:7.7:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
# Set to true if AccelNet need to be enabled. false is the default value
EnableAcceleratedNetworking: false
# spot instance support. Default is false
spot: true
- name: hc44rs
vm_size: Standard_HC44rs
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
#image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos78-v2-rdma/latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
#/subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb60rs
vm_size: Standard_HB60rs
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: hb120rs_v2
vm_size: Standard_HB120rs_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
image: /subscriptions/{{subscription_id}}/resourceGroups/{{resource_group}}/providers/Microsoft.Compute/galleries/{{sig_name}}/images/azhop-centos79-v2-rdma-gpgpu/latest
- name: viz3d
vm_size: Standard_NV6
max_core_count: 1024
Expand Down
4 changes: 2 additions & 2 deletions playbooks/ood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@
yum_repository:
name: lustreserver
description: Lustre repo
baseurl: https://downloads.whamcloud.com/public/lustre/lustre-2.12.5/el7/patchless-ldiskfs-server/
baseurl: https://downloads.whamcloud.com/public/lustre/lustre-2.12.6/el7/patchless-ldiskfs-server/
file: LustrePack
enabled: yes
gpgcheck: no
- name: Add Lustre client repo
yum_repository:
name: lustreclient
description: Lustre repo
baseurl: https://downloads.whamcloud.com/public/lustre/lustre-2.12.5/el7/client/
baseurl: https://downloads.whamcloud.com/public/lustre/lustre-2.12.6/el7/client/
file: LustrePack
enabled: yes
gpgcheck: no
Expand Down
8 changes: 4 additions & 4 deletions playbooks/roles/cyclecloud_pbs/defaults/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ cc_queues:
- name: execute
vm_size: Standard_F2s_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
- name: hc44rs
vm_size: Standard_HC44rs
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
- name: hb60rs
vm_size: Standard_HB60rs
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
- name: hb120rs_v2
vm_size: Standard_HB120rs_v2
max_core_count: 1024
image: OpenLogic:CentOS-HPC:7.7:latest
image: OpenLogic:CentOS-HPC:7_9-gen2:latest
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
}
},
"Credentials" : "azure",
"ImageName" : "OpenLogic:CentOS-HPC:7.7:latest"
"ImageName" : "OpenLogic:CentOS-HPC:7_9-gen2:latest"
}
2 changes: 2 additions & 0 deletions playbooks/roles/tests/files/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function make_uuid_str {
# Check homedir
echo "Check if /anfhome is mounted"
df | grep anfhome || exit 1
echo "Check if /lustre is mounted"
df | grep lustre || exit 1

# Check PBS
export PBS_MAX_WALLTIME="00:20:00"
Expand Down
2 changes: 1 addition & 1 deletion tf/jumpbox.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "azurerm_linux_virtual_machine" "jumpbox" {
source_image_reference {
publisher = "OpenLogic"
offer = "CentOS"
sku = "7.7"
sku = "7_9-gen2"
version = "latest"
}
}
2 changes: 1 addition & 1 deletion tf/ondemand.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "azurerm_linux_virtual_machine" "ondemand" {
source_image_reference {
publisher = "OpenLogic"
offer = "CentOS"
sku = "7_8"
sku = "7_9-gen2"
version = "latest"
}
}
2 changes: 1 addition & 1 deletion tf/scheduler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "azurerm_linux_virtual_machine" "scheduler" {
source_image_reference {
publisher = "OpenLogic"
offer = "CentOS"
sku = "7.7"
sku = "7_9-gen2"
version = "latest"
}
}

0 comments on commit 5860877

Please sign in to comment.