Closed nacx closed 1 year ago
what is your terraform.tfvars
file - I have not hit this issue with the latest main
? btw what is your terraform version? and did you do make destroy
that did clean up terraform cache and lock files...?
p.s. submitted the bug template, let me know your thoughts about: https://github.com/smarunich/tetrate-service-bridge-sandbox/pull/137
Yes, I started from a completely clean checkout. My Terraform version is:
$ terraform version
Terraform v1.3.2
on darwin_arm64
Your version of Terraform is out of date! The latest version
is 1.3.3. You can update by downloading from https://www.terraform.io/downloads.html
And my tfvars:
{
"name_prefix": "nacx-test",
"tsb_fqdn": "nacx-test.tetrate.private",
"tsb_version": "1.5.3",
"tsb_image_sync_username": "ignasi-barrera",
"tsb_image_sync_apikey": "<API key>",
"jumpbox_machine_type": "n2-standard-2",
"tsb_password": "admin",
"tsb_mp": {
"cloud": "gcp",
"cluster_id": 0
},
"tsb_org": "tetrate",
"mp_as_tier1_cluster": false,
"aws_k8s_regions": [
],
"azure_k8s_regions": [
],
"gcp_k8s_regions": [
"europe-southwest1"
]
}
Environment:
$ sw_vers
ProductName: macOS
ProductVersion: 12.6
BuildVersion: 21G115
$ uname -a
Darwin mbp 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
ack, will validate later today, meanwhile just have completed a clean run of the below:
❯ terraform version
Terraform v1.3.3
on darwin_amd64
tfvars
{
"name_prefix": "r153d7",
"tsb_fqdn": "r153d7.gcp.cx.tetrate.info",
"tsb_version": "1.5.3",
"tsb_image_sync_username": "sergey-marunich",
"tsb_image_sync_apikey": "<>",
"tsb_password": "<>",
"tsb_mp": {
"cloud": "gcp",
"cluster_id": 0
},
"tsb_org": "tetrate",
"aws_k8s_regions": [
],
"azure_k8s_regions": [
],
"gcp_k8s_regions": [
"us-west1",
"us-west1"
]
}
Environment
❯ sw_vers
ProductName: macOS
ProductVersion: 12.5
BuildVersion: 21G72
❯ uname -a
Darwin aurora.local 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 x86_64
Ok, I've upgraded terraform to fully match your environment and it worked now... I don't think, though this is related to the terraform version at all, and it's likely that I was under the impression all internal status was cleaned up while it wasn't. I'll close for now and reopen if I can reproduce it. Thx!
When running the
make tsb
command to deploy everything at once, themake k8s
stage completes properly but the MP creation fails.The following error is seen in the logs int he middle of the process:
Which leads to the final error when creating the MP.
If the make targets are run individually instead (make k8s, make tsb_mp, make tsb_cp), then the deployment succeeds.