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

Bug 1377234

Summary: RHVH 40_73: Incorrect version in /etc/os-release
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: redhat-release-rhev-hypervisorAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.3CC: bugs, dfediuck, dguo, fdeutsch, gklein, huzhao, jiawu, leiwang, mgoldboi, rbarry, weiwang, yaniwang, ycui, yzhao
Target Milestone: ovirt-4.0.5Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-release-virtualization-host-4.0-5.0.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-22 17:02:56 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:

Description cshao 2016-09-19 09:30:43 UTC
Description of problem:
RHVH 40_73: Incorrect version in /etc/os-release

# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="7.2"
VERSION_ID="7.2"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Red Hat Virtualization Host"
VARIANT_ID="ovirt-node"
PRETTY_NAME="Red Hat Virtualization Host 4.0 (el7.2)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA: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.2
REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization"
REDHAT_SUPPORT_PRODUCT_VERSION=7.2


Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-20160912.1
kernel-3.10.0-493.el7.x86_64
imgbased-0.8.4-1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH via ks file in attachment. 
2. Login RHVH.
3. Check /etc/os-release.

Actual results:
RHVH 40_73: Incorrect version in /etc/os-release

Expected results:
All version info should be 7.3 but not 7.2.

Additional info:

Comment 1 Ryan Barry 2016-09-19 12:25:53 UTC
This file is managed by redhat-release-virtualization-host, unfortunately.

This means that resolving this but for 7.3 while also doing 7.2 builds makes for a complicated buildroot.

This will be resolved once we start producing 7.3 builds which may be shipped...

Comment 4 cshao 2016-10-10 05:27:11 UTC
Test version:
redhat-virtualization-host-4.0-20161007.0
RHVH-4.0-20161007.0-RHVH-x86_64-dvd1.iso
imgbased-0.8.5-0.1.el7ev.noarch
redhat-release-virtualization-host-4.0-5.0.el7.x86_64

Test steps:
1. Install RHVH via iso with default KS.
2. Login RHVH.
3. Check /etc/os-release.

# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="7.3"
VERSION_ID="7.3"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Red Hat Virtualization Host"
VARIANT_ID="ovirt-node"
PRETTY_NAME="Red Hat Virtualization Host 4.0 (el7.3)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.3:GA: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.3
REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization"
REDHAT_SUPPORT_PRODUCT_VERSION=7.3

Test result:
All version info show as 7.3 now, so the bug is fixed, change bug status to VERIFIED.

Comment 6 errata-xmlrpc 2016-11-22 17:02:56 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://rhn.redhat.com/errata/RHBA-2016-2813.html