Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2004165

Summary: ipa migrate-ds command fails to warn when compat plugin is enabled [rhel-8.6.0]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: frenaud, lmiksik, ndehadra, rcritten, rjeffman, ssidhaye, sumenon, tscherf, twoerner
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.8-2.module+el8.6.0+13621+937b8cd9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1999992 Environment:
Last Closed: 2022-05-10 14:08:46 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: 1999992    
Bug Blocks:    

Comment 1 Florence Blanc-Renaud 2021-09-14 15:42:51 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/2ba3028b968f8d3c27980c9921c0c08b29d024e9

Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/3c4f9e7347965ff9a887147df34e720224ffa7cc

Comment 9 Sudhir Menon 2022-01-17 12:02:59 UTC
Marking the bug verified using ipa-server-4.9.8-2.module+el8.6.0+13621+937b8cd9.x86_64

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   warning should be displayed if compat plugin is enabled, bz783270
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 06:43:49 ] :: [   LOG    ] :: kinit as admin with password Secret123 was successful.
:: [ 06:43:49 ] :: [   PASS   ] :: Get administrator credentials (Expected 0, got 0)
:: [ 06:43:49 ] :: [   LOG    ] :: EXECUTING: echo Secret123 | ipa-compat-manage enable
:: [ 06:43:50 ] :: [   PASS   ] :: Command 'echo Secret123 | ipa-compat-manage enable' (Expected 0, got 0)
:: [ 06:43:55 ] :: [   PASS   ] :: Command 'systemctl restart dirsrv.target' (Expected 0, got 0)
:: [ 06:44:05 ] :: [   LOG    ] :: EXECUTING : echo Secret123 | ipa migrate-ds ldap://ip-10-0-202-102.testrealm.test:389
:: [ 06:44:09 ] :: [   PASS   ] :: Command 'echo Secret123 | ipa migrate-ds ldap://ip-10-0-202-102.testrealm.test:389 > /tmp/compatenabled.out 2>&1' (Expected 1, got 1)
:: [ 06:44:09 ] :: [   PASS   ] :: File '/tmp/compatenabled.out' should contain 'The compat plug-in is enabled.' 
:: [ 06:44:09 ] :: [   PASS   ] :: Command 'cat /tmp/compatenabled.out' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Comment 13 errata-xmlrpc 2022-05-10 14:08:46 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 (idm:client and idm:DL1 bug fix and enhancement update), 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/RHEA-2022:1884