Skip to content

Filter deprecated and discontinued Hetzner server types from size listing - Test Release 2.31 #7953

@KhizerRehan

Description

@KhizerRehan

Summary

Testing scope:
Validate that deprecated and discontinued Hetzner server types (cpx11cpx51) are no longer returned in the size listing used during node/cluster creation. These types were discontinued by Hetzner in January 2026 for FSN, NBG, HEL, and SIN datacenters, but the Hetzner API continued returning them, causing node creation failures with the error "failed to create machine at cloudprovider, due to failed to create server, due to unsupported location for server type". The fix is backend-only: a filter is applied after fetching sizes from the Hetzner API before returning the response to the UI.

Related:

Type of Testing

  • New Feature
  • Bug Fix / Regression
  • UI/UX
  • Performance
  • Security / Permissions (RBAC)
  • Upgrade / Migration
  • Other:

Prerequisites

  • A Hetzner cloud provider credential configured in the dashboard (API token with read access to server types).
  • Access to at least one Hetzner-backed seed datacenter (FSN, NBG, HEL, or SIN).

Test Scenarios

  • Scenario 1: Discontinued Hetzner types are absent from the size dropdown

    • Steps:
      1. Log in and navigate to an existing project, then start creating a new cluster using the Hetzner provider.
      2. Proceed to the Initial Nodes / Node Deployment step and open the Machine Type (size) dropdown.
      3. Inspect the full list of available server types.
    • Expected: Server types cpx11, cpx21, cpx31, cpx41, and cpx51 do not appear Node Type Table
  • Scenario 2: Current-generation Hetzner types remain available

    • Steps:

      1. On the same Machine Type Table (cluster creation or node deployment editing), scroll through all available sizes.
      2. Verify the presence of current-gen shared and dedicated types
      • cpx[2-6]2 → matches cpx22, cpx32, - cpx42, cpx52, cpx62
      • ccx[1-5]3 → matches ccx13, ccx23, ccx33, ccx43, ccx53
    • Expected: Current-generation types other non-discontinued types are present and selectable.

    • Actual / Notes:

  • Scenario 3: Node creation succeeds with a current-gen Hetzner type

    • Steps:
      1. Create a new Hetzner cluster or add a node deployment to an existing cluster.
      2. Select a current-gen machine type (e.g.cx22) in the size dropdown.
      3. Complete the wizard and confirm the node deployment.
    • Expected: Node creation completes without the error "failed to create machine at cloudprovider, due to failed to create server, due to unsupported location for server type". Node reaches Ready state.
    • Actual / Notes:

Acceptance Criteria

  • The size dropdown for Hetzner node deployments contains no entry for cpx11, cpx21, cpx31, cpx41, or cpx51.
  • Current-generation types (cpx22, cx22, cax11, ccx13, etc.) remain selectable.
  • Creating a node deployment with a valid current-gen type completes without the "unsupported location for server type" error.
  • No console errors or UI crashes occur when the size list is loaded or when an empty list is returned.
  • Selcting Preset or Providing Token Credential Flows both result in the same filtered size list without discontinued types.
  • Searching or filtering within the size dropdown (if supported) with a query like cpx does not surface any of the discontinued cpx11cpx51 entries.

Notes

  • The discontinued types (cpx11cpx51) are AMD shared-vCPU instances. Hetzner replaced them with the cpx[1-5]2 series. The 2-suffix variants must not be filtered.

Milestone
Target Milestone: v2.31

Test Environment
Domain: (Currently: Dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions