We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
depploying Full VM by using a terraform script
Terraform code:
terraform { required_providers { grid = { source = "threefoldtech/grid" } } } provider "grid" { mnemonics = "some mnemonic" network = "main" } resource "grid_network" "net13" { nodes = [5453] ip_range = "10.2.0.0/16" name = "network2" description = "newer network" add_wg_access = false } resource "grid_deployment" "d1" { node = 5453 network_name = grid_network.net13.name # ip_range = lookup(grid_network.net13.nodes_ip_range, 5453, "") disks { name = "data" size = 20 description = "volume holding app data" } vms { name = "nextcloud" flist = "https://hub.grid.tf/tf-official-vms/ubuntu-22.04-lts.flist" cpu = 4 publicip = true memory = 8192 planetary = true entrypoint = "/sbin/zinit init" mounts { disk_name = "data" mount_point = "/app" } env_vars = { SSH_KEY ="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAOP0h6VImNcxnIBRMoMfbMfb0xwGHDlaPxZ+nu0CL8ATJekVDHDLMGEPdvACfHBe0sqIw/l6jqoEMR4Dzhjgm4bVEUBVEnG1FvkeNB59sT2DOxDCZuqJvjx2M1bJlH8AR/JQXxUQ+zvfTbavc4/zfCuJm4PYNUsmEt/IQmRwLznGOkoJbwYLhKCC3ykZd0EGpmCWgUUYn0ihaaYkyrliQi5Ny00x0s6jOIJg0CG2Xh5xcrkhOfCZMxZAB+/LGQpZ3tu+Cy5jRf8V/JZ8XQmtYM2GmBUZ1KGcMcsGzrtuudn13JeYLtWJBw6A7Q3Fb7dQSCMLC9UA0uMSZk67M6DFV john@RescuedMac" } } } #output "wg_config" { # value = grid_network.net13.access_wg_config #} output "node1_vm1_ip" { value = grid_deployment.d1.vms[0].ip } output "public_ip" { value = grid_deployment.d1.vms[0].computedip } output "ygg_ip" { value = grid_deployment.d1.vms[0].ygg_ip }
Error message:
grid_network.net13: Creating... grid_network.net13: Still creating... [10s elapsed] ╷ │ Error: error sending deployment to the node: context deadline exceeded │ │ with grid_network.net13, │ on main.tf line 14, in resource "grid_network" "net13": │ 14: resource "grid_network" "net13" {
Also - play.grid.tf lead to timeouts.
Normal VM deployment
No response
The text was updated successfully, but these errors were encountered:
tried the same deployment on mainnet and deployed successfully but took 1 minute and 26 seconds but on node 1
Sorry, something went wrong.
Close as duplicate to #392
No branches or pull requests
What happened?
depploying Full VM by using a terraform script
Terraform code:
Error message:
Also - play.grid.tf lead to timeouts.
What did you expect?
Normal VM deployment
What browsers are you seeing the problem on?
No response
ZOS info
No response
Dashboard info
No response
weblets info
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: