Bug 1962570

Summary: IPA in c9s should not require redhat-logos-ipa as a runtime package
Product: Red Hat Enterprise Linux 9 Reporter: Christian Heimes <cheimes>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED CURRENTRELEASE QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: abokovoy, bstinson, jwboyer, ksiddiqu, mpolovka, rcritten, sgallagh, tscherf
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.6-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:20:54 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:
Embargoed:

Description Christian Heimes 2021-05-20 09:42:38 UTC
python3-ipaserver has a dependency on redhat-logos-ipa but the package is not available on c9s:

https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=270248

DEBUG util.py:444:  No matches found for the following disable plugin patterns: local, spacewalk
DEBUG util.py:446:  (try to add '--skip-broken' to skip uninstallable packages)
DEBUG util.py:444:  Error: 
DEBUG util.py:444:   Problem: package python3-ipaserver-4.9.3-2.el9.noarch requires ipa-server-common = 4.9.3-2.el9, but none of the providers can be installed
DEBUG util.py:444:    - conflicting requests
DEBUG util.py:444:    - nothing provides redhat-logos-ipa >= 80.4 needed by ipa-server-common-4.9.3-2.el9.noarch

Comment 1 Florence Blanc-Renaud 2021-05-20 11:22:36 UTC
Moving to the correct component: ipa-healthcheck

Comment 2 Rob Crittenden 2021-05-20 12:31:53 UTC
It's a missing dependency of ipa-server-common that ipa-healthcheck needs for its unit tests. Assigning to the component that owns the sub-package.

Comment 3 Rob Crittenden 2021-05-20 13:40:28 UTC
Sorry for the noise, I missed the c9s tag.

The root of the problem is that the logos subpackage needed by ipa is not in CentOS 9 Stream (because it isn't RHEL).

We will have to tighten up the requires in the ipa spec to handle the c9s (and maybe ELN) cases.

Comment 4 Stephen Gallagher 2021-05-20 14:59:05 UTC
I'd like to suggest that IPA should use `Requires: ipa-logos` as a virtual Provide and then we can have different packages satisfy that requirement on RHEL, CentOS Stream and Fedora ELN.

Comment 5 Alexander Bokovoy 2021-06-04 09:17:04 UTC
There is already system-logos-ipa provides from both redhat-logos and centos-logos. We need the same added to Fedora ELN to make it consistent.

Right now I am changing IPA spec for FreeIPA 4.9.4 release to skip the dependency for Fedora ELN and change it to system-logos-ipa requirement for RHEL/CentOS.

Comment 7 Florence Blanc-Renaud 2021-06-30 15:30:28 UTC
Fixed upstream:
master:
https://pagure.io/freeipa/c/26fc0bcaddc7f23135d601736fe0e4fad26acd93 Depend on system-logos-ipa on RHEL/CentOS Stream


ipa-4-9:
https://pagure.io/freeipa/c/3dd8c4d5134f7997ee75b18b282b83ff56ae5bbc Depend on system-logos-ipa on RHEL/CentOS Stream

Comment 12 Michal Polovka 2021-07-15 09:51:07 UTC
Verified using RHEL9.0 Beta machine with package ipa-4.9.6-2.el9.src.rpm

# rpm -qR ipa-server-common | grep logos
system-logos-ipa >= 80.4


Marking as verified.