Bug 1855879

Summary: [4.3.z] Network Dispatcher long hostname character count is incorrect
Product: OpenShift Container Platform Reporter: Micah Abbott <miabbott>
Component: Machine Config OperatorAssignee: Ben Howard <behoward>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Nguyen <mnguyen>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.zCC: amurdaca, bbreard, behoward, imcleod, jligon, kgarriso, mnguyen, nstielau, yanyang, yunjiang
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: coreos
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1855878 Environment:
Last Closed: 2020-09-08 15:09:19 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:

Comment 1 Ben Howard 2020-07-10 19:35:48 UTC
The fix in https://github.com/openshift/machine-config-operator/pull/1914 addresses three problems:
- race condition between dhclient having 64-characters hostnames that are too long for the cluster
- slow transient hostname from reverse DNS
- network manager failing to set hostname when the dhcp client name is too long
- /etc/hostname have a name longer than 63 characters.

Comment 2 Ben Howard 2020-07-10 19:37:43 UTC
*** Bug 1855392 has been marked as a duplicate of this bug. ***

Comment 4 Ben Howard 2020-09-08 15:09:19 UTC
Closing this bug since cherry-pick to 4.3 has been closed. 4.3 is now in maintenance mode. Affected users are advised to upgrade.