Bug 1368364

Summary: Reported Node version and release are incorrect - RHEL version should be reported
Product: [oVirt] vdsm Reporter: Fabian Deutsch <fdeutsch>
Component: CoreAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.18.11CC: bcholler, bugs, danken, jbelka, mgoldboi, mperina, oourfali
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
mgoldboi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+
Target Release: 4.19.7   
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: 2017-04-21 09:48:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1425174    

Description Fabian Deutsch 2016-08-19 08:02:48 UTC
Description of problem:
Currently vdsm reports RHEL 4.0-1 as the release of Node.

This is incorrect.

As the name is RHEL, and the version and release match RHV.

To align with how RHEL is reported, vdsm should report the RHEL version and release.

This was discovered in bug 1324447 comment 12.

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

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
RHEL 4.0

Expected results:
RHEL 7.2

Additional info:
The problem is that the version of the package owning /etc/system-release is reported, and not the contents of the package.
On node this file is owned by th enode release file, which carries the RHV version.

Comment 1 Fabian Deutsch 2016-08-22 14:16:59 UTC
The version reporting is not used in the flow used to update the hypervisor, thus it is not to critical.

Comment 2 Douglas Schilling Landgraf 2017-02-28 16:11:34 UTC
*** Bug 1391741 has been marked as a duplicate of this bug. ***

Comment 3 Pavol Brilla 2017-04-11 10:01:33 UTC
Check on Red Hat Virtualization Manager Version: 4.1.1.8-0.1.el7

# imgbase w
[INFO] You are on rhvh-4.1-0.20170403.0+1


UI:

OS Version:       RHEL - 7.3 - 0.14.el7
OS Description:   Red Hat Virtualization Host 4.1 (el7.3)

RESTAPI response: $IP/api/hosts

...
<os>
    <custom_kernel_cmdline></custom_kernel_cmdline>
    <reported_kernel_cmdline>HERE WERE DATA</reported_kernel_cmdline>
    <type>RHEL</type>
    <version>
       <full_version>7.3 - 0.14.el7</full_version>
       <major>7</major>
       <minor>3</minor>
    </version>
</os>
....
<type>ovirt_node</type>