Comments (3)
Hi, thank you very much. It worked.
from hpc-toolkit.
I tried with removing network module from main.tf and providing existing network information.
project_id = "prj-n-005-cloudops-618d"
network_id = "8272936923228017775"
network_name = "vpc-n-shared-restricted"
network_self_link = "projects/prj-n-shared-restricted-8521/global/networks/vpc-n-shared-restricted"
subnetwork_name = "sb-n-shared-restricted-northamerica-northeast1"
subnetwork_self_link = "projects/prj-n-shared-restricted-8521/regions/northamerica-northeast1/subnetworks/sb-n-shared-restricted-northamerica-northeast1"
subnetwork_project = "prj-n-shared-restricted-8521"
But they don't find the subnetwork I provided here.
module "debug_partition" {
source = "./modules/schedmd-slurm-gcp-v5-partition"
is_default = true
zone = var.zone
project_id = var.project_id
region = var.region
subnetwork = var.subnetwork_name
subnetwork_self_link = var.subnetwork_self_link
network_storage = flatten([module.homefs.network_storage])
deployment_name = var.deployment_name
enable_placement = false
node_groups = flatten([module.debug_node_group.node_groups])
labels = merge(var.labels, { ghpc_role = "compute",})
partition_name = "debug"
subnetwork_project = var.subnetwork_project
}
module "compute_partition" {
source = "./modules/schedmd-slurm-gcp-v5-partition"
node_groups = flatten([module.compute_node_group.node_groups])
project_id = var.project_id
partition_name = "compute"
network_storage = flatten([module.homefs.network_storage])
zone = var.zone
deployment_name = var.deployment_name
region = var.region
labels = merge(var.labels, { ghpc_role = "compute",})
subnetwork = var.subnetwork_name
subnetwork_self_link = var.subnetwork_self_link
subnetwork_project = var.subnetwork_project
}
from hpc-toolkit.
I see that you are using the module modules/network/vpc
. However, I think you're after the module modules/network/pre-existing-vpc
. See here for documentation on this module.
Please let me know if this works for you!
from hpc-toolkit.
Related Issues (20)
- Update ml-slurm blueprint to use updated base image for schedmd debian 11 HOT 1
- Unable to dynamically modify the number of nodes in a slurm cluster HOT 2
- Slurm nodes with hybrid controller module unable to configure correctly HOT 2
- error when use packer to build image in ml-slurm HOT 2
- Unable to configure Slurm due to failure to mount filestore HOT 5
- Feature request: support `hashicorp/google` and `hashicorp/google-beta` v5
- private_vpc_connection is not unique per cluster in slurm-sql module HOT 4
- ERROR: failed to sync instances when issuing `scontrol reboot` HOT 4
- Example of startup script with cluster without vm-instance? HOT 2
- Broken link HOT 1
- PMIx MPI support in Slurm HOT 16
- IP space of [gcp project subnet] is exhausted when deploying a GCP Slurm cluster HOT 2
- Packer custom image does not use specified service account email. HOT 3
- Upgrade to Ops Agent fails HOT 6
- HTCondor tutorial: add cloudresourcemanager.googleapis.com to the list of services to enable HOT 8
- Fail to consume shared reservations HOT 4
- No CUDA devices visible with A2 instances HOT 2
- Missing set credentials on fs creation triggered by validator HOT 5
- Rocky image failing due to 404 on lustre-client HOT 5
- Using a newer version of Terraform can lead to controller replacement on reconfigure for Slurm GCP v6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpc-toolkit.