Closed vburckhardt closed 4 months ago
Failure on second deploy.
Deploy DA, then deploy again (without changing any inputs)
2024/04/23 10:51:59 Terraform apply | null_resource.ci_pipeline_run (local-exec): {"pipelineId":"52b2b42d-938f-41b4-8f18-a7595131f994","listenerName":"ci-listener-gitlab","buildNumber":{"type":"tekton","buildNumber":2},"status":{"state":"pending"},"id":"b915f010-f1f4-49c0-b26f-5e19a97fe602","type":"pipeline_run","created":"2024-04-23T10:51:56.502Z","updated_at":"2024-04-23T10:51:56.502Z","trigger":{"name":"rag-webhook-trigger","type":"generic"},"url":"https://devops-api.us-south.devops.cloud.ibm.com/v1/tekton-pipelines/52b2b42d-938f-41b4-8f18-a7595131f994/runs/b915f010-f1f4-49c0-b26f-5e19a97fe602","html_url":"https://cloud.ibm.com/devops/pipelines/tekton/52b2b42d-938f-41b4-8f18-a7595131f994/runs/b915f010-f1f4-49c0-b26f-5e19a97fe602?env_id=ibm:yp:us-south"} 2024/04/23 10:51:59 Terraform apply | null_resource.ci_pipeline_run: Creation complete after 6s [id=5895905901096860018] 2024/04/23 10:51:59 Terraform apply | 2024/04/23 10:51:59 Terraform apply | Error: local-exec provisioner error 2024/04/23 10:51:59 Terraform apply | 2024/04/23 10:51:59 Terraform apply | with null_resource.discovery_file_upload, 2024/04/23 10:51:59 Terraform apply | on main.tf line 136, in resource "null_resource" "discovery_file_upload": 2024/04/23 10:51:59 Terraform apply | 136: provisioner "local-exec" { 2024/04/23 10:51:59 Terraform apply | 2024/04/23 10:51:59 Terraform apply | Error running command './watson-scripts/discovery-file-upload.sh "Bearer 2024/04/23 10:51:59 Terraform apply | 2024/04/23 10:51:59 Terraform apply | "https://api.us-south.discovery.watson.cloud.ibm.com/instances/5a391539-15cf-46fb-b95a-21ce9770dec6" 2024/04/23 10:51:59 Terraform apply | "./artifacts/WatsonDiscovery" ': exit status 3. Output: %!T(MISSING)otal %! (MISSING) 2024/04/23 10:51:59 Terraform apply | Received %!X(MISSING)ferd Average Speed Time Time Time Current 2024/04/23 10:51:59 Terraform apply | Dload Upload Total Spent Left Speed 2024/04/23 10:51:59 Terraform apply | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 2024/04/23 10:51:59 Terraform apply | 0 0 367 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 2024/04/23 10:51:59 Terraform apply | 0 100 367 100 367 0 0 606 0 --:--:-- --:--:-- --:--:-- 2024/04/23 10:51:59 Terraform apply | 606 2024/04/23 10:51:59 Terraform apply | %!T(MISSING)otal %!R(MISSING)eceived %!X(MISSING)ferd Average Speed Time Time Time Current 2024/04/23 10:51:59 Terraform apply | Dload Upload Total Spent Left Speed 2024/04/23 10:51:59 Terraform apply | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 2024/04/23 10:51:59 Terraform apply | 0 0 246 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 2024/04/23 10:51:59 Terraform apply | 0 100 246 100 246 0 0 379 0 --:--:-- --:--:-- --:--:-- 2024/04/23 10:51:59 Terraform apply | 386 2024/04/23 10:51:59 Terraform apply | curl: (3) Illegal characters found in URL 2024/04/23 10:51:59 Terraform apply | 2024/04/23 10:51:59 [1m[31mTerraform APPLY error: Terraform APPLY errorexit status 1[39m[0m 2024/04/23 10:51:59 [34mStarting command: terraform1.5 output -no-color -json[39m[0m 2024/04/23 10:51:59 Starting command: terraform1.5 output -no-color -json 2024/04/23 10:52:03 Command finished successfully. 2024/04/23 10:52:03 [1m----- Schematics Cost Estimation -----[21m[0m 2024/04/23 10:52:03 [34mStarting command: infracost breakdown -p tfplan.json --format json --out-file cost.json --project-name Sample Retrieval Augmented Generation App Config[39m[0m 2024/04/23 10:52:07 Schematics Cost Estimation | Detected Terraform plan JSON file at tfplan.json 2024/04/23 10:52:07 Schematics Cost Estimation | [33mWarning:[0m The following usage file parameters are invalid and will be ignored: wml_capacity_unit_hour, wml_class1_ru, wml_class2_ru, wml_class3_ru, wml_instance 2024/04/23 10:52:07 Schematics Cost Estimation | 2024/04/23 10:52:07 Schematics Cost Estimation | Configured IAM URL https://iam.cloud.ibm.com 2024/04/23 10:52:07 Schematics Cost Estimation | [96;1m⠋[0m Extracting only cost-related params from terraform [96;1m⠙[0m Extracting only cost-related params from terraform [96;1m⠹[0m Extracting only cost-related params from terraform [96m✔[0m Extracting only cost-related params from terraform 2024/04/23 10:52:08 Schematics Cost Estimation | [96;1m⠋[0m Retrieving cloud prices to calculate costs [96;1m⠙[0m Retrieving cloud prices to calculate costs [96;1m⠹[0m Retrieving cloud prices to calculate costs [96;1m⠸[0m Retrieving cloud prices to calculate costs [96;1m⠼[0m Retrieving cloud prices to calculate costs [96;1m⠴[0m Retrieving cloud prices to calculate costs [96m✔[0m Retrieving cloud prices to calculate costs 2024/04/23 10:52:08 Schematics Cost Estimation | 2024/04/23 10:52:08 Schematics Cost Estimation | Configured IAM URL https://iam.cloud.ibm.com 2024/04/23 10:52:08 Schematics Cost Estimation | Output saved to cost.json 2024/04/23 10:52:08 [1m[31mCould not execute job: Error : Terraform APPLY errorexit status 1[39m[0m
should be addressed in this one https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/issues/27
PR merged https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/pull/47
Failure on second deploy.
Deploy DA, then deploy again (without changing any inputs)