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

Bug 1491203

Summary: [downstream clone - 3.6.z async] [RFE] Introduce ovirt-host-3.6 package
Product: Red Hat Enterprise Virtualization Manager Reporter: Yedidyah Bar David <didi>
Component: ovirt-hostAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: high Docs Contact:
Priority: urgent    
Version: unspecifiedCC: bugs, didi, lsvaty, mperina, pkubica, rbarry, sabose, sbonazzo, sradco, trichard, ylavi
Target Milestone: ovirt-3.6.z-asyncKeywords: FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-host-3.6.0-1.el7ev Doc Type: Enhancement
Doc Text:
A new package, ovirt-host, has been introduced, consolidating host package requirements into a single meta package. In Red Hat Enterprise Virtualization 3.6, this package is only required if you want to add a 3.6 host to a future 4.2 Manager.
Story Points: ---
Clone Of: 1460609
: 1503442 (view as bug list) Environment:
Last Closed: 2017-11-07 09:05:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1460609    
Bug Blocks: 1503442    

Description Yedidyah Bar David 2017-09-13 10:01:09 UTC
+++ This bug was initially created as a clone of Bug #1460609 +++

Description of problem:
Consolidate ovirt host requirements to a single meta package, to deal with the current package installation and upgrade issues.

Infra and integration need to agree on one place where the list of required packages are installed/updated per arch per version.

--- Additional comment from Martin Perina on 2017-06-12 11:19:36 IDT ---

Since 3.6 it's no longer true that all package dependencies on the host are handled by RPM dependency of VDSM. At the moment some we have several place where packages for the host required by oVirt are defined:

1. vdsm package dependencies (defined per VDSM version)
2. ovirt-host-deploy package list (defined per ovirt-host-deploy version)
3. Host upgrade manager package list (defined per cluster version)

This status makes nearly impossible to achieve the same package status for different upgrade methods:

1. Manual 'yum update' on the host
2. Executing host 'Upgrade' from webadmin
3. Executing host 'Reinstall' from webadmin

So we need to move host package dependencies on the host by create ovirt-host-X.Y.Z package which will define dependencies of the host for specific oVirt X.Y.Z

--- Additional comment from Sandro Bonazzola on 2017-06-12 11:41:48 IDT ---

What's the question?

--- Additional comment from Yaniv Lavi (Dary) on 2017-06-12 11:43:07 IDT ---

The goal should be:
- In host deploy only this package is required to get all deps installed per arch, per version.
- Engine only updates this package to get the oVirt deps updated 
- The node only requires this package to build.

The host side holds the list of packages to update so that (to remove the need of engine being aware of the host version\arch):
- Node host lists only the image rpm name to update.
- RHEL-H only lists this meta-data package to update.

--- Additional comment from Sandro Bonazzola on 2017-06-12 15:39:11 IDT ---

(In reply to Yaniv Lavi from comment #3)
> The goal should be:
> - In host deploy only this package is required to get all deps installed per
> arch, per version.

ack

> - Engine only updates this package to get the oVirt deps updated 

ack

> - The node only requires this package to build.

No, node and non-node hosts differ at least in imgbased and nodectl presence.
We need to decide if we want to enforce all the other packages installed on node to be also installed on plain hosts.

> The host side holds the list of packages to update so that (to remove the
> need of engine being aware of the host version\arch):
> - Node host lists only the image rpm name to update.
> - RHEL-H only lists this meta-data package to update.

Comment 3 Yedidyah Bar David 2017-10-15 09:37:09 UTC
Copied doc text from 4.2 clone bug 1460609.

Comment 5 Yedidyah Bar David 2017-10-30 07:49:40 UTC
Tahlia, you might want to mention that it's only required in 3.6 if you want to add a 3.6 host to a future 4.2 engine. Otherwise people might rightfully ask why they need such a new package so late in the 3.6 lifecycle.

Comment 6 Tahlia Richardson 2017-10-31 06:03:42 UTC
Thanks Didi, I've added that in.

Comment 7 Pavol Brilla 2017-10-31 11:52:13 UTC
ovirt-host package exist and it is installing all dependencies for host

# yum list ovirt-host vdsm
Installed Packages
ovirt-host.noarch                  3.6.0-1.el7ev                    @rhv-3.6.12                        
vdsm.noarch                        4.17.43-1.el7ev                  @rhel-7-server-rhev-mgmt-agent-rpms


Add host to 4.1 engine did not install any other package to host

( For downstream 4.2 engine see 1507891 )

Comment 9 errata-xmlrpc 2017-11-07 09:05:27 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/RHEA-2017:3127

Comment 10 Anton Marchukov 2017-11-13 13:58:38 UTC
*** Bug 1503442 has been marked as a duplicate of this bug. ***