Bug 1377234 - RHVH 40_73: Incorrect version in /etc/os-release
Summary: RHVH 40_73: Incorrect version in /etc/os-release
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: redhat-release-rhev-hypervisor
Version: 4.0.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.0.5
: ---
Assignee: Ryan Barry
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 09:30 UTC by cshao
Modified: 2016-11-22 17:02 UTC (History)
14 users (show)

Fixed In Version: redhat-release-virtualization-host-4.0-5.0.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-22 17:02:56 UTC
oVirt Team: Node
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2813 0 normal SHIPPED_LIVE redhat-virtualization-host bug fix and enhancement update for RHV 4.0.5-1 2016-11-22 22:01:32 UTC

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


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