Comments (1)
Hi @m4r1k -
It is tempting to use the google_project_service
resource more uniformly but, unfortunately, it does not actually guarantee that the service is enabled before a subsequent resource tries to use it. This is true even if you explicitly use depends_on
in your resource. From what we understand, the only solution is sleep X
.
See, for example, hashicorp/terraform-provider-google#11465
We are committed in our roadmap to making the experience of enabling APIs better but need to design something that is reliable and not "a different set of problems." These will probably look something like an initial Terraform stage (or API call within ghpc itself) that enables the APIs before running Terraform on the "real" infrastructure.
In meantime, our readme and tutorials make use of explicit gcloud commands to enable APIs:
- https://github.com/GoogleCloudPlatform/hpc-toolkit/tree/main#enable-gcp-apis
- https://github.com/GoogleCloudPlatform/hpc-toolkit/blob/main/docs/tutorials/basic.md#enable-apis--permissions
from hpc-toolkit.
Related Issues (20)
- SLURM 1.20 deployed and having node creation error HOT 40
- Slurm setup fails in deployed blueprint - possible error getting metadata HOT 7
- HPC toolkit no longer works with a2 instances HOT 6
- Partition a208 misconfigured in hpc-interprise-slurm.yaml HOT 4
- 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
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.