Unable to use cluster autoscaler on private OpenShift 4 cluster on Azure

Solution Unverified - Updated -

Issue

  • After trying to add new VMs on Azure to the OpenShift Cluster, the following error message is shown in the machine-api-operator logs:

    E0408 10:54:43.109708       1 controller.go:279] Failed to check if machine "myexample-ocp-infra-1-abcde" exists: Failed to get vm: compute.VirtualMachinesClient#Get: Failure sending request: StatusCode=0 -- Original Error: Get https://management.azure.com/subscriptions/acf277f9-fe6e-4ea4-8707-f6b4771af971/resourceGroups/myexample-abcde-rg/providers/Microsoft.Compute/virtualMachines/myexample-ocp-infra-1-abcde?%24expand=instanceView&api-version=2018-10-01: EOF
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.2, 4.3
  • Microsoft Azure

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