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

Bug 1748540

Summary: libvirt / libvirt-admin version mismatch after RHEL 7.7 batch causes deploy errors
Product: Red Hat Enterprise Virtualization Manager Reporter: Francisco Javier Lopez Y Grueber <flg>
Component: distributionAssignee: Assaf <asrodrig>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.5CC: asrodrig, cshao, dfediuck, dtodorov, lleistne, lsurette, lsvaty, mavital, nlevy, pdubovsk, peyu, qiyuan, rbarry, Rhev-m-bugs, sbonazzo, srao, srevivo, tburke, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.3.6Keywords: Rebase, ZStream
Target Release: 4.3.6   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-06 19:14:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Rel-Eng RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dep_issues none

Description Francisco Javier Lopez Y Grueber 2019-09-03 19:51:21 UTC
Created attachment 1611276 [details]
dep_issues

Description of problem:

Fresh Install of cockpit-ovirt-dashboard fails with dependecy issues under RHEL7.7

Version-Release number of selected component (if applicable):

[root@x ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.7 (Maipo)
[root@x ~]# yum info cockpit-ovirt-dashboard;
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Available Packages
Name        : cockpit-ovirt-dashboard
Arch        : noarch
Version     : 0.13.5
Release     : 1.el7ev
Size        : 3.5 M
Repo        : rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64
Summary     : Dashboard for Cockpit based on oVirt
URL         : https://gerrit.ovirt.org/gitweb?p=cockpit-ovirt.git;a=summary
License     : ASL 2.0
Description : This package provides a Cockpit dashboard for use with oVirt.

How reproducible:

ALWAYS
Steps to Reproduce:
1. Fresh install of RHEL7.7
2. Attach Subscriptions and try to install 

[root@x ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id                                                                                       repo name                                                                                                      status
rhel-7-server-ansible-2-rpms/x86_64                                                           Red Hat Ansible Engine 2 RPMs for Red Hat Enterprise Linux 7 Server                                                50
rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64                                            Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs)                                                    1,995
rhel-7-server-rpms/7Server/x86_64                                                             Red Hat Enterprise Linux 7 Server (RPMs)                                                                       26,283
repolist: 28,328

3.

Actual results:

Install fails: 

Error: Package: libvirt-lock-sanlock-4.5.0-23.el7.x86_64 (rhel-7-server-rhv-4-mgmt-agent-rpms)
           Requires: libvirt-daemon = 4.5.0-23.el7
           Available: libvirt-daemon-1.1.1-29.el7.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7
           Available: libvirt-daemon-1.1.1-29.el7_0.1.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7_0.1
           Available: libvirt-daemon-1.1.1-29.el7_0.3.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7_0.3
           Available: libvirt-daemon-1.1.1-29.el7_0.4.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7_0.4

~~~~


Expected results:

Install completes 

Additional info:

Please see the complete list of dependencies issues attached

Comment 1 Wei Wang 2019-09-04 04:46:41 UTC
Test Version:
RHEL-7.7-20190723.1-Server-x86_64-dvd1.iso
[root@x ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.7 (Maipo)

Test Steps:
1. Clean install RHEL-7.7-20190723.1-Server-x86_64-dvd1.iso
2. Register to CDN via subscription-manager
3. Attach the Red Hat Enterprise Linux Server and Red Hat Virtualization subscription pools entitlements
4. Enable three repos "rhel-7-server-ansible-2-rpms", "rhel-7-server-rhv-4-mgmt-agent-rpms" and "rhel-7-server-rpms"
5. [root@x ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id                                                                                     repo name                                                                                                    status
rhel-7-server-ansible-2-rpms/x86_64                                                         Red Hat Ansible Engine 2 RPMs for Red Hat Enterprise Linux 7 Server                                              50
rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64                                          Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs)                                                  1,995
rhel-7-server-rpms/7Server/x86_64                                                           Red Hat Enterprise Linux 7 Server (RPMs)                                                                     26,283
repolist: 28,328
6. yum update
7. yum install cockpit-ovirt-dashboard

Test Result:
Install fails: 
Error: Package: libvirt-lock-sanlock-4.5.0-23.el7.x86_64 (rhel-7-server-rhv-4-mgmt-agent-rpms)
           Requires: libvirt-daemon = 4.5.0-23.el7
           Available: libvirt-daemon-1.1.1-29.el7.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7
           Available: libvirt-daemon-1.1.1-29.el7_0.1.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7_0.1
           Available: libvirt-daemon-1.1.1-29.el7_0.3.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7_0.3
           Available: libvirt-daemon-1.1.1-29.el7_0.4.x86_64 (rhel-7-server-rpms)
               libvirt-daemon = 1.1.1-29.el7_0.4


QE can reproduce this bug, ack+

Comment 2 Sandro Bonazzola 2019-09-04 07:16:17 UTC
libvirt-4.5.0-23 has been released in RHEL 7.7 29 days ago with https://access.redhat.com/errata/RHSA-2019:2294
1.1.29 was released in RHEL 7.0 I think there's something wrong there.

Comment 3 Sandro Bonazzola 2019-09-04 07:23:28 UTC
this needs to be investigated with CDN content.

Comment 4 Assaf 2019-09-04 07:56:29 UTC
Looking in the related advisory (release 29 days ago indeed) https://errata.devel.redhat.com/advisory/40684/

We have mapping of the optional channel of rhel (rhel-7-server-optional-rpms__7Server__x86_64 (RHEL-7)) to rhv mgmt channel.
From that advisory I can see that "libvirt-daemon"not published to that optional channel so we do not have it in rhv channel either.
Are we needs another additional mapping in rhv (from the rhel-7-dekstop) ?

Comment 6 Sandro Bonazzola 2019-09-04 08:04:16 UTC
Please cross check you're really subscribed to 7.7 Server channel. I see RHEL 7.7 didn't receive libvirt-daemon-4.5.0-23 but RHEL 7.7 Server did according to errata.

Comment 7 Assaf 2019-09-04 08:42:56 UTC
 @pdubovsk  @dtodorov

Comment 9 Sandro Bonazzola 2019-09-06 05:36:52 UTC
*** Bug 1749492 has been marked as a duplicate of this bug. ***

Comment 10 Sandro Bonazzola 2019-09-06 05:42:31 UTC
Reopeneing and assigning to release engineering.
Looking at https://access.redhat.com/errata/RHBA-2019:2611 I see that libvirt-admin shipped to "Red Hat Virtualization for IBM Power LE 4" but not to "Red Hat Virtualization 4" so deploy fails on version mismatch having libvirt-admin-4.5.0-23.el7.x86_64 and libvirt-lock-sanlock-4.5.0-23.el7.x86_64 in RHV channel and ibvirt-daemon = 4.5.0-23.el7_7.1 in RHEL 7.7
Assaf please handle this urgently.

Comment 13 errata-xmlrpc 2019-09-06 19:14: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, 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-2019:2679