Bug 1585653

Summary: [3.6] OS Image info is incorrect for OS-IMAGE when install on RHEL AH 7.5.1
Product: OpenShift Container Platform Reporter: Weihua Meng <wmeng>
Component: NodeAssignee: Seth Jennings <sjenning>
Status: CLOSED NOTABUG QA Contact: Xiaoli Tian <xtian>
Severity: low Docs Contact:
Priority: medium    
Version: 3.6.1CC: aos-bugs, dmoessne, jokerman, mmccomas
Target Milestone: ---Keywords: Reopened
Target Release: 3.6.z   
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: 2019-07-22 20:13:57 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 Weihua Meng 2018-06-04 10:14:54 UTC
Description of problem:
for OCP 3.6, OS Image info is incorrect for OS-IMAGE when install on RHEL AH 7.5.1
for OCP v3.5.5.31.67  v3.7.52  v3.9.30  it is correct.

Version-Release number of selected component (if applicable):
oc v3.6.173.0.96

How reproducible:
Always

Steps to Reproduce:
1. install OCP 3.6 on RHEL AH 7.5.1
2. check node info

Actual results:
[root@qe-wmengah36-master-1 ~]# oc version
oc v3.6.173.0.96
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://qe-wmengah36-master-1:8443
openshift v3.6.173.0.96
kubernetes v1.6.1+5115d708d7
[root@qe-wmengah36-master-1 ~]# oc get node -o wide
NAME                                  STATUS                     AGE       VERSION             EXTERNAL-IP      OS-IMAGE                                      KERNEL-VERSION
qe-wmengah36-master-1                 Ready,SchedulingDisabled   7h        v1.6.1+5115d708d7   35.184.129.208   Red Hat Enterprise Linux Server 7.4 (Maipo)   3.10.0-862.2.3.el7.x86_64
qe-wmengah36-node-registry-router-1   Ready                      7h        v1.6.1+5115d708d7   104.197.163.12   Red Hat Enterprise Linux Server 7.4 (Maipo)   3.10.0-862.2.3.el7.x86_64

[root@qe-wmengah36-master-1 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Atomic Host release 7.5

[root@qe-wmengah36-master-1 ~]# uname -r
3.10.0-862.2.3.el7.x86_64

[root@qe-wmengah36-master-1 ~]# uname -r
3.10.0-862.2.3.el7.x86_64
[root@qe-wmengah36-master-1 ~]# hostnamectl 
   Static hostname: qe-wmengah36-master-1
         Icon name: computer-vm
           Chassis: vm
        Machine ID: e1daff58de2fe878a445b4907f9fac1b
           Boot ID: 33af7f1623ad4d2c820d23e8ac01050f
    Virtualization: kvm
  Operating System: Red Hat Enterprise Linux Atomic Host 7.5.1
       CPE OS Name: cpe:/o:redhat:enterprise_linux:7.5:GA:atomic-host
            Kernel: Linux 3.10.0-862.2.3.el7.x86_64
      Architecture: x86-64

Expected results:
Red Hat Enterprise Linux Server 7.5  instead of 7.4

Comment 3 Scott Dodson 2018-06-19 15:18:08 UTC

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

Comment 4 Scott Dodson 2018-06-19 15:18:57 UTC
re-opening as i'm not certain this is a dupe, just very similar.

Comment 5 Seth Jennings 2018-06-19 15:51:12 UTC
cadvisor reads PRETTY_NAME from /etc/os-release, not /etc/redhat-release