Skip to content
New issue

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

[DB] Error getting database autoscaling groups #5496

Open
Ak-sky opened this issue Jul 9, 2024 · 0 comments
Open

[DB] Error getting database autoscaling groups #5496

Ak-sky opened this issue Jul 9, 2024 · 0 comments
Labels
service/Cloud Databases Issues related to Cloud Databases

Comments

@Ak-sky
Copy link

Ak-sky commented Jul 9, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Terraform Version v1.6.6
Terraform IBM Provider Version v1.67.1

Affected Resource(s)

  • ibm_database

Terraform Configuration Files

In our continous test pipeline one of the postgresql example test failed with the below error Error getting database autoscaling groups

TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: │ Error: [ERROR] Error getting database autoscaling groups: Not Found
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: │ 
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: │   with module.read_only_replica_postgresql_db[0].ibm_database.postgresql_db,
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: │   on ../../main.tf line 55, in resource "ibm_database" "postgresql_db":
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: │   55: resource "ibm_database" "postgresql_db" {
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: │ 
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z logger.go:66: ╵
TestRunBasicExampleWithFlavorMultitenant 2024-07-09T00:49:00Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: [ERROR] Error getting database autoscaling groups: Not Found
│ 
│   with module.read_only_replica_postgresql_db[0].ibm_database.postgresql_db,
│   on ../../main.tf line 55, in resource "ibm_database" "postgresql_db":
│   55: resource "ibm_database" "postgresql_db" {
│ 
╵}

In TF trace logs, one of the API seen returning 404 error

2024-07-09T00:49:00.397Z [INFO]  provider.terraform-provider-ibm_v1.62.0: 2024/07/09 00:49:00 [DEBUG] GET https://api.us-south.databases.cloud.ibm.com/v5/ibm/deployments/crn:v1:bluemix:public:databases-for-postgresql:us-south:a%!F(MISSING)abac0df06b644a9cabc6e44f55b3880e:996642f3-250c-4951-883b-b8c6a2b9dc75::/groups/member/autoscaling: timestamp=2024-07-09T00:49:00.397Z
2024-07-09T00:49:00.580Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/ibm-cloud/ibm\"] (close)" is waiting for "module.read_only_replica_postgresql_db[0].data.ibm_database_connection.database_connection"
2024-07-09T00:49:00.580Z [TRACE] dag/walk: vertex "module.read_only_replica_postgresql_db (close)" is waiting for "module.read_only_replica_postgresql_db[0].data.ibm_database_connection.database_connection"
2024-07-09T00:49:00.807Z [INFO]  provider.terraform-provider-ibm_v1.62.0: 2024/07/09 00:49:00 [Debug] Response:
HTTP/2.0 404 Not Found

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please share a link to the ZIP file.

Debug Output

TF Trace Logs - trace.log

TF Apply stdout - stdout.txt

Panic Output

Expected Behavior

DB should get created

Actual Behavior

Failure during DB creation.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@github-actions github-actions bot added the service/Cloud Databases Issues related to Cloud Databases label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Cloud Databases Issues related to Cloud Databases
Projects
None yet
Development

No branches or pull requests

1 participant