Bug 1947450 - ovirt-host shouldn't have hard dependency on vdsm hooks
Summary: ovirt-host shouldn't have hard dependency on vdsm hooks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-host
Version: 4.4.5
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.4.7
: 4.4.7
Assignee: Sandro Bonazzola
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On: 1947759
Blocks: 1947944 1976095
TreeView+ depends on / blocked
 
Reported: 2021-04-08 13:50 UTC by Michal Skrivanek
Modified: 2021-11-04 19:28 UTC (History)
18 users (show)

Fixed In Version: vdsm-4.40.70.1 ovirt-host-4.4.7-1
Doc Type: Enhancement
Doc Text:
The ovirt-host package no longer pulls in vdsm-hooks automatically. To use vdsm hooks, you must install the appropriate hook for the specific functionality required.
Clone Of:
Environment:
Last Closed: 2021-07-22 15:08:31 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2864 0 None None None 2021-07-22 15:09:30 UTC
oVirt gerrit 114664 0 master MERGED build: ovirt-host-4.4.7 2021-05-10 13:20:11 UTC
oVirt gerrit 114738 0 master MERGED spec: drop hard dependency on vmfex 2021-05-20 11:37:42 UTC

Internal Links: 1947944

Description Michal Skrivanek 2021-04-08 13:50:09 UTC
Some of these hooks, (e.g. fcoe) are running unconditionally and may cause issues. Others (e.g. vmfex) are not too common and there is no need to always install them and forbid removing them

Let's drop them from ovirt-host Requires:

Comment 13 Wei Wang 2021-04-09 09:24:31 UTC
Discuss with cshao, change the flag qa_ack to "?"

Comment 15 Dana 2021-04-18 11:05:45 UTC
I don't remember the details on this topic
I can add the role

Comment 19 Wei Wang 2021-06-03 05:58:14 UTC
The latest build RHVH-4.4-20210527.0-RHVH-x86_64-dvd1.iso includes ovirt-host-4.4.6-1.el8ev.x86_64 and vdsm-4.40.60.7-1.el8ev.x86_64, so QE will verify this bug when rhvh 4.4.7 build coming.

Comment 21 Wei Wang 2021-06-25 03:28:30 UTC
Test Version:
RHVH-4.4-20210624.0-RHVH-x86_64-dvd1.iso
vdsm-4.40.70.5-1.el8ev.x86_64
ovirt-host-4.4.7-1.el8ev.x86_64

Test Steps:
1. Clean install RHVH
2. [root@hp-dl388g9-04 ~]# rpm -qa|grep vdsm-hook-
vdsm-hook-vmfex-dev-4.40.70.5-1.el8ev.noarch
vdsm-hook-vhostmd-4.40.70.5-1.el8ev.noarch
vdsm-hook-ethtool-options-4.40.70.5-1.el8ev.noarch
vdsm-hook-openstacknet-4.40.70.5-1.el8ev.noarch
vdsm-hook-fcoe-4.40.70.5-1.el8ev.noarch


Result:
The vdsm-hook packages are still installed with ovirt-host

bug is not fixed, move the status to "ASSIGNED"

Comment 22 Sandro Bonazzola 2021-06-25 08:00:17 UTC
On the cleanly installed RHV-H:

```
  # dnf remove  vdsm-hook\*
  Updating Subscription Management repositories.
  Unable to read consumer identity

  This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

  Dependencies resolved.
  =========================================================================================
   Package                                     Arch    Version              Repo      Size
  =========================================================================================
  Removing:
   vdsm-hook-ethtool-options                   noarch  4.40.70.5-1.el8ev    @System  5.7 k
   vdsm-hook-fcoe                              noarch  4.40.70.5-1.el8ev    @System  7.3 k
   vdsm-hook-openstacknet                      noarch  4.40.70.5-1.el8ev    @System   43 k
   vdsm-hook-vhostmd                           noarch  4.40.70.5-1.el8ev    @System   23 k
   vdsm-hook-vmfex-dev                         noarch  4.40.70.5-1.el8ev    @System   21 k
  Removing dependent packages:
   redhat-release-virtualization-host-content  x86_64  4.4.7-1.el8ev        @System    0  

  Transaction Summary
  =========================================================================================
  Remove  6 Packages
```

So the presence of the hooks is not due to ovirt-host. Opening a bug for it, moving this back to MODIFIED.

Comment 24 Wei Wang 2021-07-01 01:01:49 UTC
QE will verify this bug after the new build is coming.

Comment 25 Wei Wang 2021-07-07 05:41:41 UTC
Test with RHVH-4.4-20210705.2-RHVH-x86_64-dvd1.iso, there are no package related vdsm hooks.
bug is fixed, move it to "VERIFIED"

Comment 30 errata-xmlrpc 2021-07-22 15:08:31 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 (RHV RHEL Host (ovirt-host) [ovirt-4.4.7]), 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-2021:2864


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