-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Hard-coded server type in Hetzner provider will break on 2024-09-06 #7210
Comments
/assign |
…type The `cx11` server type was deprecated on 2024-06-06 and will be removed from the API on 2024-09-06. Once it is removed, the cluster-autoscaler provider hetzner will not start anymore with the following error message: Failed to get node infos for groups: failed to create resource list for node group draining-node-pool error: failed to get machine type cx11 info error: server type not found As the node pool `draining-node-pool` is not being used anywhere, this commit removes it and the hard coded reference to the deprecated server type. Fixes kubernetes#7210
/triage accepted |
Update from internal conversations: We plan to implement a workaround for known current users of The workaround will only be available for ~2 weeks after new releases are cut. We will inform impacted customers about this so they can update before it starts breaking. |
Information for customersThe Hetzner provider in current versions of cluster-autoscaler has a bug and relies on the CX11 server type, which we will remove from our ordering options on 6 September 2024. If you try to use the cluster-autoscaler provider after that date, you will see the following error messages:
The following versions of cluster-autoscaler are affected:
We depend on the Kubernetes community and the maintainers of cluster-autoscaler to release new versions. We expect that new official versions are released at the end of September. To bridge the gap until the Kubernetes community releases the new versions, we published alternative container images of cluster-autoscaler that include a patch for the bug. You can use these in your deployment, but we will remove them one month after new official cluster-autoscaler versions become available. We will not provide any other patch releases on this container image repository. Please switch back to the official images as soon as possible.
Existing UsersTo prevent disruptions for existing users of the provider, we will keep the CX11 server type available for these accounts. We will remove that prolonged access to the CX11 server type two weeks after the Kubernetes community releases new versions of cluster-autoscaler. Links |
Information for customersThe fix has now been released in new versions of cluster-autoscaler. Please upgrade to the these versions before 4 November 2024. The following versions include the patches:
We will remove all access to the CX11 server type after 4 November 2024. If you are still using unpatched versions of cluster-autoscaler, they will stop working. If you were using the alternative container images we provided ( We will be happy to help you with any questions. Please write us a support request by logging onto your account: https://console.hetzner.cloud/support |
We also sent the above as an email to all active users of cluster-autoscaler on Hetzner Cloud. I think that should be enough. Anyone newly installing cluster-autoscaler should hopefully use the latest patch releases. |
ok @apricote, I didn't know about the email things. it seems good to me then. Thanks! |
Is there any chance we can get this tagged and release? As of 1.31.0 this change is not in place yet. |
It should be in the CA 1.31 patch release (1.31.1). which is not yet release. For information: #7315 |
The container image was already built and published/promoted, only the tag on the GitHub repository is still missing, but you can use the tag as is. |
Hi @btribit, FYI: The patch release for CA 1.31 (CA 1.31.1) has been released, PTAL! |
@Shubham82 , works like a champ! Found it in the registry too. Thank you! |
Which component are you using?:
cluster-autoscaler Hetzner provider
/area provider/hetzner
/area cluster-autoscaler
What version of the component are you using?:
Component version: All current versions
What k8s version are you using (
kubectl version
)?:Does not matter
What environment is this in?:
Hetzner Cloud
What did you expect to happen?:
The Hetzner Cloud provider should continue to work after 2024-09-06.
What happened instead?:
The Hetzner Cloud provider will stop working on 2024-09-06.
How to reproduce it (as minimally and precisely as possible):
Replace the hardcoded server type (code) with a server type that does not exist (ie.
xyz123
)Start the provider
Observe error messages:
Anything else we need to know?:
The server type
cx11
was deprecated on 2024-06-06. It will be removed from the API on 2024-09-06: https://docs.hetzner.cloud/changelog#2024-06-06-old-server-types-with-shared-intel-vcpus-are-deprecatedThe server type is hardcoded for a
draining-node-pool
, which is not actually used anywhere in the provider. It is only added to the list of known node pools.Two options:
Replace
cx11
by the replacement typecx22
This is minimally invasive, but has the same problem that we are hardcoding a value that might change or be deprecated.
Remove
draining-node-pool
completely from the codeThis feels like the clean choice, as this node pool is not used internally. However, this is a user visible change (node pool will disappear from the status config map), so I am not sure if we can backport this to previous releases.
The text was updated successfully, but these errors were encountered: