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

Bug 1646147

Summary: RHVH4.3: incorrect version info
Product: Red Hat Enterprise Virtualization Manager Reporter: chyan
Component: redhat-virtualization-hostAssignee: Yuval Turgeman <yturgema>
Status: CLOSED ERRATA QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: low    
Version: 4.3.0CC: cshao, huzhao, mtessun, nlevy, qiyuan, rdlugyhe, sbonazzo, weiwang, yaniwang, ycui, yturgema
Target Milestone: ovirt-4.3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-release-virtualization-host-4.3-0.1.el7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-08 12:32:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1653669    
Attachments:
Description Flags
all log none

Description chyan 2018-11-05 09:11:33 UTC
Created attachment 1501702 [details]
all log

Description of problem:
Incorrect version info in RHVH4.3

1.# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="7.5"
VERSION_ID="7.5"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Red Hat Virtualization Host"
VARIANT_ID="ovirt-node"
PRETTY_NAME="Red Hat Virtualization Host 4.3.0 (el7.5)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.5:beta:hypervisor"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

# FIXME
REDHAT_BUGZILLA_PRODUCT="Red Hat Virtualization"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.5
REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization"
REDHAT_SUPPORT_PRODUCT_VERSION=7.5

2.# cat /etc/system-release-cpe 
cpe:/o:redhat:enterprise_linux:7.5:beta:hypervisor

3.# nodectl --version
nodectl-4.2.0

4.After login cockpit, the top of it appeared Red Hat Virtualization Host 4.3.0 (el7.5)
            

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.3-20181018.0.el7_6
imgbased-1.1.0-0.1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. install redhat-virtualization-host-4.3-20181018.0 via pxe.
2. run command cat /etc/os-release
3. run command cat /etc/system-release-cpe 
4. run command nodectl --version
5. login cockpit
Actual results:
Incorrect version info of /etc/os-release, /etc/system-release-cpe, nodectl --version and cockpit.

Expected results:
All version info about redhat-enterprise_linux should be 7.6 but not 7.5, and the version of nodectl should be 4.3 but not 4.2.

Additional info:

Comment 2 chyan 2018-12-13 02:58:18 UTC
Test version:
redhat-virtualization-host-4.3-20181206.0.el7_6
imgbased-1.1.1-0.1.el7ev.noarch

Test result:
fixed part
1.# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="7.6"
VERSION_ID="7.6"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Red Hat Virtualization Host"
VARIANT_ID="ovirt-node"
PRETTY_NAME="Red Hat Virtualization Host 4.3.0 (el7.6)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:beta:hypervisor"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

# FIXME
REDHAT_BUGZILLA_PRODUCT="Red Hat Virtualization"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization"
REDHAT_SUPPORT_PRODUCT_VERSION=7.6
2.# cat /etc/system-release-cpe 
cpe:/o:redhat:enterprise_linux:7.6:beta:hypervisor

3.After login cockpit, the top of it appeared Red Hat Virtualization Host 4.3.0 (el7.6)

fix needed part:
1.# nodectl --version
nodectl-4.2.0

Expected results:
All version info about redhat-enterprise_linux should be 7.6 but not 7.5, and the version of nodectl should be 4.3 but not 4.2.

Change bug status to assigned.

Comment 4 chyan 2019-01-15 10:37:30 UTC
Test version:
redhat-virtualization-host-4.3-20190109.0.el7_6
imgbased-1.1.2-0.1.el7ev.noarch

Test result:
fixed part
1.# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="7.6"
VERSION_ID="7.6"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Red Hat Virtualization Host"
VARIANT_ID="ovirt-node"
PRETTY_NAME="Red Hat Virtualization Host 4.3.0 (el7.6)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:beta:hypervisor"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

# FIXME
REDHAT_BUGZILLA_PRODUCT="Red Hat Virtualization"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization"
REDHAT_SUPPORT_PRODUCT_VERSION=7.6
2.# cat /etc/system-release-cpe 
cpe:/o:redhat:enterprise_linux:7.6:beta:hypervisor

3.After login cockpit, the top of it appeared Red Hat Virtualization Host 4.3.0 (el7.6)

4.# nodectl --version
nodectl-4.3.0

Steps to reproduce:
1. install redhat-virtualization-host-4.3-20190109.0.el7_6 via ks.
2. run command cat /etc/os-release
3. run command cat /etc/system-release-cpe 
4. run command nodectl --version
5. login cockpit

I will verify it once move to ON_QA.

Comment 5 cshao 2019-01-16 11:32:28 UTC
Verify this bug according #c4.

Comment 9 errata-xmlrpc 2019-05-08 12:32:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1053