Skip to content

[Bug]: Not able to use dedicated servers FSN1 #1613

Open
@bartvanvliet

Description

Description

CCX13 servers unavailable in FSN1 despite UI showing availability

CCX13 servers in FSN1 location are shown as available in Hetzner Cloud UI (see screenshot), but when attempting to deploy via kube-hetzner, the API returns resource unavailability errors. Deployment works successfully when using HEL1 location instead.

Config that fails:

control_plane_nodepools = [
  {
    name        = "elastic-control-plane-fsn1",
    server_type = "ccx13",
    location    = "fsn1",
    count       = 3
  }
]

Error received:

Error: we are unable to provision servers for this location, try with a different location or try later (resource_unavailable)

Working solution:
Change location to hel1 for nodepools and load balancer - confirmed working with same CCX13 server type.

Kube.tf file

locals {
  hcloud_token = "REDACTED_API_TOKEN"
}

module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  hcloud_token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token

  source = "kube-hetzner/kube-hetzner/hcloud"

  ssh_public_key = file("~/.ssh/id_ed25519.pub")
  ssh_private_key = file("~/.ssh/id_ed25519")

  network_region = "eu-central"

  control_plane_nodepools = [
    {
      name        = "elastic-control-plane-fsn1",
      server_type = "ccx13",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 3
    },
  ]

  agent_nodepools = [
    {
      name        = "fsn1-elastic-agent-large",
      server_type = "ccx13",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 3
    },
  ]

  load_balancer_type     = "lb11"
  load_balancer_location = "fsn1"

  # firewall_kube_api_source = ["REDACTED_IP_RANGE/24"]

  dns_servers = [
    "1.1.1.1",
    "8.8.8.8", 
    "2606:4700:4700::1111",
  ]

  use_control_plane_lb = true
}

provider "hcloud" {
  token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token
}

terraform {
  required_version = ">= 1.5.0"
  required_providers {
    hcloud = {
      source  = "hetznercloud/hcloud"
      version = ">= 1.49.1"
    }
  }
}

output "kubeconfig" {
  value     = module.kube-hetzner.kubeconfig
  sensitive = true
}

variable "hcloud_token" {
  sensitive = true
  default   = ""
}

Screenshots

CleanShot 2025-01-10 at 16 20 16@2x

Platform

Mac

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions