Bug 1177133

Summary: When migrating warn user if compat is enabled
Product: Red Hat Enterprise Linux 7 Reporter: Kaleem <ksiddiqu>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.1CC: jcholast, rcritten
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.1.0-14.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 10:19:14 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:
Attachments:
Description Flags
snip from automation log
none
snip from automation log for verification steps none

Description Kaleem 2014-12-24 11:04:17 UTC
Created attachment 972734 [details]
snip from automation log

Description of problem:
While running ds-migration automation test suite, bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=783270 is found

Version-Release number of selected component (if applicable):
[root@qe-blade-03 ~]# rpm -q ipa-server
ipa-server-4.1.0-13.el7.x86_64
[root@qe-blade-03 ~]# 

How reproducible:
Always

Steps to Reproduce:
1. Enable compat plugin
2. Run migrate-ds without --with-compat option.

:: [  BEGIN   ] :: Running 'echo xxxxxxxx | ipa-compat-manage enable'
Directory Manager password: 
Enabling plugin
This setting will not take effect until you restart Directory Server.
:: [   PASS   ] :: Command 'echo xxxxxxxx | ipa-compat-manage enable' (Expected 0, got 0)
Red Hat Enterprise Linux Server release 7.1 Beta (Maipo)
:: [  BEGIN   ] :: Running 'systemctl restart dirsrv.target'
:: [   PASS   ] :: Command 'systemctl restart dirsrv.target' (Expected 0, got 0)
:: [ 05:24:48 ] :: EXECUTING : echo xxxxxxxx | ipa migrate-ds ldap://mgmt3.testrelm.test:389
:: [  BEGIN   ] :: Running 'echo xxxxxxxx | ipa migrate-ds ldap://mgmt3.testrelm.test:389 > /tmp/compatenabled.out 2>&1'
:: [   FAIL   ] :: Command 'echo xxxxxxxx | ipa migrate-ds ldap://mgmt3.testrelm.test:389 > /tmp/compatenabled.out 2>&1' (Expected 1, got 0)

Actual results:
migration happens successfully.

Expected results:
migration should fail with warning

Additional info:
Please find the attached snip from automation log

Comment 3 Martin Kosek 2015-01-05 16:21:44 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/4825

Comment 6 Kaleem 2015-01-16 06:17:06 UTC
Created attachment 980752 [details]
snip from automation log for verification steps

Verified.

IPA Version:
============
ipa-server-4.1.0-15.el7.x86_64

Snip from automation log in support of verification steps has been attached.

Comment 8 errata-xmlrpc 2015-03-05 10:19:14 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, 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://rhn.redhat.com/errata/RHSA-2015-0442.html