Bug 1951304

Summary: ipa: FTBFS in Red Hat Enterprise Linux 9 CentOS Stream
Product: Red Hat Enterprise Linux 9 Reporter: Mohan Boddu <mboddu>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED CURRENTRELEASE QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: amore, bstinson, carl, jwboyer, ksiddiqu, pcech, rcritten, smitterl, tscherf
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.3-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:30:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1951115    

Description Mohan Boddu 2021-04-19 21:25:35 UTC
ipa failed to build from source in Red Hat Enterprise Linux 9 CentOS Stream

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


For details on the mass rebuild see:

Please fix ipa at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it.

Comment 1 Rob Crittenden 2021-04-19 21:49:07 UTC
It is failing with:
checking supported IPA platform... configure: error: IPA platform centos is not supported

The c9s centos-stream-release-9.0-1.0.4.el9.noarch.rpm package has:

ID="centos"
ID_LIKE="rhel fedora"

So it should auto-detect the platform.

The failure message seems to indicate that centos was passed in as --with-ipaplatform but I don't see it being passed in.

Comment 2 Florence Blanc-Renaud 2021-04-20 06:06:56 UTC
The issue is that the build was done using freeipa repo instead of ipa repo: in the build task (https://kojihub.stream.rdu2.redhat.com//koji/taskinfo?taskID=247666) one can see
Source: git+https://gitlab.com/redhat/centos-stream/rpms/freeipa#2a5cab69ee597356ca8f078a8de260fbaffd695a
                                                         ^^^^^^^

The component is "freeipa" in fedora (https://src.fedoraproject.org/rpms/freeipa) but is renamed ipa in centos (https://gitlab.com/redhat/centos-stream/rpms/ipa) and rhel (http://pkgs.devel.redhat.com/cgit/rpms/ipa/).

Comment 4 Florence Blanc-Renaud 2021-04-20 08:22:43 UTC
Committed in c9s branch:
https://gitlab.com/redhat/centos-stream/rpms/ipa/-/commit/16785f4548d2490edb769a1a6120b650a11c3648

Comment 5 Florence Blanc-Renaud 2021-04-20 08:23:24 UTC
Successful build: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=248429
ipa-4.9.3-2.el9

Comment 6 Florence Blanc-Renaud 2021-04-20 08:30:11 UTC
And successful rhel9 build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1582569
The gating is still in progress

Comment 7 Florence Blanc-Renaud 2021-04-21 11:57:05 UTC
Hi Kaleem,
can you update the ITM according to your plans and pre-verify this BZ?
Note that we have a new build ipa-4.9.3-2.el9 that just passed gating and can be used for pre-verification (task ID 36291760).

Comment 12 anuja 2021-06-03 15:10:15 UTC
Verified using:
ipa-server-4.9.3-2.el9.x86_64

2021-06-03T12:45:52 ok: [master.ipa.test] => (item=ipa-server) => 
2021-06-03T12:45:52   msg:
2021-06-03T12:45:52   - arch: x86_64
2021-06-03T12:45:52     epoch: null
2021-06-03T12:45:52     name: ipa-server
2021-06-03T12:45:52     release: 2.el9
2021-06-03T12:45:52     source: rpm
2021-06-03T12:45:52     version: 4.9.3

Successful build log: http://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/ipa/4.9.3/2.el9/data/logs/x86_64/root.log

Comment 15 Red Hat Bugzilla 2023-09-15 01:05:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days