grouper-users - Re: [grouper-users] Re: PSPNG issue
Subject: Grouper Users - Open Discussion List
List archive
- From: Julio Macavilca <>
- To: "Bee-Lindgren, Bert" <>
- Cc: Grouper Users <>
- Subject: Re: [grouper-users] Re: PSPNG issue
- Date: Thu, 10 Aug 2017 16:32:52 -0400
- Ironport-phdr: 9a23:wymd9BzsHXg6C6TXCy+O+j09IxM/srCxBDY+r6Qd0uoULPad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q89pDXYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYP+d8cKzAZ9MXXWhOXshRWSJPAY2ycpUBAPYaMOlCs4XwvUEDoQeiCQSuAu7k1z9GhmXx3a0/y+kvFRzG3AghH9IJrX/aq8/6O7sIXuCrzanIySnMYOlL0jr66ojIbxQhofCLXb9rd8rQyVQvGxnbgVqNtIzoJjWY3fkDvWic6upvT+Ovi2g/pgFzpTig3d0sipTPhoIOylDL6yF5wIIvKd2iVU53edGkEIFXtyGHL4t5XNkiT3tytyYi0r0KoZ+7fC4WyJs53R7fbeKIc5SW7h75SumePCp4iGpjeLO/mha+61avxfDhVsWs0lZKqTFKksPRtnALzBzT6taISv95/ku7wzaPygbT5vlLIUAukqrbNoYhzaAqlpYJt0TMBCr2l1vugK+ZbEUk/fWo6/z9brXgvJCcMpF7hwfjOaotgsyyGfo0PwkSU2WZ/Om82r7u8lblTLhPgfA6jrXVvI7fKMsHuqK0AwpY34M95xqhETir1skTk2MdI1JfYh2HipDkO1HQL/D8Cveym1Gsny1qx/DCJ7HgApvMImTanLbuY7px9VBTxBA8zdBY4JJUBbUBL+zpVkDts9zYCwc1Mw2yw+n5FNVwzp0SVGOTDqKbNa7Sv1yF6fkzL+SJa4IZpCrxJ+Yg6vHykXM0mVoQcKy30ZcJdn+0BvFmLF+YYXrojNcBC2AKvg8mQezojV2PUT9eaneuU68n4DE6CJ+mAZ3dSY+wnbyNxD27EYFOZmBaFlCMFm/ld4qeW/cLdSKSOtFukiYdWbi8UI8uywuutBThxrpjL+rU4TEYtYn92NRv5u3Tkw0y+iJuD8SbzW6NU394knkWSDArwaAs6XB6nx2p3KU9p/1eGdNJ6vUNGi03L4KWh7hwBsruHAjMc5KNSVCqTc+rBxk2T853zNYSbk19Xdiuk0aQ5SeyB64pkOmJGZg19YrazmW3KspgmFjc06x0rUQiQ8wHEGStj7B+8wPaT9rLjkGYkI6sZLla0SLQojTQhVGStV1VBVYjGZ7OWmoSMw6P9Yz0
# added by grouper-installer
grouper_v2_3_0_pspng_patch_15.date = 2017/08/10 10:22:01
# added by grouper-installer
grouper_v2_3_0_pspng_patch_15.state = applied
Just to make sure Patch 15 is in place... Can you see if "Slower fetching will be attempted" is logged in your Test 4?
Thank you,
Bert
From: <> on behalf of Julio Macavilca <>
Sent: Thursday, August 10, 2017 2:26 PM
To: Bee-Lindgren, Bert
Cc: Grouper Users
Subject: Re: [grouper-users] Re: PSPNG issueHey Bert,
Thanks so much for that. I'm all patched up to #15 and was testing this out with the new attribute in the config, please see below as I was not successful in provisioning but perhaps I'm missing something. I changed my singleGroupSearchFilter to a more resilient attribute (gidNumber) and set the enableBulkGroupSearching.
regards,
Julio
As before, the group is provisioned to ldap but no members and changelog is stuck and keeps display the stacktrace.Test 1:
Single search filter with gid:
changeLog.consumer.pspng_ldap.
singleGroupSearchFilter = (gidNumber=${group.idIndex}) changeLog.consumer.pspng_ldap.
enableBulkGroupSearching=false After adding a group and members that requires escape chars, no errors/stacktrace of changelog being stuck in logs but I did see in the logs each of the nonaffected changelog consumers display the following:
[DefaultQuartzScheduler_
Worker-4] INFO PspChangelogConsumerShim. processChangeLogEntries(52) - - pspng_<consumer-name>: +processChangeLogEntries(6) But for the affected one (pspng_ldap) I didn't see this appear. Then, when looking at the grouper_change_log_consumer table the last_sequence_processed number is stuck on the same number it was before while the other ones are all caught up. In this case, nothing gets provisioned to ldap (group/members).
Test 2: still with gidNumber but this time setting the new attribute to true
I do see:changeLog.consumer.pspng_ldap.
singleGroupSearchFilter = (gidNumber=${group.idIndex}) changeLog.consumer.pspng_ldap.
enableBulkGroupSearching=true
but same effect on the other tables and not provisioned to ldap.Worker-5] INFO PspChangelogConsumerShim.
processChangeLogEntries(52) - - pspng_ldap: +processChangeLogEntries(1)
Test 3: went back to the old singleGroupSearchFilter with the new attribute set to false:
changeLog.consumer.pspng_ldap.
singleGroupSearchFilter = (&(objectclass=groupOfNames)( entryDN=${utils.bushyDn(group. name , "cn", "ou")},ou=test,o=nyu.edu,o=nyu)) changeLog.consumer.pspng_ldap.
enableBulkGroupSearching=false I see in the logs:
INFO PspChangelogConsumerShim.
processChangeLogEntries(52) - - pspng_ldap: +processChangeLogEntries(5) but shortly followed by the error
[DefaultQuartzScheduler_
Worker-1] ERROR LdapSystem.performLdapAdd(337) - - Problem while creating new ldap object: [dn=cn=This_-_is_Not\,_ Vanilla6,ou=ad,ou=pspngtest, ou=test,o=nyu.edu,o=nyu[[ description[back again]], [objectclass[groupOfNames]]]] [org.ldaptive.LdapException@
13083363::resultCode=ENTRY_ ALREADY_EXISTS, matchedDn=null, responseControls=null, referralURLs=null, messageId=-1, message=javax.naming. NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla6, ou=test,o=nyu.edu,o=nyu', providerException=javax. naming. NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla6, ou=test,o=nyu.edu,o=nyu']
Test 4: Set enableBulkGroupSearching to true, result is same ast test3.
On Wed, Aug 9, 2017 at 10:03 AM, Bee-Lindgren, Bert <> wrote:
Hello,
GRP-1588 was created to describe the problem when searching for groups by their DN/EntryDn/DistinguishedName attribute when the DNs contain escaped characters.
This was resolved by PSPNG Patch #15.
While this patch should start working and populating memberships, I would suggest that you consider searching for groups by gidNumber (or cn, if they're unique) so that modified groups (folder change) do not cause deletion of the old group (by an authoritative full sync) and creation of a new one in the new OU.
Sincerely,
Bert Bee-Lindgren
From: Julio Macavilca <>
Sent: Wednesday, August 2, 2017 12:12 PM
To: Bee-Lindgren, Bert
Cc: Grouper Users
Subject: Re: [grouper-users] Re: PSPNG issueThank you Bert. I do see improvements and can confirm the group gets created in LDAP with the escape characters but it is shortly followed by an "LDAP: error code 68 - Entry Already Exists" and the members are not added. I tried creating a group without characters that require escaping and it goes through fine.
2017-08-02 11:15:52,373: [DefaultQuartzScheduler_Worker-9] INFO EventLog.info(156) - - [789f520b467b4d648b704674947e6 f6b,'GrouperSystem','applicati on'] session: start (3ms) 2017-08-02 11:15:52,378: [DefaultQuartzScheduler_Worker-8] INFO EventLog.info(156) - - [7b4ab6d2d4024d7eb2c7eb82d0755 a1b,'GrouperSystem','applicati on'] session: start (2ms) 2017-08-02 11:15:52,384: [DefaultQuartzScheduler_Worker-8] INFO EventLog.info(156) - - [72c1c4856fdb4cda951a40a2f1652 13a,'GrouperSystem','applicati on'] session: start (2ms) 2017-08-02 11:15:52,418: [DefaultQuartzScheduler_Worker-2] INFO LdapGroupProvisioner.createGr oup(299) - - Creating LDAP group for GrouperGroup: test:This_-_is_Not,_Vanilla 2017-08-02 11:15:52,423: [DefaultQuartzScheduler_Worker-9] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Ignoring work item because group is not provisioned,clog=clog #347647 / ChangeLog type: membership: addMembership,group=test:This_ -_is_Not,_Vanilla,subject=tst9 1@nyuperson] 2017-08-02 11:15:52,424: [DefaultQuartzScheduler_Worker-9] INFO Provisioner.provisionBatchOfI tems(1362) - - pspng_groupOfNames: 1 work items need to be processed futher 2017-08-02 11:15:52,425: [DefaultQuartzScheduler_Worker-9] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Nothing to do (not a supported change),clog=clog #347646 / ChangeLog type: privilege: addPrivilege] 2017-08-02 11:15:52,426: [DefaultQuartzScheduler_Worker-9] INFO PspChangelogConsumerShim.proc essChangeLogEntries(113) - - Provisioning summary: 2017-08-02 11:15:52,555: [DefaultQuartzScheduler_Worker-8] INFO EventLog.info(156) - - [4bea4d29b507434bbcf01fb52cd55 99a,'GrouperSystem','applicati on'] session: start (3ms) 2017-08-02 11:15:52,598: [DefaultQuartzScheduler_Worker-8] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Ignoring work item because group is not provisioned,clog=clog #347647 / ChangeLog type: membership: addMembership,group=test:This_ -_is_Not,_Vanilla,subject=tst9 1@nyuperson] 2017-08-02 11:15:52,600: [DefaultQuartzScheduler_Worker-8] INFO Provisioner.provisionBatchOfI tems(1362) - - pspng_activedirectory: 2 work items need to be processed futher 2017-08-02 11:15:52,602: [DefaultQuartzScheduler_Worker-8] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Nothing to do (not a supported change),clog=clog #347645 / ChangeLog type: member: addMember,subject=b1135d924da4 4c47b8158355292d4859@g:gsa] 2017-08-02 11:15:52,604: [DefaultQuartzScheduler_Worker-8] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Nothing to do (not a supported change),clog=clog #347646 / ChangeLog type: privilege: addPrivilege] 2017-08-02 11:15:52,605: [DefaultQuartzScheduler_Worker-8] INFO PspChangelogConsumerShim.proc essChangeLogEntries(113) - - Provisioning summary: 2017-08-02 11:15:52,641: [DefaultQuartzScheduler_Worker-2] INFO LdapProvisioner.performLdapAd d(722) - - pspng_ldap: Creating LDAP object: cn=This_-_is_Not\,_Vanilla,ou= test,o=nyu.edu,o=nyu
2017-08-02 11:15:52,644: [DefaultQuartzScheduler_Worker-2] INFO LdapSystem.performLdapAdd(329 ) - - enterpriseldap: Creating LDAP object: cn=This_-_is_Not\,_Vanilla,ou= test,o=nyu.edu,o=nyu
2017-08-02 11:15:53,112: [DefaultQuartzScheduler_Worker-4] INFO EventLog.info(156) - - [c207d011bb0e4e71b3f34bf1b57c7 a08,'GrouperSystem','applicati on'] session: start (3ms) 2017-08-02 11:15:53,152: [DefaultQuartzScheduler_Worker-2] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Group test:This_-_is_Not,_Vanilla already exists,clog=clog #347644 / ChangeLog type: group: addGroup,group=test:This_-_is_ Not,_Vanilla] 2017-08-02 11:15:53,154: [DefaultQuartzScheduler_Worker-2] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Nothing to do (not a supported change),clog=clog #347645 / ChangeLog type: member: addMember,subject=b1135d924da4 4c47b8158355292d4859@g:gsa] 2017-08-02 11:15:53,156: [DefaultQuartzScheduler_Worker-2] INFO ProvisioningWorkItem.setStatu s(143) - - Work item handled: ProvisioningWorkItem[successfu l=true,msg=Nothing to do (not a supported change),clog=clog #347646 / ChangeLog type: privilege: addPrivilege] 2017-08-02 11:15:53,157: [DefaultQuartzScheduler_Worker-2] INFO PspChangelogConsumerShim.proc essChangeLogEntries(113) - - Provisioning summary: 2017-08-02 11:15:53,279: [DefaultQuartzScheduler_Worker-1] INFO EventLog.info(156) - - [fb95c3dd8b3544b0a95a1dfba7183 c1e,'GrouperSystem','applicati on'] session: start (2ms) 2017-08-02 11:15:53,546: [DefaultQuartzScheduler_Worker-7] INFO EventLog.info(156) - - [e05ef8d960ce4f9dbba87b0276358 203,'GrouperSystem','applicati on'] session: start (3ms) 2017-08-02 11:15:53,624: [DefaultQuartzScheduler_Worker-7] INFO PspChangelogConsumerShim.proc essChangeLogEntries(52) - - pspng_ldap: +processChangeLogEntries(1) 2017-08-02 11:15:53,625: [DefaultQuartzScheduler_Worker-7] INFO Provisioner.flushCachesIfNece ssary(1434) - - pspng_ldap: Keeping caches in tact for provisioning batch 2017-08-02 11:15:53,633: [DefaultQuartzScheduler_Worker-7] INFO EventLog.info(156) - - [c7a187c0748c4701899b42e591ca2 e19,'GrouperSystem','applicati on'] session: start (1ms) 2017-08-02 11:15:53,638: [DefaultQuartzScheduler_Worker-7] INFO EventLog.info(156) - - [6fe1626a7ebb4dde92fb4ef696c3b 3bc,'GrouperSystem','applicati on'] session: start (1ms) 2017-08-02 11:15:53,772: [DefaultQuartzScheduler_Worker-7] INFO EventLog.info(156) - - [596605cd18844d3ba9a273c88ac06 717,'GrouperSystem','applicati on'] session: start (2ms) 2017-08-02 11:15:53,809: [DefaultQuartzScheduler_Worker-7] INFO Provisioner.provisionBatchOfI tems(1362) - - pspng_ldap: 1 work items need to be processed futher 2017-08-02 11:15:54,111: [DefaultQuartzScheduler_Worker-6] INFO EventLog.info(156) - - [a6931e88591d4d999e38c3ad9ba0c fa4,'GrouperSystem','applicati on'] session: start (3ms) 2017-08-02 11:15:54,278: [DefaultQuartzScheduler_Worker-5] INFO EventLog.info(156) - - [a3d5a1680efe401587c447878fcfe bd5,'GrouperSystem','applicati on'] session: start (2ms) 2017-08-02 11:15:54,425: [DefaultQuartzScheduler_Worker-7] INFO LdapGroupProvisioner.createGr oup(299) - - Creating LDAP group for GrouperGroup: test:This_-_is_Not,_Vanilla 2017-08-02 11:15:54,615: [DefaultQuartzScheduler_Worker-7] INFO LdapProvisioner.performLdapAd d(722) - - pspng_ldap: Creating LDAP object: cn=This_-_is_Not\,_Vanilla,ou= test,o=nyu.edu,o=nyu
2017-08-02 11:15:54,617: [DefaultQuartzScheduler_Worker-7] INFO LdapSystem.performLdapAdd(329 ) - - enterpriseldap: Creating LDAP object: cn=This_-_is_Not\,_Vanilla,ou= test,o=nyu.edu,o=nyu
2017-08-02 11:15:54,664: [DefaultQuartzScheduler_Worker-7] ERROR LdapSystem.performLdapAdd(337) - - Problem while creating new ldap object: [dn=cn=This_-_is_Not\,_Vanilla ,ou=test,o=nyu.edu,o=nyu[[ description[]], [objectclass[groupOfNames]]]] [org.ldaptive.LdapException@2414009::resultCode=ENTRY_ALREAD Y_EXISTS, matchedDn=null, responseControls=null, referralURLs=null, messageId=-1, message=javax.naming.NameAlrea dyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =test,o=nyu.edu,o=nyu', providerException=javax.naming .NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =test,o=nyu.edu,o=nyu'] at org.ldaptive.provider.ProviderUtils.throwOperationException( ProviderUtils.java:55) at org.ldaptive.provider.jndi.JndiConnection.processNamingExcep tion(JndiConnection.java:619) at org.ldaptive.provider.jndi.JndiConnection.add(JndiConnection .java:326) at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pAdd(LdapSystem.java:335) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner. java:725) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:340) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:47) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:749) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner. java:475) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1373) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$5.runJob(GrouperLoaderType. java:717) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 423) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob. java:323) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run( SimpleThreadPool.java:573) Caused by: javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =test,o=nyu.edu,o=nyu' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3083) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java: 3034) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java: 2841) at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:81 2) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcont ext(ComponentDirContext.java: 337) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSu bcontext(PartialCompositeDirCo ntext.java:266) at org.ldaptive.provider.jndi.JndiConnection.add(JndiConnection .java:315) ... 14 more2017-08-02 11:15:54,681: [DefaultQuartzScheduler_Worker-7] ERROR LdapGroupProvisioner.createGro up(346) - - Problem while creating new group: dn: cn=This_-_is_Not\,_Vanilla,ou= ad,ou=pspngtest,ou=app objectclass: groupOfNamesdescription:edu.internet2.middleware.grouper.pspng.PspException: LDAP problem creating object: javax.naming.NameAlreadyBoundE xception: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =test,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pAdd(LdapSystem.java:338) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner. java:725) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:340) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:47) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:749) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner. java:475) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1373) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$5.runJob(GrouperLoaderType. java:717) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 423) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob. java:323) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run( SimpleThreadPool.java:573) 2017-08-02 11:15:54,684: [DefaultQuartzScheduler_Worker-7] ERROR Provisioner.provisionBatchOfIt ems(1376) - - Unable to begin the provisioning batch edu.internet2.middleware.grouper.pspng.PspException: LDAP problem creating object: javax.naming.NameAlreadyBoundE xception: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =test,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pAdd(LdapSystem.java:338) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner. java:725) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:340) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:47) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:749) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner. java:475) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1373) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$5.runJob(GrouperLoaderType. java:717) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 423) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob. java:323) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run( SimpleThreadPool.java:573) 2017-08-02 11:15:54,686: [DefaultQuartzScheduler_Worker-7] ERROR ChangeLogHelper.processRecords (255) - - Error java.lang.RuntimeException: No entries provisioned. Batch-Start failed: LDAP problem creating object: javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =ad,ou=pspngtest,ou=app,ou=nyu ,ou=Groups,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1378) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$5.runJob(GrouperLoaderType. java:717) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 423) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob. java:323) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run( SimpleThreadPool.java:573) Caused by: edu.internet2.middleware.grouper.pspng.PspException: LDAP problem creating object: javax.naming.NameAlreadyBoundE xception: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =ad,ou=pspngtest,ou=app,ou=nyu ,ou=Groups,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pAdd(LdapSystem.java:338) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner. java:725) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:340) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:47) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:749) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner. java:475) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1373) ... 7 more2017-08-02 11:15:54,702: [DefaultQuartzScheduler_Worker-7] ERROR ChangeLogHelper.processRecords (286) - - Did not get all the way through the batch! -1 != 347647 2017-08-02 11:15:54,703: [DefaultQuartzScheduler_Worker-7] ERROR GrouperLoaderJob.runJob(443) - - Error on job: CHANGE_LOG_consumer_pspng_ldap java.lang.RuntimeException: Error in loader job: null, check logs: Error: java.lang.RuntimeException: No entries provisioned. Batch-Start failed: LDAP problem creating object: javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =ad,ou=pspngtest,ou=app,ou=nyu ,ou=Groups,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1378) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$5.runJob(GrouperLoaderType. java:717) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 423) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob. java:323) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run( SimpleThreadPool.java:573) Caused by: edu.internet2.middleware.grouper.pspng.PspException: LDAP problem creating object: javax.naming.NameAlreadyBoundE xception: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=This_-_is_Not\,_Vanilla,ou =ad,ou=pspngtest,ou=app,ou=nyu ,ou=Groups,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pAdd(LdapSystem.java:338) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner. java:725) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:340) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:47) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:749) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner. java:475) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1373) ... 7 moreDid not get all the way through the batch! -1 != 347647at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 432) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob. java:323) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run( SimpleThreadPool.java:573)
On Tue, Aug 1, 2017 at 9:49 PM, Bee-Lindgren, Bert <> wrote:
Hello,
PSPNG 2.3 Patch 14 addresses a gap in Patch 13's RDN escaping. Please let us know if you see improvements!
Thanks much,
Bert
From: Julio Macavilca <>
Sent: Tuesday, August 1, 2017 12:22 PM
To: Bee-Lindgren, Bert
Cc: Grouper Users
Subject: Re: [grouper-users] Re: PSPNG issueI saw that pspgn 2.3.0 patch 13 (GRP-1533) was recently released (many thanks for this!) so I've patched to:grouper_v2_3_0_api_patch_71 and grouper_v2_3_0_pspng_patch_13 and tested out but I am still seeing the same behavior. My config is:
changeLog.consumer.pspng_ldap.
allGroupsSearchFilter = objectclass=groupOfNames
changeLog.consumer.pspng_ldap.groupCreationLdifTemplate = dn: ${utils.bushyDn(grouper.name, "cn", "ou")}||objectclass: groupOfNames||description: ${group.description}
changeLog.consumer.pspng_ldap.singleGroupSearchFilter = (&(objectclass=groupOfNames)(e ntryDN=${utils.bushyDn(group.n ame , "cn", "ou")},ou=nyu,ou=Groups,o=nyu.edu ,o=nyu))
And the output in the log says:
Caused by: edu.internet2.middleware.group
er.pspng.PspException: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameExcept ion: ou=regular,ou=School_of_Cultur e,_Education,_Human_Developmen t,ou=test,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name 'ou=regular,ou=School_of_Cultu re,_Education,_Human_Developme nt,ou=test,o=nyu.edu,o=nyu') at edu.internet2.middleware.group
er.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:688) at edu.internet2.middleware.group
er.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :724) at edu.internet2.middleware.group
er.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:340) at edu.internet2.middleware.group
er.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:47) at edu.internet2.middleware.group
er.pspng.Provisioner.prepareGr oupCache(Provisioner.java:740) at edu.internet2.middleware.group
er.pspng.Provisioner.startProv isioningBatch(Provisioner.java :475) at edu.internet2.middleware.group
er.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1364) ... 7 more
Did not get all the way through the batch! -1 != 346592]
thanks,Julio
On Tue, Jun 27, 2017 at 12:31 PM, Bee-Lindgren, Bert <> wrote:
Hello,
This is my current task, and I should have the DN/RDN part of it patched this week. In other words, cn=${group.name},ou=groups,dc=
example,dc=edu will work even for a group with commas/plusses/etc in its name.
I'm keeping the Jira updated as I go.
Thanks,
Bert
From: <> on behalf of Julio Macavilca <>
Sent: Wednesday, June 21, 2017 12:11 PM
To: Grouper Users
Subject: [grouper-users] Re: PSPNG issueHi folks,
Just resurfacing this issue, I'm aware that the Jira was created (https://bugs.internet2.edu/jira/browse/GRP-1533 ) back in April and wanted to see if there was an update. We'd like to run the PSPNG in prod but this is preventing us from going forward with it.
many thanks,Julio
On Mon, Apr 17, 2017 at 3:17 PM, Julio Macavilca <> wrote:
Hi,
Bumping this up. We came across this bug because while running a loader job coming from a system of records, the PSPNG became "stuck". The name of the groups that would trigger this behavior all had commas there and I was then able to reproduce this by creating them manually.
thanks,Julio
On Thu, Feb 23, 2017 at 1:30 PM, Julio Macavilca <> wrote:
Hi folks,
I am testing the PSPNG in dev environment running pspng patch 7. When creating a group or stem with a name that includes a comma I am seeing that the changelog consumer becomes stuck when provisioning to LDAP. After looking at the logs the dn looks malformed whereas using the PSP we have similar ones but it includes the escape character in the dn so it doesn't cause an LDAP error 34.
thanks,Julio
Name: This_-_is_My,_Test Path: app:pspngtest:This_-_is_My,_Te st ID path: app:pspngtest:This_-_is_My,_Te st Alternate ID path: ID: This_-_is_My,_Test Created: Thu Feb 23 1:09:24 PM EST 2017
2017-02-23 13:09:51,375: [DefaultQuartzScheduler_Worker-1] INFO PspChangelogConsumerShim.proc essChangeLogEntries(52) - - pspng_activedirectory: +processChangeLogEntries(2) 2017-02-23 13:09:51,376: [DefaultQuartzScheduler_Worker-1] INFO ProvisionerFactory.createProv isionerWithName(80) - - Constructing provisioner: pspng_activedirectory 2017-02-23 13:09:51,416: [DefaultQuartzScheduler_Worker-2] INFO EventLog.info(156) - - [dbd228ec52b04b1dbb98aaedef378 dfb,'GrouperSystem','applicati on'] session: start (1ms) 2017-02-23 13:09:51,437: [DefaultQuartzScheduler_Worker-1] INFO EventLog.info(156) - - [9f5124c4b49d4247bc0d8aacbf210 5dc,'GrouperSystem','applicati on'] session: start (1ms) 2017-02-23 13:09:51,466: [DefaultQuartzScheduler_Worker-2] INFO EventLog.info(156) - - [3157a17bd1c0433c8fb6cefb4a191 ee8,'GrouperSystem','applicati on'] session: start (1ms) 2017-02-23 13:09:51,557: [DefaultQuartzScheduler_Worker-2] INFO EventLog.info(156) - - [7db294383c8340c58b14b5d02ec19 576,'GrouperSystem','applicati on'] session: start (2ms) 2017-02-23 13:09:51,570: [DefaultQuartzScheduler_Worker-1] INFO EhcacheController.getCache(20 0) - - cache not configured explicitly: PSP-pspng_activedirectory-Grou perGroupInfoCache, to override default values, configure in the resource /grouper.cache.base.properties and /grouper.cache.properties. Default values are:maxElementsInMemory: 10000, eternal: false, timeToIdleSeconds: 600, timeToLiveSeconds: 600, overFlowToDisk: false 2017-02-23 13:09:51,572: [DefaultQuartzScheduler_Worker-1] INFO EhcacheController.getCache(20 0) - - cache not configured explicitly: PSP-pspng_activedirectory-Grou perSubjectCache, to override default values, configure in the resource /grouper.cache.base.properties and /grouper.cache.properties. Default values are:maxElementsInMemory: 10000, eternal: false, timeToIdleSeconds: 600, timeToLiveSeconds: 600, overFlowToDisk: false 2017-02-23 13:09:51,573: [DefaultQuartzScheduler_Worker-1] INFO EhcacheController.getCache(20 0) - - cache not configured explicitly: PSP-pspng_activedirectory-Targ etSystemUserCache, to override default values, configure in the resource /grouper.cache.base.properties and /grouper.cache.properties. Default values are:maxElementsInMemory: 10000, eternal: false, timeToIdleSeconds: 600, timeToLiveSeconds: 600, overFlowToDisk: false 2017-02-23 13:09:51,575: [DefaultQuartzScheduler_Worker-1] INFO EhcacheController.getCache(20 0) - - cache not configured explicitly: PSP-pspng_activedirectory-Targ etSystemGroupCache, to override default values, configure in the resource /grouper.cache.base.properties and /grouper.cache.properties. Default values are:maxElementsInMemory: 10000, eternal: false, timeToIdleSeconds: 600, timeToLiveSeconds: 600, overFlowToDisk: false 2017-02-23 13:09:51,576: [DefaultQuartzScheduler_Worker-1] INFO EhcacheController.getCache(20 0) - - cache not configured explicitly: PSP-pspng_activedirectory-Ldap UserCache, to override default values, configure in the resource /grouper.cache.base.properties and /grouper.cache.properties. Default values are:maxElementsInMemory: 10000, eternal: false, timeToIdleSeconds: 600, timeToLiveSeconds: 600, overFlowToDisk: false 2017-02-23 13:09:51,578: [DefaultQuartzScheduler_Worker-1] INFO ProvisionerFactory.createProv isionerWithName(80) - - Constructing provisioner: pspng_activedirectory 2017-02-23 13:09:51,587: [DefaultQuartzScheduler_Worker-2] INFO ProvisioningWorkItem.getSubje ctId(201) - - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup 2017-02-23 13:09:51,591: [DefaultQuartzScheduler_Worker-2] INFO ProvisioningWorkItem.getSubje ctSourceId(225) - - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup 2017-02-23 13:09:51,674: [pspng_activedirectory-FullSync] INFO EventLog.info(156) - - [4e69be2f9f1d4f18a9855299ed4ef d9b,'GrouperSystem','applicati on'] session: start (3ms) 2017-02-23 13:09:51,692: [DefaultQuartzScheduler_Worker-1] INFO EventLog.info(156) - - [5d3ed92061e44293bea0c15cc3b82 467,'GrouperSystem','applicati on'] session: start (1ms) 2017-02-23 13:09:51,781: [DefaultQuartzScheduler_Worker-1] INFO EventLog.info(156) - - [24d06f83d7684a6090fd342b3025d c62,'GrouperSystem','applicati on'] session: start (2ms) 2017-02-23 13:09:51,849: [DefaultQuartzScheduler_Worker-1] INFO Provisioner.getAllGroupsForPr ovisioner(1163) - - pspng_activedirectory: There are 0 folders that match etc:pspng:provision_to attribute 2017-02-23 13:09:51,850: [DefaultQuartzScheduler_Worker-1] INFO Provisioner.getAllGroupsForPr ovisioner(1164) - - pspng_activedirectory: There are 0 groups that match etc:pspng:provision_to attribute 2017-02-23 13:09:51,969: [DefaultQuartzScheduler_Worker-1] INFO Provisioner.getAllGroupsForPr ovisioner(1163) - - pspng_activedirectory: There are 0 folders that match etc:pspng:do_not_provision_to attribute 2017-02-23 13:09:51,970: [DefaultQuartzScheduler_Worker-1] INFO Provisioner.getAllGroupsForPr ovisioner(1164) - - pspng_activedirectory: There are 0 groups that match etc:pspng:do_not_provision_to attribute 2017-02-23 13:09:51,971: [DefaultQuartzScheduler_Worker-1] INFO Provisioner.flushCachesIfNece ssary(1346) - - pspng_activedirectory: Keeping caches in tact for provisioning batch 2017-02-23 13:09:51,981: [DefaultQuartzScheduler_Worker-2] INFO LdapGroupProvisioner.createGr oup(251) - - Creating LDAP group for GrouperGroup: app:pspngtest:This_-_is_My,_Te st 2017-02-23 13:09:52,060: [DefaultQuartzScheduler_Worker-1] INFO EventLog.info(156) - - [16d7c162c83549cf89a7537c6ef2a e72,'GrouperSystem','applicati on'] session: start (2ms) 2017-02-23 13:09:52,098: [DefaultQuartzScheduler_Worker-1] INFO ProvisioningWorkItem.getSubje ctId(201) - - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup 2017-02-23 13:09:52,099: [DefaultQuartzScheduler_Worker-1] INFO ProvisioningWorkItem.setStatu s(125) - - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup 2017-02-23 13:09:52,100: [DefaultQuartzScheduler_Worker-1] INFO ProvisioningWorkItem.setStatu s(125) - - Work item done: ProvisioningWorkItem[successfu l=true,msg=Ignoring work item ProvisioningWorkItem[successfu l=true,clog=clog #285000 / ChangeLog type: group: addGroup,group=app:pspngtest:T his_-_is_My,_Test ] because group app:pspngtest:This_-_is_My,_Te st is not provisioned,clog=clog #285000 / ChangeLog type: group: addGroup,group=app:pspngtest:T his_-_is_My,_Test ] 2017-02-23 13:09:52,101: [DefaultQuartzScheduler_Worker-1] INFO ProvisioningWorkItem.getSubje ctId(201) - - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup 2017-02-23 13:09:52,102: [DefaultQuartzScheduler_Worker-1] INFO ProvisioningWorkItem.getSubje ctSourceId(225) - - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup 2017-02-23 13:09:52,109: [DefaultQuartzScheduler_Worker-2] INFO LdapProvisioner.performLdapAd d(628) - - pspng_groupOfNames: Creating LDAP object: cn=This_-_is_My,_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu 2017-02-23 13:09:52,136: [DefaultQuartzScheduler_Worker-2] ERROR LdapSystem.performLdapRead(387 ) - - Problem during ldap read _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu [org.ldaptive.LdapException@27941234::resultCode=INVALID_DN_ SYNTAX, matchedDn=null, responseControls=null, referralURLs=null, messageId=-1, message=javax.naming.InvalidNa meException: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu', providerException=javax.naming .InvalidNameException: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu'] at org.ldaptive.provider.ProviderUtils.throwOperationException( ProviderUtils.java:55) at org.ldaptive.provider.jndi.JndiConnection.processNamingExcep tion(JndiConnection.java:619) at org.ldaptive.provider.jndi.JndiConnection$JndiSearchIterator .initialize(JndiConnection.jav a:741) at org.ldaptive.provider.jndi.JndiConnection.search(JndiConnect ion.java:463) at org.ldaptive.SearchOperation.executeSearch(SearchOperation.j ava:103) at org.ldaptive.SearchOperation.invoke(SearchOperation.java:85) at org.ldaptive.SearchOperation.invoke(SearchOperation.java:15) at org.ldaptive.AbstractOperation.execute(AbstractOperation.jav a:126) at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pRead(LdapSystem.java:372) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:585) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :630) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:269) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:54) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:715) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner.java :468) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1285) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) Caused by: javax.naming.InvalidNameException: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu' at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:302 6) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:284 1) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1850) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1773) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Compon entDirContext.java:386) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(P artialCompositeDirContext.java :356) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(P artialCompositeDirContext.java :339) at org.ldaptive.provider.jndi.JndiConnection$JndiSearchIterator .search(JndiConnection.java:80 6) at org.ldaptive.provider.jndi.JndiConnection$JndiSearchIterator .initialize(JndiConnection.jav a:735) ... 20 more2017-02-23 13:09:52,146: [DefaultQuartzScheduler_Worker-2] ERROR LdapProvisioner.ensureLdapOusE xist(593) - - pspng_groupOfNames: Unable to find existing OU (_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu) edu.internet2.middleware.grouper.pspng.PspException: Problem during LDAP read: javax.naming.InvalidNameExcept ion: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu' at edu.internet2.middleware.grouper.pspng.LdapSystem.performLda pRead(LdapSystem.java:388) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:585) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :630) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:269) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:54) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:715) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner.java :468) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1285) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) 2017-02-23 13:09:52,149: [DefaultQuartzScheduler_Worker-2] ERROR LdapGroupProvisioner.createGro up(275) - - Problem while creating new group: dn: cn=This_-_is_My,_Test ,ou=pspngtest,ou=app objectclass: groupOfNamesdescription:gidNumber: 15066objectclass: posixGroupedu.internet2.middleware.grouper.pspng.PspException: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameExcept ion: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:594) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :630) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:269) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:54) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:715) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner.java :468) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1285) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) 2017-02-23 13:09:52,152: [DefaultQuartzScheduler_Worker-2] ERROR Provisioner.provisionBatchOfIt ems(1288) - - Unable to begin the provisioning batch edu.internet2.middleware.grouper.pspng.PspException: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameExcept ion: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:594) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :630) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:269) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:54) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:715) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner.java :468) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1285) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) 2017-02-23 13:09:52,155: [DefaultQuartzScheduler_Worker-2] ERROR ChangeLogHelper.processRecords (255) - - Error java.lang.RuntimeException: No entries provisioned. Batch-Start failed: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameException: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1290) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) Caused by: edu.internet2.middleware.grouper.pspng.PspException: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameExcept ion: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:594) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :630) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:269) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:54) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:715) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner.java :468) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1285) ... 7 more2017-02-23 13:09:52,160: [DefaultQuartzScheduler_Worker-2] ERROR ChangeLogHelper.processRecords (286) - - Did not get all the way through the batch! -1 != 285001 2017-02-23 13:09:52,161: [DefaultQuartzScheduler_Worker-2] ERROR GrouperLoaderJob.runJob(438) - - Error on job: CHANGE_LOG_consumer_pspng_grou pOfNames java.lang.RuntimeException: Error in loader job: null, check logs: Error: java.lang.RuntimeException: No entries provisioned. Batch-Start failed: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameException: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1290) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) Caused by: edu.internet2.middleware.grouper.pspng.PspException: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameExcept ion: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.LdapProvisioner.ensur eLdapOusExist(LdapProvisioner. java:594) at edu.internet2.middleware.grouper.pspng.LdapProvisioner.perfo rmLdapAdd(LdapProvisioner.java :630) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:269) at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner. createGroup(LdapGroupProvision er.java:54) at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGr oupCache(Provisioner.java:715) at edu.internet2.middleware.grouper.pspng.Provisioner.startProv isioningBatch(Provisioner.java :468) at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1285) ... 7 moreDid not get all the way through the batch! -1 != 285001at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 427) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573) 2017-02-23 13:09:52,189: [DefaultQuartzScheduler_Worker-2] ERROR GrouperLoaderJob.execute(321) - - Error running up job java.lang.RuntimeException: Error in loader job: null, check logs: Error: java.lang.RuntimeException: No entries provisioned. Batch-Start failed: Unable to find existing OU nor create new one (Problem during LDAP read: javax.naming.InvalidNameException: _Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu: [LDAP: error code 34 - Invalid DN]; remaining name '_Test ,ou=pspngtest,ou=app,ou=nyu,ou =Groups,o=nyu.edu,o=nyu') at edu.internet2.middleware.grouper.pspng.Provisioner.provision BatchOfItems(Provisioner.java: 1290) at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerS him.processChangeLogEntries(Ps pChangelogConsumerShim.java:71 ) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.p rocessRecords(ChangeLogHelper. java:245) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderTyp e$4.runJob(GrouperLoaderType.j ava:652) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .runJob(GrouperLoaderJob.java: 418) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob .execute(GrouperLoaderJob.java :318) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThr eadPool.java:573)
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/01/2017
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert, 08/02/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/02/2017
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert, 08/09/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/10/2017
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert, 08/10/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/10/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/17/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/10/2017
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert, 08/10/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/10/2017
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert, 08/09/2017
- Re: [grouper-users] Re: PSPNG issue, Julio Macavilca, 08/02/2017
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert, 08/02/2017
Archive powered by MHonArc 2.6.19.