[PR] Bump github.com/apache/cloudstack-go/v2 from 2.13.2 to 2.16.1 [cloudstack-terraform-provider]

2024-05-31 Thread via GitHub


dependabot[bot] opened a new pull request, #119:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/119

   Bumps 
[github.com/apache/cloudstack-go/v2](https://github.com/apache/cloudstack-go) 
from 2.13.2 to 2.16.1.
   
   Release notes
   Sourced from https://github.com/apache/cloudstack-go/releases";>github.com/apache/cloudstack-go/v2's
 releases.
   
   v2.16.1
   What's Changed
   
   [StepSecurity] ci: Harden GitHub Actions by https://github.com/step-security-bot";>@​step-security-bot
 in https://redirect.github.com/apache/cloudstack-go/pull/81";>apache/cloudstack-go#81
   Bump golang.org/x/net from 0.17.0 to 0.23.0 by https://github.com/dependabot";>@​dependabot in https://redirect.github.com/apache/cloudstack-go/pull/82";>apache/cloudstack-go#82
   make mockgen for modern versions? by https://github.com/DaanHoogland";>@​DaanHoogland in https://redirect.github.com/apache/cloudstack-go/pull/83";>apache/cloudstack-go#83
   Generate methods to reset params by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/apache/cloudstack-go/pull/84";>apache/cloudstack-go#84
   Use POST for user sensitive calls by https://github.com/mlsorensen";>@​mlsorensen in https://redirect.github.com/apache/cloudstack-go/pull/86";>apache/cloudstack-go#86
   
   New Contributors
   
   https://github.com/step-security-bot";>@​step-security-bot
 made their first contribution in https://redirect.github.com/apache/cloudstack-go/pull/81";>apache/cloudstack-go#81
   https://github.com/DaanHoogland";>@​DaanHoogland made 
their first contribution in https://redirect.github.com/apache/cloudstack-go/pull/83";>apache/cloudstack-go#83
   
   Full Changelog: https://github.com/apache/cloudstack-go/compare/v2.16.0...v2.16.1";>https://github.com/apache/cloudstack-go/compare/v2.16.0...v2.16.1
   v2.16.0
   Support for Apache CloudStack 4.19
   What's Changed
   
   generate: fix for nested api response by https://github.com/shwstppr";>@​shwstppr in https://redirect.github.com/apache/cloudstack-go/pull/58";>apache/cloudstack-go#58
   Fix spelling by https://github.com/jbampton";>@​jbampton in https://redirect.github.com/apache/cloudstack-go/pull/62";>apache/cloudstack-go#62
   Fix generation for UUID type by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/apache/cloudstack-go/pull/60";>apache/cloudstack-go#60
   Log apis missing in layout.go by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/apache/cloudstack-go/pull/63";>apache/cloudstack-go#63
   Add support for unmanaged kubernetes by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/apache/cloudstack-go/pull/59";>apache/cloudstack-go#59
   Link to most current API docs 4.18 by https://github.com/jbampton";>@​jbampton in https://redirect.github.com/apache/cloudstack-go/pull/65";>apache/cloudstack-go#65
   README: change latest version to 4.18 by https://github.com/jbampton";>@​jbampton in https://redirect.github.com/apache/cloudstack-go/pull/67";>apache/cloudstack-go#67
   Adding getRawValue to CreateZone api by https://github.com/poddm";>@​poddm in https://redirect.github.com/apache/cloudstack-go/pull/68";>apache/cloudstack-go#68
   Fix apis for InfrastructureUsageService by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/apache/cloudstack-go/pull/71";>apache/cloudstack-go#71
   getRawValue - AddCluster and CreatePod by https://github.com/poddm";>@​poddm in https://redirect.github.com/apache/cloudstack-go/pull/69";>apache/cloudstack-go#69
   Fix spelling by https://github.com/jbampton";>@​jbampton in https://redirect.github.com/apache/cloudstack-go/pull/64";>apache/cloudstack-go#64
   Bump actions/checkout and actions/setup-go to 
v4 by https://github.com/jbampton";>@​jbampton in https://redirect.github.com/apache/cloudstack-go/pull/73";>apache/cloudstack-go#73
   adding updateVlanIpRange by https://github.com/poddm";>@​poddm in https://redirect.github.com/apache/cloudstack-go/pull/75";>apache/cloudstack-go#75
   4.19 support changes by https://github.com/shwstppr";>@​shwstppr in https://redirect.github.com/apache/cloudstack-go/pull/76";>apache/cloudstack-go#76
   Fix spelling by https://github.com/jbampton";>@​jbampton in https://redirect.github.com/apache/cloudstack-go/pull/74";>apache/cloudstack-go#74
   Bump golang.org/x/net from 0.8.0 to 0.17.0 by https://github.com/dependabot";>@​dependabot in https://redirect.github.com/apache/cloudstack-go/pull/72";>apache/cloudstack-go#72
   Force some param to be required by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/apache/cloudstack-go/pull/79";>apache/cloudstack-go#79
   add api call createConsoleEndpoint by https://github.com/sbrueseke";>@​sbrueseke in https://redirect.github.com/apache/cloudstack-go/pull/78";>apache/cloudstack-go#78
   Restore methods with optional params for 4.19 compatability by https://github.com/vishesh92";>@​vishesh92 in https://redirect.github.com/

[I] terraform-provider-cloudstack_v0.5.0 plugin crashed while trying to read datasource [cloudstack-terraform-provider]

2024-05-31 Thread via GitHub


rakesh-p opened a new issue, #118:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/118

   I have a simple main.tf as follows that includes a data resource.
   this plugin crashes when i run terraform plan
   I have the correct values for api_key and secret as i could create a VM by 
not using "data resource"
   What is that i am doing wrong please?
   
   **main.tf**
   ```
   terraform {
 required_version = ">= 1.6.6"
 required_providers {
   # Configure the CloudStack Provider
   cloudstack = {
 source  = "cloudstack/cloudstack"
 version = "0.5.0"
   }
 }
   }
   
   provider "cloudstack" {
 api_url= "https://vdc.gtt.net/api";
 api_key= "MY_KEY"
 secret_key = "MY_SECRET"
   }
   
   
   data "cloudstack_zone" "zone-data-source" {
 filter {
   name  = "regionid"
   value = 3
 }
   }
   
   ```
   
   terraform plan output:
   ```
   data.cloudstack_zone.zone-data-source: Reading...
   
   Planning failed. Terraform encountered an error while generating this plan.
   
   ╷
   │ Error: Plugin did not respond
   │ 
   │   with data.cloudstack_zone.zone-data-source,
   │   on versions.tf line 33, in data "cloudstack_zone" "zone-data-source":
   │   33: data "cloudstack_zone" "zone-data-source" {
   │ 
   │ The plugin encountered an error, and failed to respond to the 
plugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more 
details.
   ╵
   
   Stack trace from the terraform-provider-cloudstack_v0.5.0 plugin:
   
   panic: interface conversion: interface {} is nil, not string
   
   goroutine 56 [running]:
   
github.com/terraform-providers/terraform-provider-cloudstack/cloudstack.applyZoneFilters(0xc000130448?,
 0x114b50a?)

github.com/terraform-providers/terraform-provider-cloudstack/cloudstack/data_source_cloudstack_zone.go:114
 +0x28a
   
github.com/terraform-providers/terraform-provider-cloudstack/cloudstack.dataSourceCloudstackZoneRead(0x115f9d2?,
 {0x1019200?, 0xc0003d2500})

github.com/terraform-providers/terraform-provider-cloudstack/cloudstack/data_source_cloudstack_zone.go:72
 +0x16b
   
github.com/hashicorp/terraform/helper/schema.(*Resource).ReadDataApply(0xc000404280,
 0xc0003a16c0, {0x1019200, 0xc0003d2500})
github.com/hashicorp/terraform@v0.12.0/helper/schema/resource.go:390 
+0xc4
   
github.com/hashicorp/terraform/helper/schema.(*Provider).ReadDataApply(0xc000426000,
 0xc0001998c8, 0xf996e0?)
github.com/hashicorp/terraform@v0.12.0/helper/schema/provider.go:442 
+0x5e
   
github.com/hashicorp/terraform/helper/plugin.(*GRPCProviderServer).ReadDataSource(0xc6c900,
 {0xc00053c4c0?, 0x4c21a6?}, 0xc00053c4c0)

github.com/hashicorp/terraform@v0.12.0/helper/plugin/grpc_provider.go:990 +0x2b1
   
github.com/hashicorp/terraform/internal/tfplugin5._Provider_ReadDataSource_Handler({0x10b9240?,
 0xc6c900}, {0x12ead38, 0xc0003daf60}, 0xc000531bd0, 0x0)

github.com/hashicorp/terraform@v0.12.0/internal/tfplugin5/tfplugin5.pb.go:3055 
+0x169
   google.golang.org/grpc.(*Server).processUnaryRPC(0xc02480, {0x12ef698, 
0xc02000}, 0xc000144000, 0xc0004bf1a0, 0x19e0950, 0x0)
google.golang.org/grpc@v1.18.0/server.go:966 +0xe59
   google.golang.org/grpc.(*Server).handleStream(0xc02480, {0x12ef698, 
0xc02000}, 0xc000144000, 0x0)
google.golang.org/grpc@v1.18.0/server.go:1245 +0x987
   google.golang.org/grpc.(*Server).serveStreams.func1.1()
google.golang.org/grpc@v1.18.0/server.go:685 +0x8d
   created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 9
google.golang.org/grpc@v1.18.0/server.go:683 +0xd2
   
   Error: The terraform-provider-cloudstack_v0.5.0 plugin crashed!
   
   This is always indicative of a bug within the plugin. It would be immensely
   helpful if you could report the crash with the plugin's maintainers so that 
it
   can be fixed. The output above should help diagnose the issue.
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.20.0 to 0.46.0 [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


rohityadavcloud closed pull request #54: Bump 
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc 
from 0.20.0 to 0.46.0
URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/54


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.20.0 to 0.46.0 [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


rohityadavcloud commented on PR #54:
URL: 
https://github.com/apache/cloudstack-kubernetes-provider/pull/54#issuecomment-2141517078

   @vishesh92 has advised to upgrade dependencies as a separate PR, closing 
this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump golang.org/x/crypto from 0.1.0 to 0.17.0 [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


dependabot[bot] commented on PR #55:
URL: 
https://github.com/apache/cloudstack-kubernetes-provider/pull/55#issuecomment-2141517381

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump golang.org/x/crypto from 0.1.0 to 0.17.0 [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


rohityadavcloud commented on PR #55:
URL: 
https://github.com/apache/cloudstack-kubernetes-provider/pull/55#issuecomment-2141517331

   @vishesh92 has advised to upgrade dependencies as a separate PR, closing 
this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump golang.org/x/crypto from 0.1.0 to 0.17.0 [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


rohityadavcloud closed pull request #55: Bump golang.org/x/crypto from 0.1.0 to 
0.17.0
URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/55


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.20.0 to 0.46.0 [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


dependabot[bot] commented on PR #54:
URL: 
https://github.com/apache/cloudstack-kubernetes-provider/pull/54#issuecomment-2141517160

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add github action for golangci-lint [cloudstack-kubernetes-provider]

2024-05-31 Thread via GitHub


rohityadavcloud merged PR #62:
URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/62


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org