Bug 1841478

Summary: [release-4.4] Nodes in Azure are getting into longUnregistered state
Product: OpenShift Container Platform Reporter: Joel Speed <jspeed>
Component: Cloud ComputeAssignee: Joel Speed <jspeed>
Cloud Compute sub component: Other Providers QA Contact: sunzhaohua <zhsun>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: jhou, mharri, rdomnu
Version: 4.4   
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Autoscaler expects provider IDs across Node and Machine objects to be an exact match. This may not be the case if the Machine configuration specifies a resource group name with mixed casing. Consequence: The autoscaler believes the Machine never gets a node and terminates the machine after a 15 minute period Fix: Sanitise the user input and convert the resource group to lowercase Result: Provider IDs will always match regardless of casing on user input
Story Points: ---
Clone Of: 1837341 Environment:
Last Closed: 2020-06-23 00:57:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1837341    
Bug Blocks:    

Comment 3 sunzhaohua 2020-06-16 03:32:47 UTC
Verified
clusterversion: 4.4.0-0.nightly-2020-06-15-203705

creating an IPI Azure cluster, then modifying the MachineSet to set the resourceGroup to a capitalised version, then scaling up some Machines in that MachineSet, machines could join the cluster.

$ oc edit machineset zhsun616azure1-r62jc-worker-eastus23
resourceGroup: zhsun616azure1-r62jc-RG

$ oc get node
NAME                                         STATUS   ROLES    AGE    VERSION
zhsun616azure1-r62jc-master-0                Ready    master   164m   v1.17.1+912792b
zhsun616azure1-r62jc-master-1                Ready    master   164m   v1.17.1+912792b
zhsun616azure1-r62jc-master-2                Ready    master   164m   v1.17.1+912792b
zhsun616azure1-r62jc-worker-eastus21-whk9x   Ready    worker   151m   v1.17.1+912792b
zhsun616azure1-r62jc-worker-eastus22-vl9jb   Ready    worker   150m   v1.17.1+912792b
zhsun616azure1-r62jc-worker-eastus23-86gpn   Ready    worker   151m   v1.17.1+912792b
zhsun616azure1-r62jc-worker-eastus23-szn9j   Ready    worker   119s   v1.17.1+912792b

Comment 5 errata-xmlrpc 2020-06-23 00:57:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2580