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

Unable to enable Hubble with latest provider #419

Closed
FloSchick opened this issue Jan 22, 2025 · 5 comments
Closed

Unable to enable Hubble with latest provider #419

FloSchick opened this issue Jan 22, 2025 · 5 comments

Comments

@FloSchick
Copy link

FloSchick commented Jan 22, 2025

I am experiencing an issue with the gridscale Terraform provider version 2.0.2 when attempting to enable Hubble in Kubernetes resources. Specifically, setting k8s_hubble = true results in Terraform detecting the change:

~ resource "gridscale_k8s" "cluster_autoscaled" {
      id                         = "d61bd14a-970a-49ea-8bee-baacbdf4652d"
    ~ k8s_hubble                 = false -> true
      # (30 unchanged attributes hidden)

      # (1 unchanged block hidden)
  }

However, upon applying, the following error occurs:

╷
│ Error: update k8s (d61bd14a-970a-49ea-8bee-baacbdf4652d) resource - error: request 9b31606e-78fb-4309-bc36-9e83967d0bb7 failed with error Failure
│ 
│   with module.cluster.gridscale_k8s.cluster_autoscaled[0],
│   on ../../modules/gridscale-cluster-v2/main.tf line 42, in resource "gridscale_k8s" "cluster_autoscaled":42: resource "gridscale_k8s" "cluster_autoscaled" {

This issue prevents the successful enabling of Hubble in the Kubernetes cluster.

@nvthongswansea
Copy link
Member

@FloSchick Hi. Thank you for reporting the issue. Could you tell me if you set the rocket_storage in your cluster, please?

@FloSchick
Copy link
Author

FloSchick commented Jan 22, 2025

Hi @nvthongswansea, we have set rocket_storage = 0
in the affected cluster.

@nvthongswansea
Copy link
Member

Thanks, this issue is present in our API backend (not in terraform). I have reported to the team, and will let you know when it's fixed. To temporarily unblock you, you could unset rocket_storage (which also means rocket_storage = 0) in your terraform file.

@FloSchick
Copy link
Author

@nvthongswansea Thanks for taking care.

@nvthongswansea
Copy link
Member

@FloSchick I've made a new release v2.0.3, please upgrade and follow the last line in known-issues before applying your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants