Skip to content

Commit 26f95d8

Browse files
authored
Merge pull request #4480 from GoogleCloudPlatform/release-candidate
Release candidate v1.61.0
2 parents f7ea2f9 + 45b6a65 commit 26f95d8

File tree

100 files changed

+409
-349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+409
-349
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ HPC deployments on the Google Cloud Platform.`,
5353
logging.Fatal("cmd.Help function failed: %s", err)
5454
}
5555
},
56-
Version: "v1.60.0",
56+
Version: "v1.61.0",
5757
Annotations: annotation,
5858
}
5959
)

community/examples/hpc-build-slurm-image.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ vars:
2828
built_instance_image:
2929
family: $(vars.built_image_family)
3030
project: $(vars.project_id)
31-
instance_image_custom: true
3231

3332
deployment_groups:
3433
- group: setup

community/examples/hpc-slurm-ubuntu2004.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ vars:
2626
# https://github.com/GoogleCloudPlatform/slurm-gcp/blob/master/docs/images.md#supported-operating-systems
2727
family: slurm-gcp-6-10-ubuntu-2204-lts-nvidia-570
2828
project: schedmd-slurm-public
29-
instance_image_custom: true
3029

3130
deployment_groups:
3231
- group: primary

community/examples/hpc-slurm6-apptainer.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ deployment_groups:
7676
node_count_dynamic_max: 20
7777
disk_size_gb: $(vars.disk_size)
7878
instance_image: $(vars.custom_image)
79-
instance_image_custom: true
8079
bandwidth_tier: gvnic_enabled
8180
allow_automatic_updates: false
8281

@@ -95,7 +94,6 @@ deployment_groups:
9594
enable_login_public_ips: true
9695
disk_size_gb: $(vars.disk_size)
9796
instance_image: $(vars.custom_image)
98-
instance_image_custom: true
9997

10098
- id: slurm_controller
10199
source: community/modules/scheduler/schedmd-slurm-gcp-v6-controller
@@ -107,4 +105,3 @@ deployment_groups:
107105
enable_controller_public_ips: true
108106
disk_size_gb: $(vars.disk_size)
109107
instance_image: $(vars.custom_image)
110-
instance_image_custom: true

community/front-end/ofe/website/ghpcfe/templates/blueprint/cluster_config.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ vars:
77
zone: {{ cluster.cloud_zone }}
88
enable_cleanup_compute: True
99
enable_bigquery_load: {{ cluster.use_bigquery }}
10-
instance_image_custom: True
10+
1111
labels:
1212
created_by: {{ site_name }}
1313

community/modules/compute/htcondor-execute-point/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ terraform {
2929
}
3030

3131
provider_meta "google" {
32-
module_name = "blueprints/terraform/hpc-toolkit:htcondor-execute-point/v1.60.0"
32+
module_name = "blueprints/terraform/hpc-toolkit:htcondor-execute-point/v1.61.0"
3333
}
3434
}

community/modules/compute/mig/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ terraform {
2222
}
2323
}
2424
provider_meta "google" {
25-
module_name = "blueprints/terraform/hpc-toolkit:mig/v1.60.0"
25+
module_name = "blueprints/terraform/hpc-toolkit:mig/v1.61.0"
2626
}
2727
}

community/modules/compute/schedmd-slurm-gcp-v6-nodeset-dynamic/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ modules. For support with the underlying modules, see the instructions in the
6262
| Name | Version |
6363
|------|---------|
6464
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
65-
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 5.11 |
6665
6766
## Providers
6867

community/modules/compute/schedmd-slurm-gcp-v6-nodeset-dynamic/source_image_logic.tf

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@
1515
*/
1616

1717
locals {
18-
# Currently supported images and projects
19-
known_project_families = {
20-
schedmd-slurm-public = [
21-
"slurm-gcp-6-10-debian-12",
22-
"slurm-gcp-6-10-hpc-rocky-linux-8",
23-
"slurm-gcp-6-10-ubuntu-2204-lts-nvidia-570",
24-
"slurm-gcp-6-10-ubuntu-2404-lts-nvidia-570",
25-
"slurm-gcp-6-10-ubuntu-2204-lts-arm64",
26-
"slurm-gcp-6-10-ubuntu-2404-lts-arm64"
27-
]
28-
}
29-
3018
# This approach to "hacking" the project name allows a chain of Terraform
3119
# calls to set the instance source_image (boot disk) with a "relative
3220
# resource name" that passes muster with VPC Service Control rules
@@ -40,43 +28,3 @@ locals {
4028
source_image_family = try(var.instance_image.family, "")
4129
source_image = try(var.instance_image.name, "")
4230
}
43-
44-
check "image_validation" {
45-
data "google_compute_image" "slurm" {
46-
family = try(var.instance_image.family, null)
47-
name = try(var.instance_image.name, null)
48-
project = var.instance_image.project
49-
}
50-
51-
assert {
52-
condition = length(regexall("^projects/.+?/global/images/family$", var.instance_image.project)) == 0
53-
error_message = "The \"project\" field in var.instance_image no longer supports a long-form ending in \"family\". Specify only the project ID."
54-
}
55-
56-
assert {
57-
condition = var.instance_image_custom || contains(keys(local.known_project_families), data.google_compute_image.slurm.project)
58-
error_message = <<-EOD
59-
Images in project ${data.google_compute_image.slurm.project} are not published by SchedMD. Images must be created by compatible releases of the Terraform and Packer modules following the guidance at https://goo.gle/hpc-slurm-images. Set var.instance_image_custom to true to silence this error and acknowledge that you are using a compatible image.
60-
EOD
61-
}
62-
63-
assert {
64-
condition = !contains(keys(local.known_project_families), data.google_compute_image.slurm.project) || try(contains(local.known_project_families[data.google_compute_image.slurm.project], data.google_compute_image.slurm.family), false)
65-
error_message = <<-EOD
66-
Image family ${data.google_compute_image.slurm.family} published by SchedMD in project ${data.google_compute_image.slurm.project} is not compatible with this release of the Terraform Slurm modules. Select from known compatible releases:
67-
${join("\n", [for p in try(local.known_project_families[data.google_compute_image.slurm.project], []) : "\t\"${p}\""])}
68-
EOD
69-
}
70-
71-
assert {
72-
condition = var.disk_size_gb >= data.google_compute_image.slurm.disk_size_gb
73-
error_message = "'disk_size_gb: ${var.disk_size_gb}' is smaller than the image size (${data.google_compute_image.slurm.disk_size_gb}GB), please increase the blueprint disk size"
74-
}
75-
76-
assert {
77-
# Condition needs to check the suffix of the license, as prefix contains an API version which can change.
78-
# Example license value: https://www.googleapis.com/compute/v1/projects/cloud-hpc-image-public/global/licenses/hpc-vm-image-feature-disable-auto-updates
79-
condition = var.allow_automatic_updates || anytrue([for license in data.google_compute_image.slurm.licenses : endswith(license, "/projects/cloud-hpc-image-public/global/licenses/hpc-vm-image-feature-disable-auto-updates")])
80-
error_message = "Disabling automatic updates is not supported with the selected VM image. More information: https://cloud.google.com/compute/docs/instances/create-hpc-vm#disable_automatic_updates"
81-
}
82-
}

community/modules/compute/schedmd-slurm-gcp-v6-nodeset-dynamic/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ variable "instance_image" {
8383
}
8484
}
8585

86-
variable "instance_image_custom" {
86+
variable "instance_image_custom" { # tflint-ignore: terraform_unused_declarations
8787
description = <<-EOD
8888
A flag that designates that the user is aware that they are requesting
8989
to use a custom and potentially incompatible image for this Slurm on

0 commit comments

Comments
 (0)