Bug 1078152 - Add metadata file with version informations about LP and Platform
Summary: Add metadata file with version informations about LP and Platform
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-hypervisor
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.5.0
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On: 1081969
Blocks: 1078154
TreeView+ depends on / blocked
 
Reported: 2014-03-19 09:34 UTC by Fabian Deutsch
Modified: 2016-02-10 20:07 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-24 10:34:43 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Fabian Deutsch 2014-03-19 09:34:42 UTC
Description of problem:
Currently there is no central source of information to find out what version RHEV or RHEL is used by a RHEV-H build.
To address this problem we should introduce a metadata file which includes - in a condensed form - relevant informations about the targeted RHEV and RHEL versions of a RHEV-H build.

The metadata file should be delivered in the rpm (and not in the iso).

The naming should follow the iso naming, ie:
<isoname>.metadata

The file can basically be an extended version of the /etc/default/version file within the iso. Which is extracted when the rpm is build.
This has the benefit that the "outer" (rpm) file will be equal to the "inner" (within iso) file.

Comment 1 Fabian Deutsch 2014-03-19 09:36:52 UTC
The already existing "version" file (in the rpm) does not contain enough informations.

There also needs to be a bug to track the necessary changes on the RHEV-M side.

Comment 2 Doron Fediuck 2014-03-20 07:47:16 UTC
Fabian,
for completeness please specify here the expected meta file contents.

Comment 3 Fabian Deutsch 2014-03-20 10:47:29 UTC
In addition to the current contents we should add:

ISONAME
  To be flexible on iso name changes within the rpm,
  we can use this indirection to tell RHEV-M about the iso to use, currently:
  rhevh-6.5-20140303.0.el6.iso (or so)

PLATFORM_VERSION
  Major and Minor of the platform, e.g.: 6.5
  We could consider to also include the update: 6.5.3

PLATFORM_RELEASE - and/or - BUILD_DATE
  Release part of the build, aka build date plus number, e.g.: 20140303.0
  The reason for possibly calling it BUILD_DATE is to make the semantics 
  explicit.

LAYERED_VERSION - or - OVIRT_VERSION
  Major and Minor of the layered product, e.g.: 3.2
  We could consider to also include the update: 3.2.6

This should give RHEV-M enough informations to suggest sane upgrade paths based on either platform and/or LP versions.

By using PLATFORM_RELEASE or BUILD_DATE RHEV-M can even be made aware of new updates for old versions (e.g. 3.2.6)

Douglas, do you think these informations are enough?

Comment 4 Douglas Schilling Landgraf 2014-07-10 18:00:50 UTC
(In reply to Fabian Deutsch from comment #3)
> In addition to the current contents we should add:
> 
> ISONAME
>   To be flexible on iso name changes within the rpm,
>   we can use this indirection to tell RHEV-M about the iso to use, currently:
>   rhevh-6.5-20140303.0.el6.iso (or so)
> 
> PLATFORM_VERSION
>   Major and Minor of the platform, e.g.: 6.5
>   We could consider to also include the update: 6.5.3
> 
> PLATFORM_RELEASE - and/or - BUILD_DATE
>   Release part of the build, aka build date plus number, e.g.: 20140303.0
>   The reason for possibly calling it BUILD_DATE is to make the semantics 
>   explicit.
> 
> LAYERED_VERSION - or - OVIRT_VERSION
>   Major and Minor of the layered product, e.g.: 3.2
>   We could consider to also include the update: 3.2.6
> 
> This should give RHEV-M enough informations to suggest sane upgrade paths
> based on either platform and/or LP versions.
> 
> By using PLATFORM_RELEASE or BUILD_DATE RHEV-M can even be made aware of new
> updates for old versions (e.g. 3.2.6)
> 
> Douglas, do you think these informations are enough?

Removing needinfo on me since there is a discussing going on about it.

Comment 5 Fabian Deutsch 2014-09-24 10:34:43 UTC
As mentioned in bug 1081969, all informations are already available, just spread in two different files.


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