Bug 1368364 - Reported Node version and release are incorrect - RHEL version should be reported
Summary: Reported Node version and release are incorrect - RHEL version should be repo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.18.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.1
: 4.19.7
Assignee: Douglas Schilling Landgraf
QA Contact: Pavol Brilla
URL:
Whiteboard:
: 1391741 (view as bug list)
Depends On:
Blocks: 1425174
TreeView+ depends on / blocked
 
Reported: 2016-08-19 08:02 UTC by Fabian Deutsch
Modified: 2017-04-21 09:48 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-04-21 09:48:54 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: blocker+
mgoldboi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1391741 0 medium CLOSED RHV-H OS version information in the RHV-M GUI doesn't appear to be complete. 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1425174 0 high CLOSED Can't migrate VM in 3.5 cluster (3.6 engine) to 3.6 NGN EL7 (bad version comparison) 2021-02-22 00:41:40 UTC
oVirt gerrit 72829 0 master MERGED ngn: grab OS version according with /etc/os-release 2020-10-29 12:39:52 UTC
oVirt gerrit 72933 0 master ABANDONED ngn: grab OS version according with /etc/os-release 2020-10-29 12:39:52 UTC
oVirt gerrit 73179 0 ovirt-4.1 MERGED ngn: grab OS version according with /etc/os-release 2020-10-29 12:39:52 UTC
oVirt gerrit 73180 0 ovirt-4.0 MERGED ngn: grab OS version according with /etc/os-release 2020-10-29 12:39:52 UTC
oVirt gerrit 73297 0 ovirt-3.6 MERGED ngn: grab OS version according with /etc/os-release 2020-10-29 12:39:52 UTC

Internal Links: 1391741 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>


Note You need to log in before you can comment on or make changes to this bug.