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

Azure - Hypervisor Generation 2 VMs (e.g. ARM based machines) are failing to create VM #13184

Open
toschneck opened this issue Mar 15, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@toschneck
Copy link
Member

What happened?

If a Machine Deployment with some Azure Hypervisior Gen 2 Types got selected (in my case a ARM based Standard_D2ps_v5 ), KKP fails to provision with the error:

failed to create machine at cloudprovider, due to trying to create a VM: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="The selected VM size 'Standard_D2ps_v5' cannot boot Hypervisor Generation '1'. If this was a Create operation please check that the Hypervisor Generation of the Image matches the Hypervisor Generation of the selected VM Size. If this was an Update operation please select a Hypervisor Generation '1' VM Size. For more information, see https://aka.ms/azuregen2vm"

Unfortunately right now all ARM machines are only supporting Gen 2 Hypervisors, so basically we can't provision right now ARM based machines in KKP :-/
Azure support for generation 2 VMs - Azure Virtual Machines | Microsoft Learn 2024-03-15 15-30-57

KKP 2.25.0
image

KKP 2.24.2
image

Expected behavior

Also Arzue generation 2 VM sizes get provisioned, as we also Display them to select.

How to reproduce the issue?

Create a new Azure Cluster (or add a Machine Deployment) and select an Gen 2 Machine Type, e.g. Standard_D2ps_v5.

How is your environment configured?

  • KKP version: 2.25.0 and 2.24.2 are not working (I would assume that all versions are effected)
  • Shared or separate master/seed clusters?: shared

Provide your KKP manifest here (if applicable)

# paste manifest here

What cloud provider are you running on?

Azure

What operating system are you running in your user cluster?

doesn't matter

Additional information

@toschneck toschneck added the kind/bug Categorizes issue or PR as related to a bug. label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant