Unable to add windows worker VMs to OpenShift cluster

Solution Verified - Updated -

Issue

  • Windows node addition fails with the following error
 Warning  FailedCreate  6s    azure-controller  InvalidConfiguration: failed to reconcile machine "wintest": failed to create vm wintest: failure sending request for machine wintest: cannot create vm: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="PlatformImageNotFound" Message="The platform image 'MicrosoftWindowsServer:WindowsServer:2019-Datacenter-with-Containers:latest' is not available. Verify that all fields in the storage profile are correct. For more details about storage profile information, please refer to https://aka.ms/storageprofile" Target="imageReference"

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Windows

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content