Skip to content
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

Release v1.16.0 #1147

Merged
merged 160 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
ecb868c
Bump googleapis-common-protos in /community/front-end/ofe
dependabot[bot] Mar 13, 2023
bf43912
Bump httplib2 from 0.20.4 to 0.21.0 in /community/front-end/ofe
dependabot[bot] Mar 13, 2023
9690599
Bump wrapt from 1.13.3 to 1.15.0 in /community/front-end/ofe
dependabot[bot] Mar 13, 2023
1229a10
Bump django-extensions from 3.1.5 to 3.2.1 in /community/front-end/ofe
dependabot[bot] Mar 13, 2023
af35483
HTCondor MIG enhancement
tpdownes Mar 13, 2023
39e1679
Configure HTCondor Negotiator
tpdownes Mar 13, 2023
cdb22bd
HTCondor MIG enhancement
tpdownes Mar 13, 2023
21b7eb3
Merge pull request #1014 from GoogleCloudPlatform/dependabot/pip/comm…
nick-stroud Mar 14, 2023
3d96b77
Merge pull request #1015 from GoogleCloudPlatform/dependabot/pip/comm…
nick-stroud Mar 14, 2023
81dbdb4
Merge pull request #1016 from GoogleCloudPlatform/dependabot/pip/comm…
nick-stroud Mar 14, 2023
d471e82
Bump grpcio-status from 1.43.0 to 1.51.3 in /community/front-end/ofe
dependabot[bot] Mar 14, 2023
be391af
Merge pull request #1018 from GoogleCloudPlatform/dependabot/pip/comm…
nick-stroud Mar 14, 2023
8f738de
Remove ModuleToGroup from DeploymentConfig (#1022)
mr0re1 Mar 14, 2023
3a95521
Address feedback in #983
tpdownes Mar 14, 2023
a2d8380
Merge pull request #983 from tpdownes/htcondor_idle_floor_autoscaler
tpdownes Mar 14, 2023
e0403da
Merge pull request #1017 from GoogleCloudPlatform/dependabot/pip/comm…
nick-stroud Mar 14, 2023
34645bd
Fix broken markfown link (#1024)
mr0re1 Mar 14, 2023
6cf7539
Update year of Terraform deployment license
tpdownes Mar 15, 2023
2a4588d
Merge pull request #1026 from tpdownes/license_year
tpdownes Mar 15, 2023
fb100a9
Fix: dependabot proposed incompatible requirements
nick-stroud Mar 15, 2023
8dce57c
Fix startup-options test (#1029)
mr0re1 Mar 15, 2023
369dc71
Fix broken test config use-resources.yaml (#1030)
mr0re1 Mar 15, 2023
7b34c6a
Add an integration test for chrome-remote-desktop module
nick-stroud Mar 14, 2023
5ba1446
Merge pull request #1027 from nick-stroud/remote-desktop-integration-…
nick-stroud Mar 15, 2023
5948dc9
Add retries to apt tasks in chrome-remote-desktop to account for lock…
nick-stroud Mar 15, 2023
8e2ee2b
Merge pull request #1028 from nick-stroud/rectify_ofe_requirements
nick-stroud Mar 16, 2023
1517b90
Merge pull request #1033 from GoogleCloudPlatform/main
nick-stroud Mar 16, 2023
0e495af
Merge pull request #1025 from nick-stroud/retry-crd-apt
nick-stroud Mar 16, 2023
f8e96b1
Bring all provider_meta versions up to current version
nick-stroud Mar 16, 2023
c35748f
Update pre-commit hook repos
tpdownes Mar 16, 2023
7cf340f
Merge pull request #1034 from nick-stroud/rectify_provider_meta_versions
nick-stroud Mar 16, 2023
91f3612
Add integration test coverage for add_deployment_name_before_prefix
nick-stroud Mar 16, 2023
ef59617
Merge pull request #1035 from tpdownes/update_precommit
tpdownes Mar 16, 2023
71cd859
Fix dtype of slurm node-group.preemtible to bool
mr0re1 Mar 16, 2023
2f02b77
Set label dtype = map(string) for community/modules
mr0re1 Mar 16, 2023
757cb3b
Fix labels dtype in DDN-EXAScaler
mr0re1 Mar 16, 2023
bbcb637
Make readers usable outside of package modulereader
mr0re1 Mar 17, 2023
a6a650d
Fixes slur partition validation message for older terraform versions
cboneti Mar 18, 2023
e0c9aa4
Merge pull request #1043 from cboneti/fix-slurm-validation-message
cboneti Mar 18, 2023
1c578de
Add a test to enforce contracts on modules interfaces (#1041)
mr0re1 Mar 18, 2023
1e25b5b
Bump google.golang.org/api from 0.112.0 to 0.114.0
dependabot[bot] Mar 20, 2023
e3d6b28
Bump github.com/go-git/go-git/v5 from 5.6.0 to 5.6.1
dependabot[bot] Mar 20, 2023
373c1e7
Bump lazy-object-proxy from 1.7.1 to 1.9.0 in /community/front-end/ofe
dependabot[bot] Mar 20, 2023
6f7afcb
Bump pyjwt from 2.4.0 to 2.6.0 in /community/front-end/ofe
dependabot[bot] Mar 20, 2023
8dd3ffa
Bump pyparsing from 3.0.7 to 3.0.9 in /community/front-end/ofe
dependabot[bot] Mar 20, 2023
7a9a7bb
Bump platformdirs from 2.5.0 to 3.1.1 in /community/front-end/ofe
dependabot[bot] Mar 20, 2023
966385f
Merge pull request #1044 from GoogleCloudPlatform/dependabot/go_modul…
tpdownes Mar 20, 2023
a06bc7e
Bump github.com/googleapis/gax-go/v2 from 2.7.1 to 2.8.0
dependabot[bot] Mar 20, 2023
24b02fb
Bump github.com/zclconf/go-cty from 1.13.0 to 1.13.1
dependabot[bot] Mar 20, 2023
dbdead3
Merge pull request #1045 from GoogleCloudPlatform/dependabot/go_modul…
tpdownes Mar 20, 2023
e387881
Bump cloud.google.com/go/serviceusage from 1.5.0 to 1.6.0
dependabot[bot] Mar 20, 2023
339f871
Merge pull request #1046 from GoogleCloudPlatform/dependabot/go_modul…
tpdownes Mar 20, 2023
7ed75ad
Merge pull request #1047 from GoogleCloudPlatform/dependabot/go_modul…
tpdownes Mar 20, 2023
d3485f3
Merge pull request #1048 from GoogleCloudPlatform/dependabot/go_modul…
tpdownes Mar 20, 2023
375d3ee
Merge pull request #1037 from nick-stroud/test_vm_name_with_prefix_an…
nick-stroud Mar 20, 2023
c3caa28
Update builder image
tpdownes Mar 20, 2023
2ef34ab
Minor refactoring of code around variables
mr0re1 Mar 17, 2023
bbd0c8a
Merge pull request #1056 from tpdownes/update_builder_image
tpdownes Mar 20, 2023
7db5867
Add simple sanity test installing the OFE virtual environment
tpdownes Mar 20, 2023
950b348
Merge pull request #1057 from tpdownes/enforce_ofe_requirements
tpdownes Mar 20, 2023
2e0eb06
Order settings alphabettically in main.tf
mr0re1 Mar 20, 2023
51b2aaa
Add links to related material on YouTube
nick-stroud Mar 20, 2023
5f0d0de
Merge pull request #1061 from nick-stroud/video_links
nick-stroud Mar 21, 2023
a43800c
Bump github.com/hashicorp/go-getter from 1.7.0 to 1.7.1
dependabot[bot] Mar 21, 2023
2225779
Resolve merge conflict between develop and v1.15.0 release
tpdownes Mar 21, 2023
f4e0166
Increase version of Terraform google providers
tpdownes Mar 21, 2023
bd116e9
Merge pull request #1066 from tpdownes/bump_version_develop
tpdownes Mar 21, 2023
aa52473
Merge v1.15.0 release into develop
tpdownes Mar 21, 2023
4aaaa7d
Merge pull request #1067 from GoogleCloudPlatform/dependabot/go_modul…
tpdownes Mar 21, 2023
ede75e9
Use stable order while writing variables and backend configs
mr0re1 Mar 21, 2023
673088f
Merge pull request #1072 from tpdownes/update_tpg
tpdownes Mar 21, 2023
48a335b
Update to slurm-gcp 5.6.2 (from 5.6.0)
SkylerMalinowski Mar 22, 2023
734aac1
Bump google-api-python-client in /community/front-end/ofe
dependabot[bot] Mar 22, 2023
4e66f3a
Implement exponential backoff in startup-script
tpdownes Mar 21, 2023
459993c
Merge pull request #1073 from tpdownes/increase_retry
tpdownes Mar 22, 2023
552f737
Update Slurm images through tests and examples
tpdownes Mar 22, 2023
ea2a685
Add deployment_name to HTCondor example VMs
tpdownes Mar 22, 2023
f88fb72
Merge pull request #1074 from SkylerMalinowski/slurm-gcp-5.6.2
tpdownes Mar 22, 2023
92b86cc
Merge pull request #1075 from tpdownes/update_slurm_images
tpdownes Mar 22, 2023
75e0c36
Merge pull request #1076 from tpdownes/fix_htcondor_deployment_name
tpdownes Mar 23, 2023
4175bda
Remove labels-specific logic from tfwriter. (#1064)
mr0re1 Mar 23, 2023
52f70b5
Refactoring to support edge-tracking in graph
tpdownes Mar 23, 2023
701af72
Address feedback in #1078
tpdownes Mar 23, 2023
fa3db06
Add additional documentation on enable_reconfigure troubleshooting
nick-stroud Mar 23, 2023
d644e55
Merge pull request #1077 from nick-stroud/slurm_troubleshoot_enable_r…
nick-stroud Mar 23, 2023
3d29341
Use stable order while writing terraform.tfvars
mr0re1 Mar 23, 2023
f32b668
Merge pull request #1078 from tpdownes/refactor_reference_interface
tpdownes Mar 24, 2023
e4504a5
Refactor moduleConnections as a map
tpdownes Mar 24, 2023
108110a
Merge pull request #1079 from tpdownes/igc_inputs
tpdownes Mar 24, 2023
e0a8977
Improve version constraint on batch-job-template module
tpdownes Mar 24, 2023
886b5e3
Remove field Module.ModuleName add DeploymentSource instead (#1081)
mr0re1 Mar 24, 2023
97dbdbe
Resolve accidental destruction of startup-scripts
tpdownes Mar 24, 2023
7f6c028
Adding Lustre example.
cboneti Mar 24, 2023
a8adb9f
Merge pull request #1084 from tpdownes/better_contraint
tpdownes Mar 24, 2023
8722b6d
Updating image in the slurm-gcp-v5 Ubuntu example
cboneti Mar 24, 2023
aedae7d
Merge pull request #1082 from cboneti/lustre-example
cboneti Mar 24, 2023
97079a6
Show core examples first
cboneti Mar 24, 2023
4bc298f
Bump cloud.google.com/go/compute from 1.18.0 to 1.19.0
dependabot[bot] Mar 27, 2023
80b9cd4
Address feedback in #1085
tpdownes Mar 27, 2023
34bb725
Merge pull request #1085 from tpdownes/fix_startup_script
tpdownes Mar 27, 2023
6c6b9e0
Use latest update to startup-script module
tpdownes Mar 27, 2023
215680f
Merge pull request #1087 from cboneti/update-ubuntu-example
cboneti Mar 27, 2023
e2c68f4
Merge pull request #1088 from cboneti/change-readme-order
cboneti Mar 27, 2023
58ff5ad
Merge pull request #1090 from tpdownes/bump_startup_script
tpdownes Mar 27, 2023
62b50ab
Changed qsim example to use T4s on us-central1
cboneti Mar 27, 2023
d22fc0d
Merge pull request #1089 from GoogleCloudPlatform/dependabot/go_modul…
cboneti Mar 27, 2023
7315f6c
Merge branch 'develop' into quantum-gpu-changes
cboneti Mar 27, 2023
9f2ebfb
chaning CRD test zone to us-central1-f
cboneti Mar 28, 2023
8da47ef
Add flag to skip validators; Check validations during `make tests`
mr0re1 Mar 27, 2023
c5b8bfc
Fix typo test_region_exists -> test_zone_exists
mr0re1 Mar 27, 2023
d00a584
Merge pull request #1093 from cboneti/crd-test
cboneti Mar 28, 2023
cb8fdeb
Merge pull request #1091 from cboneti/quantum-gpu-changes
cboneti Mar 28, 2023
ec5b77d
Unify network_storage variables type
mr0re1 Mar 28, 2023
930ae14
Fix varReference implementation of reference interface
tpdownes Mar 28, 2023
aed15b3
One-line isUnused func
tpdownes Mar 28, 2023
a0a9936
Fix varReference and modReference tracking of calling module ID
tpdownes Mar 28, 2023
721766f
Merge pull request #1095 from tpdownes/fix_references
tpdownes Mar 28, 2023
692163d
Merge pull request #1068 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Mar 29, 2023
6c4f63e
Merge pull request #1053 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Mar 29, 2023
78bca48
Merge pull request #1052 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Mar 29, 2023
c86fd43
Merge pull request #1050 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Mar 29, 2023
afb9b8e
Merge pull request #1049 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Mar 29, 2023
b08dc37
Updating requirements for ofe
cboneti Mar 30, 2023
a591dab
Merge pull request #1098 from cboneti/ofe-dependencies
cboneti Mar 30, 2023
ffeaafc
Updating requirements.txt to the latest pip suggested
ek-nag Mar 31, 2023
1d97eb1
New Django versions require app name in makemigrations
ek-nag Mar 31, 2023
fb5a81b
fixing issue: #1096
ek-nag Mar 31, 2023
16161b4
community/front-end/ofe/website/ghpcfe/views/grafana.py
ek-nag Mar 31, 2023
d7be6cc
django-revproxy release 0.11.0 allows higher Django version
ek-nag Mar 31, 2023
cbfbf97
To access VPC subnets by vpc.id, vpc must be firstly created
ek-nag Mar 31, 2023
fa6c324
newer Grafana needs Host header in request
ek-nag Mar 31, 2023
efd333b
Fix IsIntergroup return value
tpdownes Mar 31, 2023
b040027
Track usage of deployment variables by modules
tpdownes Mar 31, 2023
c8302b7
Ensure that graph edges are only tracked for module connections
tpdownes Mar 31, 2023
ab8a56b
removing unnecessary py package
ek-nag Mar 31, 2023
1a6afd8
Merge pull request #1099 from ek-nag/develop
cboneti Mar 31, 2023
ea656f9
Address feedback from #1094
tpdownes Mar 31, 2023
1cbf1ae
Merge pull request #1094 from tpdownes/track_deployment_edges
tpdownes Mar 31, 2023
e15eeb9
Create test_deployment_variable_not_used validator
tpdownes Mar 31, 2023
717bad0
Document new test_deployment_variable_not_used validator
tpdownes Mar 31, 2023
30f5bd8
Add test_deployment_variable_not_used to default validators
tpdownes Mar 31, 2023
09987b2
Address test_deployment_variable_not_used failures in test blueprints
tpdownes Mar 31, 2023
46424f5
Bump google-auth from 2.17.0 to 2.17.1 in /community/front-end/ofe
dependabot[bot] Apr 1, 2023
fe27ddf
Bump django-allauth from 0.53.1 to 0.54.0 in /community/front-end/ofe
dependabot[bot] Apr 1, 2023
0872ea4
Address feedback from #1101
tpdownes Apr 2, 2023
4b876e7
add disk size
thiagosgobe Apr 3, 2023
ff0507b
Merge pull request #1101 from tpdownes/unused_deployment_validator
tpdownes Apr 3, 2023
0901b19
Simplify test_module_not_used implementation
tpdownes Apr 3, 2023
dbf6fcb
Merge pull request #1108 from tpdownes/simplify_module_unused
tpdownes Apr 3, 2023
f5f2bc4
Merge pull request #1104 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Apr 3, 2023
05d9572
Merge pull request #1102 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Apr 3, 2023
2a6bc76
Bump django-extensions from 3.1.5 to 3.2.1 in /community/front-end/ofe
dependabot[bot] Apr 3, 2023
0957672
Track explicit connections between modules
tpdownes Apr 3, 2023
1799461
Merge pull request #1103 from GoogleCloudPlatform/dependabot/pip/comm…
cboneti Apr 3, 2023
eed60a0
Change disk_size_gb var type
thiagosgobe Apr 3, 2023
874ac5e
Address feedback from #1109
tpdownes Apr 3, 2023
ad302fd
Merge pull request #1109 from tpdownes/track_explicit_edges
tpdownes Apr 3, 2023
3a20b57
Merge pull request #1107 from thiagosgobe/htcondor_disk_size
tpdownes Apr 3, 2023
5f3475a
Test infra automation. Init commit (#1105)
mr0re1 Apr 3, 2023
dfcae3a
version update
mr0re1 Apr 7, 2023
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
---
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.77.0
rev: v1.77.1
hooks:
- id: terraform_fmt
- id: terraform_tflint
Expand Down Expand Up @@ -66,7 +66,7 @@ repos:
hooks:
- id: go-critic
args: [-disable, "#experimental,sloppyTypeAssert"]
- repo: https://github.com/ansible/ansible-lint.git
- repo: https://github.com/ansible/ansible-lint
rev: v6.11.0
hooks:
- id: ansible-lint
Expand All @@ -75,13 +75,13 @@ repos:
types: [yaml]
additional_dependencies:
- ansible==6.*
- repo: https://github.com/adrienverge/yamllint.git
- repo: https://github.com/adrienverge/yamllint
rev: v1.29.0
hooks:
- id: yamllint
args: [-c=.yamllint]
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.8
rev: v0.9.9
hooks:
- id: pymarkdown
# Rules at https://github.com/jackdewinter/pymarkdown/tree/main/docs/rules
Expand Down
24 changes: 21 additions & 3 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func init() {
"Sets the output directory where the HPC deployment directory will be created.")
createCmd.Flags().StringSliceVar(&cliVariables, "vars", nil, msgCLIVars)
createCmd.Flags().StringSliceVar(&cliBEConfigVars, "backend-config", nil, msgCLIBackendConfig)
createCmd.Flags().StringVarP(&validationLevel, "validation-level", "l", "WARNING",
validationLevelDesc)
createCmd.Flags().StringVarP(&validationLevel, "validation-level", "l", "WARNING", validationLevelDesc)
createCmd.Flags().StringSliceVar(&validatorsToSkip, "skip-validators", nil, skipValidatorsDesc)
createCmd.Flags().BoolVarP(&overwriteDeployment, "overwrite-deployment", "w", false,
"If specified, an existing deployment directory is overwritten by the new deployment. \n"+
"Note: Terraform state IS preserved. \n"+
Expand All @@ -60,7 +60,10 @@ var (
overwriteDeployment bool
validationLevel string
validationLevelDesc = "Set validation level to one of (\"ERROR\", \"WARNING\", \"IGNORE\")"
createCmd = &cobra.Command{
validatorsToSkip []string
skipValidatorsDesc = "Validators to skip"

createCmd = &cobra.Command{
Use: "create BLUEPRINT_NAME",
Short: "Create a new deployment.",
Long: "Create a new deployment based on a provided blueprint.",
Expand Down Expand Up @@ -92,6 +95,9 @@ func runCreateCmd(cmd *cobra.Command, args []string) {
if err := deploymentConfig.SetValidationLevel(validationLevel); err != nil {
log.Fatal(err)
}
if err := skipValidators(&deploymentConfig); err != nil {
log.Fatal(err)
}
if err := deploymentConfig.ExpandConfig(); err != nil {
log.Fatal(err)
}
Expand All @@ -105,3 +111,15 @@ func runCreateCmd(cmd *cobra.Command, args []string) {
}
}
}

func skipValidators(dc *config.DeploymentConfig) error {
if validatorsToSkip == nil {
return nil
}
for _, v := range validatorsToSkip {
if err := dc.SkipValidator(v); err != nil {
return err
}
}
return nil
}
7 changes: 5 additions & 2 deletions cmd/expand.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ func init() {
"Output file for the expanded HPC Environment Definition.")
expandCmd.Flags().StringSliceVar(&cliVariables, "vars", nil, msgCLIVars)
expandCmd.Flags().StringSliceVar(&cliBEConfigVars, "backend-config", nil, msgCLIBackendConfig)
expandCmd.Flags().StringVarP(&validationLevel, "validation-level", "l", "WARNING",
validationLevelDesc)
expandCmd.Flags().StringVarP(&validationLevel, "validation-level", "l", "WARNING", validationLevelDesc)
expandCmd.Flags().StringSliceVar(&validatorsToSkip, "skip-validators", nil, skipValidatorsDesc)
rootCmd.AddCommand(expandCmd)
}

Expand Down Expand Up @@ -72,6 +72,9 @@ func runExpandCmd(cmd *cobra.Command, args []string) {
if err := deploymentConfig.SetValidationLevel(validationLevel); err != nil {
log.Fatal(err)
}
if err := skipValidators(&deploymentConfig); err != nil {
log.Fatal(err)
}
if err := deploymentConfig.ExpandConfig(); err != nil {
log.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ HPC deployments on the Google Cloud Platform.`,
log.Fatalf("cmd.Help function failed: %s", err)
}
},
Version: "v1.15.0",
Version: "v1.16.0",
Annotations: annotation,
}
)
Expand Down
4 changes: 2 additions & 2 deletions community/examples/AMD/hpc-cluster-amd-slurmv5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ deployment_groups:
packages:
slurm:
externals:
- spec: slurm@22-05-3
- spec: slurm@22-05-8
prefix: /usr/local
buildable: False
- type: file
Expand Down Expand Up @@ -169,7 +169,7 @@ deployment_groups:
# these images must match the images used by Slurm modules below because
# we are building OpenMPI with PMI support in libaries contained in
# Slurm installation
family: schedmd-v5-slurm-22-05-6-hpc-centos-7
family: schedmd-v5-slurm-22-05-8-hpc-centos-7
project: schedmd-slurm-public

- id: low_cost_node_group
Expand Down
6 changes: 4 additions & 2 deletions community/examples/htcondor-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ deployment_groups:
- network1
- htcondor_startup_central_manager
settings:
name_prefix: central-manager
name_prefix: cm
add_deployment_name_before_prefix: true
machine_type: c2-standard-4
disable_public_ips: true
service_account:
Expand Down Expand Up @@ -140,7 +141,8 @@ deployment_groups:
- network1
- htcondor_startup_access_point
settings:
name_prefix: access-point
name_prefix: ap
add_deployment_name_before_prefix: true
machine_type: c2-standard-4
service_account:
email: $(htcondor_configure.access_point_service_account)
Expand Down
9 changes: 6 additions & 3 deletions community/examples/quantum-circuit-simulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ blueprint_name: quantum-circuit
vars:
project_id: ## Set project id here
deployment_name: qsim-demo
region: us-west4
zone: us-west4-b
region: us-central1
zone: us-central1-f

# Documentation for each of the modules used below can be found at
# https://github.com/GoogleCloudPlatform/hpc-toolkit/blob/main/modules/README.md
Expand Down Expand Up @@ -125,7 +125,10 @@ deployment_groups:
- network1
- quantum-simulator-setup
settings:
machine_type: a2-highgpu-1g
machine_type: n1-standard-32
guest_accelerator:
- type: nvidia-tesla-t4
count: 1
instance_image:
project: ubuntu-os-cloud
family: ubuntu-2004-lts
Expand Down
4 changes: 3 additions & 1 deletion community/examples/slurm-gcp-v5-ubuntu2004.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ vars:
region: us-central1
zone: us-central1-c
instance_image:
family: schedmd-v5-slurm-22-05-6-ubuntu-2004-lts
# Please refer to the following link for the latest images:
# https://github.com/SchedMD/slurm-gcp/blob/master/docs/images.md#supported-operating-systems
family: schedmd-v5-slurm-22-05-8-ubuntu-2004-lts
project: projects/schedmd-slurm-public/global/images/family


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ sudo su - gcluster -c /bin/bash <<EOF
printf "\nInitalising Django environments...\n"
mkdir /opt/gcluster/run
pushd website
python manage.py makemigrations
python manage.py makemigrations ghpcfe
python manage.py migrate
printf "\nCreating django super user..."
DJANGO_SUPERUSER_PASSWORD=$DJANGO_PASSWORD python manage.py createsuperuser --username $DJANGO_USERNAME --email $DJANGO_EMAIL --noinput
Expand Down
118 changes: 65 additions & 53 deletions community/front-end/ofe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,72 +1,84 @@
archspec==0.1.3
argcomplete==2.0.0
asgiref==3.5.0
astroid==2.15.0
cachetools==5.0.0
archspec==0.2.0
argcomplete==3.0.5
asgiref==3.6.0
astroid==2.15.1
backports.zoneinfo==0.2.1
cachetools==5.3.0
certifi==2022.12.7
cffi==1.15.0
charset-normalizer==2.0.12
click==7.1.2
cryptography==39.0.1
cffi==1.15.1
cfgv==3.3.1
charset-normalizer==3.1.0
click==8.1.3
cryptography==40.0.1
decorator==5.1.1
defusedxml==0.7.1
dill==0.3.6
Django==3.2.18
django-allauth==0.48.0
django-extensions==3.1.5
# Need version 0.11.0 to be released with fixes for Django 3.2
distlib==0.3.6
# django-revproxy==0.11.0 released but not yet in pypi
git+https://github.com/jazzband/django-revproxy.git@d2234005135dc0771b7c4e0bb0465664ccfa5787
djangorestframework==3.13.1
google-api-core==2.5.0
google-api-python-client==2.37.0
google-auth==2.6.0
Django==4.1.7
django-allauth==0.54.0
django-extensions==3.2.1
djangorestframework==3.14.0
filelock==3.10.7
google-api-core==2.11.0
google-api-python-client==2.83.0
google-auth==2.17.1
google-auth-httplib2==0.1.0
google-cloud-billing==1.4.1
google-cloud-billing==1.10.1
google-cloud-core==2.3.2
google-cloud-pubsub==2.9.0
google-cloud-storage==2.1.0
google-crc32c==1.3.0
google-resumable-media==2.2.1
googleapis-common-protos==1.54.0
grafana_api==1.0.3
grpc-google-iam-v1==0.12.3
grpcio==1.43.0
grpcio-status==1.43.0
h11==0.13.0
httplib2==0.20.4
idna==3.3
google-cloud-pubsub==2.15.2
google-cloud-storage==2.8.0
google-crc32c==1.5.0
google-resumable-media==2.4.1
googleapis-common-protos==1.59.0
grafana-api==1.0.3
grpc-google-iam-v1==0.12.6
grpcio==1.53.0
grpcio-status==1.53.0
h11==0.14.0
httplib2==0.22.0
identify==2.5.22
idna==3.4
isort==5.12.0
lazy-object-proxy==1.7.1
libcst==0.4.1
mccabe==0.6.1
mypy-extensions==0.4.3
lazy-object-proxy==1.9.0
libcst==0.4.9
mccabe==0.7.0
mypy-extensions==1.0.0
nodeenv==1.7.0
oauthlib==3.2.2
platformdirs==2.5.0
pre-commit==2.17.0
platformdirs==3.2.0
pre-commit==3.2.1
proto-plus==1.22.2
protobuf==3.19.5
protobuf==4.22.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
PyJWT==2.4.0
pylint==2.12.2
pylint-django==2.5.0
PyJWT==2.6.0
pylint==2.17.1
pylint-django==2.5.3
pylint-plugin-utils==0.7
pyparsing==3.0.7
pyparsing==3.0.9
python3-openid==3.2.0
pytz==2021.3
pytz==2023.3
PyYAML==6.0
retry==0.9.2
requests==2.27.1
requests==2.28.2
requests-oauthlib==1.3.1
rsa==4.8
retry==0.9.2
rsa==4.9
semantic-version==2.10.0
setuptools-rust==1.5.2
six==1.16.0
sqlparse==0.4.2
sqlparse==0.4.3
toml==0.10.2
typing-inspect==0.7.1
typing_extensions==4.1.1
tomli==2.0.1
tomlkit==0.11.7
typing-inspect==0.8.0
typing_extensions==4.5.0
uritemplate==4.1.1
urllib3==1.26.8
uvicorn==0.17.4
wrapt==1.13.3
xmltodict==0.12.0
yq==2.13.0
urllib3==1.26.15
uvicorn==0.21.1
virtualenv==20.21.0
wrapt==1.15.0
xmltodict==0.13.0
yq==3.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def write_filestore_yaml(fs: GCPFilestoreFilesystem, target_dir: Path) -> None:
id: {fs.name}
settings:
filestore_share_name: {export_name[1:]}
network_name: {fs.vpc.cloud_id}
network_id: projects/{project_id}/global/networks/{fs.vpc.cloud_id}
zone: {fs.cloud_zone}
size_gb: {fs.capacity}
filestore_tier: {fs.get_performance_tier_display()}
Expand Down
4 changes: 2 additions & 2 deletions community/front-end/ofe/website/ghpcfe/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

"""Signal handlers for model state"""

from django.db.models.signals import pre_save, post_delete
from django.db.models.signals import pre_save, post_delete, post_save
from django.dispatch import receiver
from .models import Cluster, VirtualNetwork

# Pylint misses the sender decorator behaviour here
#pylint: disable=unused-argument

@receiver(pre_save, sender=VirtualNetwork)
@receiver(post_save, sender=VirtualNetwork)
def sync_vnet_subnet_state(sender, **kwargs):
vpc = kwargs["instance"]
for sn in vpc.subnets.all():
Expand Down
3 changes: 2 additions & 1 deletion community/front-end/ofe/website/ghpcfe/views/grafana.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ class GrafanaProxyView(LoginRequiredMixin, ProxyView):
def get_proxy_request_headers(self, request):
headers = super().get_proxy_request_headers(request)
headers["X-WEBAUTH-USER"] = request.user.email
headers["Host"] = request.get_host()
return headers

def dispatch(self, request, path):
response = super().dispatch(request, path)
response.headers["X-Frame-Options"] = "SAMEORIGIN"
response["X-Frame-Options"] = "SAMEORIGIN"
return response

class GrafanaView(LoginRequiredMixin, base.TemplateView):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ No resources.
| <a name="input_image_hyperthreads"></a> [image\_hyperthreads](#input\_image\_hyperthreads) | Enable hyperthreading | `bool` | `false` | no |
| <a name="input_instance_image"></a> [instance\_image](#input\_instance\_image) | Defines the image that will be used by the compute VMs in this partition.<br>Expected Fields:<br>name: The name of the image. Mutually exclusive with family.<br>family: The image family to use. Mutually exclusive with name.<br>project: The project where the image is hosted.<br>Custom images must comply with Slurm on GCP requirements. | `map(string)` | <pre>{<br> "family": "schedmd-slurm-21-08-8-hpc-centos-7",<br> "project": "schedmd-slurm-public"<br>}</pre> | no |
| <a name="input_instance_template"></a> [instance\_template](#input\_instance\_template) | Instance template to use to create partition instances | `string` | `null` | no |
| <a name="input_labels"></a> [labels](#input\_labels) | Labels to add to partition compute instances. List of key key, value pairs. | `any` | `{}` | no |
| <a name="input_labels"></a> [labels](#input\_labels) | Labels to add to partition compute instances. Key-value pairs. | `map(string)` | `{}` | no |
| <a name="input_machine_type"></a> [machine\_type](#input\_machine\_type) | Compute Platform machine type to use for this partition compute nodes | `string` | `"c2-standard-60"` | no |
| <a name="input_max_node_count"></a> [max\_node\_count](#input\_max\_node\_count) | Maximum number of nodes allowed in this partition | `number` | `50` | no |
| <a name="input_network_storage"></a> [network\_storage](#input\_network\_storage) | An array of network attached storage mounts to be configured on the partition compute nodes. | <pre>list(object({<br> server_ip = string,<br> remote_mount = string,<br> local_mount = string,<br> fs_type = string,<br> mount_options = string<br> }))</pre> | `[]` | no |
| <a name="input_network_storage"></a> [network\_storage](#input\_network\_storage) | An array of network attached storage mounts to be configured on the partition compute nodes. | <pre>list(object({<br> server_ip = string,<br> remote_mount = string,<br> local_mount = string,<br> fs_type = string,<br> mount_options = string,<br> client_install_runner = map(string)<br> mount_runner = map(string)<br> }))</pre> | `[]` | no |
| <a name="input_partition_name"></a> [partition\_name](#input\_partition\_name) | The name of the slurm partition | `string` | n/a | yes |
| <a name="input_preemptible_bursting"></a> [preemptible\_bursting](#input\_preemptible\_bursting) | Should use preemptibles to burst | `string` | `false` | no |
| <a name="input_regional_capacity"></a> [regional\_capacity](#input\_regional\_capacity) | If True, then create instances in the region that has available capacity. Specify the region in the zone field. | `bool` | `false` | no |
Expand Down
Loading