Bug 1396573

Summary: current ipxe-qemu-roms from director conflicts with qemu-kvm-rhev from RHEL 7.3
Product: Red Hat OpenStack Reporter: Gonéri Le Bouder <goneri>
Component: ipxeAssignee: RHOS Maint <rhos-maint>
Status: CLOSED WONTFIX QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: apevec, goneri, lhh, mburns, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-11 13:10:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gonéri Le Bouder 2016-11-18 16:18:23 UTC
Description of problem:


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


How reproducible:
I cannot install the following puddles together:

repo_name : "RH7-RHOS-9.0-director"
version : "2016-10-31.2"

repo_name : "RH7-RHOS-9.0"
version : "2016-10-28.2"

The installation of qemu-kvm-rhev fails with the following error:

2016-11-17 18:03:49,863::DEBUG::[1;31mError: Execution of '/bin/yum -d 0 -e 0 -y install openstack-nova-compute' returned 1: Error: Package: 10:qemu-kvm-rhev-2.6.0-27.el7.x86_64 (RH7-RHOS-9.0)

           Requires: ipxe-roms-qemu >= 20160127-4

           Available: ipxe-roms-qemu-20160127-1.git6366fa7a.el7.noarch (RH7-RHOS-9.0-director)

               ipxe-roms-qemu = 20160127-1.git6366fa7a.el7



Additional info:
[root@instack ~]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.3 (Maipo)
Release:        7.3
Codename:       Maipo
[root@instack ~]# yum repolist
Loaded plugins: priorities, search-disabled-repos
76 packages excluded due to repository priority protections
repo id                                                                                                       repo name                                                                                                              status
!RH7-RHOS-9.0                                                                                                 RH7-RHOS-9.0                                                                                                                 535
!RH7-RHOS-9.0-director                                                                                        RH7-RHOS-9.0-director                                                                                                         33
rhel-7-server-extras-rpms/x86_64                                                                              Red Hat Enterprise Linux 7 Server - Extras (RPMs)                                                                          326+1
rhel-7-server-optional-rpms/7Server/x86_64                                                                    Red Hat Enterprise Linux 7 Server - Optional (RPMs)                                                                    10,354+32
rhel-7-server-rpms/7Server/x86_64                                                                             Red Hat Enterprise Linux 7 Server (RPMs)                                                                               13,347+43
repolist: 24,595

Comment 1 Gonéri Le Bouder 2016-11-18 16:36:44 UTC
The problem comes from the priority plugin. If I disable it I can see the ipxe-roms-qemu from rhel-7-server-rpms:

[root@instack ~]# yum info --disableplugin=priorities ipxe-roms-qemu
Loaded plugins: search-disabled-repos
Available Packages
Name        : ipxe-roms-qemu
Arch        : noarch
Version     : 20160127
Release     : 5.git6366fa7a.el7
Size        : 698 k
Repo        : rhel-7-server-rpms/7Server/x86_64
Summary     : Network boot loader roms supported by QEMU, .rom format
URL         : http://ipxe.org/
License     : GPLv2 and BSD
Description : iPXE is an open source network bootloader. It provides a direct
            : replacement for proprietary PXE ROMs, with many extra features such as
            : DNS, HTTP, iSCSI, etc.
            : 
            : This package contains the iPXE ROMs for devices emulated by QEMU, in
            : .rom format.

Could you refresh the ipxe-rom-qemu fron the director puddle to avoid this situation?

Comment 2 Dmitry Tantsur 2017-05-09 10:39:54 UTC
Mike, do you know if it's still a problem? If it is, I don't think it's something our team can solve.

Comment 3 Mike Burns 2017-05-09 15:35:54 UTC
i'm not aware of this issue anymore, Goneri?

Comment 4 Gonéri Le Bouder 2017-05-09 17:43:48 UTC
From what I can see, we still provide ipxe-roms-qemu-20160127-1.git6366fa7a.el7.noarch.rpm in the puddle. So I think we will still have the problem if yum-priorities is enabled.

Can we just remove these old ipxe packages since now newer version are available in RHEL?

Comment 5 Gonéri Le Bouder 2017-05-11 13:10:12 UTC
Copy of Mike Burns answer on a similar issue (#1396758):

==>
No, we don't remove content from CDN and we don't reship content that is in RHEL unless we absolutely necessary (we need something that is not available in the rhel version).

If you're using yum priorities (which we don't document using, I don't believe), you should have rhel-7-server and rhos-7-server-openstack-*-rpms at the same priority level.  All our testing is done without yum priorities, relying on yum/rpm to make the right decisions.