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: ---   
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