AKS-Kubernetes cluster deployment: Failed to get virtual machine image

darkbluelion 21 Reputation points
2021-01-15T08:10:02.107+00:00

Tried to deploy cluster with aks-engine version v0.58.0 and got this error.

INFO[0000] Writing cloud profile to: /tmp/azurestackcloud.json630701397
WARN[0000] apimodel: orchestratorProfile.kubernetesConfig.kubernetesImageBase forced to "mcr.microsoft.com/"
WARN[0000] apimodel: orchestratorProfile.kubernetesConfig.KubernetesImageBaseType forced to "mcr"
ERRO[0009] error: failed to get virtual machine image, compute.VirtualMachineImagesClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
ERRO[0009] Image Publisher: microsoft-aks, Offer: aks, SKU: aks-engine-ubuntu-1604-202007, Version: 2020.09.14
Error: validating OS base images required by ./kubernetes-azurestack.json: OS base image not available in target cloud: some VM images are missing on the target cloud


I have already uploaded AKS Base Ubuntu 16.04-LTS Image Distro, September 2020 into Marketplace.
Couldnt find supported aks ubuntu image for aks engine v0.58 in the guide below.
https://github.com/Azure/aks-engine/blob/master/docs/topics/azure-stack.md#supported-aks-engine-versions

For anyone guidance on this?

Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
188 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2021-01-16T00:53:45.337+00:00

    To start, check the Azure stack marketplace for the image with the exact publisher, offer, SKU, and version that AKS is looking for:

    Publisher: microsoft-aks,
    Offer: aks,
    SKU: aks-engine-ubuntu-1604-202007,
    Version: 2020.09.14

    If you are not able to find it, it is possible that you downloaded the wrong image. If you do not see your Ubuntu with that exact SKU and version, try to download the exact one from the azure marketplace. If you do see that exact parameters in your Azure Stack marketplace, let me know!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.