Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1657768

Summary: sync-pod tried to override the hostname
Product: OpenShift Container Platform Reporter: Fatima <fshaikh>
Component: UnknownAssignee: Eric Paris <eparis>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-10 20:13:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fatima 2018-12-10 12:10:15 UTC
Description of problem:

In the /var/log/messages i have found the following message:
Dec  7 14:28:56 node.example.com journal: cat: 
/etc/sysconfig/KUBELET_HOSTNAME_OVERRIDE: No such file or directory
Dec  7 14:28:57 node.example.com journal: node/node.example.com annotated

I have checked the file sync.yaml and found that it will not be checked if the files exist. (line 115)
https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_node_group/files/sync.yaml#L115


Version-Release number of selected component (if applicable):

OCP v3.11


Actual results: 
Dec  7 14:28:56 node.example.com journal: cat: 
/etc/sysconfig/KUBELET_HOSTNAME_OVERRIDE: No such file or directory

Expected results:
This should not be checked as the file is present.

Comment 1 Eric Paris 2018-12-10 20:13:21 UTC

*** This bug has been marked as a duplicate of bug 1657769 ***