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
As you can see, System.Version is not present. It is however present in another section of the returned json in each of the objects of an array with key "Application Nodes"...
Perhaps the system information is returned this way in clusters? The system information check should account for this.
Terraform Version
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
N/A
Affected Resource(s)
Please list the resources as a list, for example:
provider initialization
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,
N/A
Expected Behavior
What should have happened?
The provider initialization should have worked.
Actual Behavior
What actually happened?
Error: -11T17:23:23.849Z [ERROR] provider.terraform-provider-sonarqube_v0.16.9: Response contains error diagnostic: tf_provider_addr=registry.terraform.io/jdamata/sonarqube tf_req_id=a0c0a2a2-f1e9-0a52-b79a-3cbf9a1fe066 @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 @module=sdk.proto diagnostic_summary="failed to convert sonarqube version to a version: Malformed version: " tf_proto_version=5.3 tf_rpc=Configure diagnostic_detail="" diagnostic_severity=ERROR timestamp=2023-12-11T17:23:23.849Z
Error: -11T17:23:23.850Z [ERROR] vertex "provider[\"registry.terraform.io/jdamata/sonarqube\"]" error: failed to convert sonarqube version to a version: Malformed version:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
None
The text was updated successfully, but these errors were encountered:
This provider (0.16.9) is not initializing correctly during the version and edition check...
We are using SonarQube 9.9.2.77730 with DataCenter edition deployed in K8s as a cluster of 3 nodes.
terraform-provider-sonarqube/sonarqube/provider.go
Line 164 in c8754ed
The issue is the code is checking the system information here...
terraform-provider-sonarqube/sonarqube/provider.go
Line 204 in c8754ed
It expects two properties out of the system information call it makes...
The problem is that our SQ instance is returning this for that section in the json (with redactions)...
As you can see, System.Version is not present. It is however present in another section of the returned json in each of the objects of an array with key "Application Nodes"...
Perhaps the system information is returned this way in clusters? The system information check should account for this.
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.N/A
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
What should have happened?
The provider initialization should have worked.
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: