Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1177133
Created attachment 972734 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
mkosek: The problem is that admin cannot read Schema Compatibility plugin configuration (enabled/disabled status) due to ACI refactoring.
dpal: Can we remind why we need to warn? As I recall it is to warn the user that if compat is on during migration there can be some performance implications. Should we do it differently and check that cn=compat has any entries? This seems like a regression.
mkosek: checking if cn=compat is a good idea.
Requires by downstream release (RHEL), bumping priority.
I hope pvoborni has some capacity for this one.
master:
ipa-4-1:
Metadata Update from @mkosek: - Issue assigned to pvoborni - Issue set to the milestone: FreeIPA 4.1.3
Login to comment on this ticket.