You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] OpenStack Region is: US-EAST-VA-1: timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] Locked "auth": timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] Unlocking "auth": timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] Unlocked "auth": timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] OpenStack Region is: US-WEST-OR-1: timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [ERROR] provider.terraform-provider-openstack_v3.0.0: Response contains error diagnostic: tf_proto_version=5.4 tf_provider_addr=registry.terraform.io/terraform-provider-openstack/openstack diagnostic_severity=ERROR diagnostic_summary="Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog." tf_req_id=bad17999-eff3-00e1-909f-70766b45d0a4 tf_resource_type=openstack_compute_keypair_v2 @module=sdk.proto diagnostic_detail="" tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/diag/diagnostics.go:58 timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [ERROR] provider.terraform-provider-openstack_v3.0.0: Response contains error diagnostic: tf_provider_addr=registry.terraform.io/terraform-provider-openstack/openstack tf_req_id=3f04789c-a33c-592b-876d-14a7dec45546 tf_proto_version=5.4 @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_severity=ERROR diagnostic_summary="Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog." @module=sdk.proto diagnostic_detail="" tf_rpc=ApplyResourceChange tf_resource_type=openstack_compute_keypair_v2 timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.909+0100 [DEBUG] State storage *remote.State declined to persist a state snapshot
2025-02-07T10:39:14.909+0100 [ERROR] vertex "module.ovh_keypair3.openstack_compute_keypair_v2.keypair["US-WEST-OR-1"]" error: Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog.
2025-02-07T10:39:14.910+0100 [DEBUG] State storage *remote.State declined to persist a state snapshot
2025-02-07T10:39:14.910+0100 [ERROR] vertex "module.ovh_keypair3.openstack_compute_keypair_v2.keypair["US-EAST-VA-1"]" error: Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog.`
Expected Behavior
openstack resources shall be created in OVH-US regions
Actual Behavior
Regions are not found into the catalog
Steps to Reproduce
terraform apply
Additional context
Assumptions: When declaring the openstack provider, auth_url is https://auth.cloud.ovh.net/v3/ and might not match with OVH-US or when calling child module, the provider passed in argument does not fit with expected openstack endpoint
The text was updated successfully, but these errors were encountered:
Hello @jtrebaol, I think your auth_url is not the right one for the US region, you should use https://auth.cloud.ovh.us/v3 (if you want, you can directly download a file openrc.sh with all these information from a public cloud project on OVHcloud website, in section Users & roles).
Also, you may have to declare the region field in your Openstack provider or add the env variable export OS_REGION_NAME="US-EAST-VA" (and probably declare several providers, one per region).
Describe the bug
We want to create through Terraform openstack_compute_keypair_v2 resources in OVH-US regions US-WEST-OR-1 and US-EAST-VA-1
Terraform Version
OpenTofu v1.8.5
on linux_amd64
OVH Terraform Provider Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
` module.ovh_keypair3.openstack_compute_keypair_v2.keypair["US-EAST-VA-1"] will be created
ssh-rsa xxx
EOT
}
module.ovh_keypair3.openstack_compute_keypair_v2.keypair["US-WEST-OR-1"] will be created
ssh-rsa xxx
EOT
}
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] OpenStack Region is: US-EAST-VA-1: timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] Locked "auth": timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] Unlocking "auth": timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] Unlocked "auth": timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [INFO] provider.terraform-provider-openstack_v3.0.0: 2025/02/07 10:39:14 [DEBUG] OpenStack Region is: US-WEST-OR-1: timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [ERROR] provider.terraform-provider-openstack_v3.0.0: Response contains error diagnostic: tf_proto_version=5.4 tf_provider_addr=registry.terraform.io/terraform-provider-openstack/openstack diagnostic_severity=ERROR diagnostic_summary="Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog." tf_req_id=bad17999-eff3-00e1-909f-70766b45d0a4 tf_resource_type=openstack_compute_keypair_v2 @module=sdk.proto diagnostic_detail="" tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/diag/diagnostics.go:58 timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.907+0100 [ERROR] provider.terraform-provider-openstack_v3.0.0: Response contains error diagnostic: tf_provider_addr=registry.terraform.io/terraform-provider-openstack/openstack tf_req_id=3f04789c-a33c-592b-876d-14a7dec45546 tf_proto_version=5.4 @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_severity=ERROR diagnostic_summary="Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog." @module=sdk.proto diagnostic_detail="" tf_rpc=ApplyResourceChange tf_resource_type=openstack_compute_keypair_v2 timestamp="2025-02-07T10:39:14.907+0100"
2025-02-07T10:39:14.909+0100 [DEBUG] State storage *remote.State declined to persist a state snapshot
2025-02-07T10:39:14.909+0100 [ERROR] vertex "module.ovh_keypair3.openstack_compute_keypair_v2.keypair["US-WEST-OR-1"]" error: Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog.
2025-02-07T10:39:14.910+0100 [DEBUG] State storage *remote.State declined to persist a state snapshot
2025-02-07T10:39:14.910+0100 [ERROR] vertex "module.ovh_keypair3.openstack_compute_keypair_v2.keypair["US-EAST-VA-1"]" error: Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog.`
Expected Behavior
openstack resources shall be created in OVH-US regions
Actual Behavior
Regions are not found into the catalog
Steps to Reproduce
terraform apply
Additional context
Assumptions: When declaring the openstack provider, auth_url is https://auth.cloud.ovh.net/v3/ and might not match with OVH-US or when calling child module, the provider passed in argument does not fit with expected openstack endpoint
The text was updated successfully, but these errors were encountered: