Skip to Content.
Sympa Menu

grouper-users - [grouper-users] PSPNG ChangeLog issue where group is delete, or re-named

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] PSPNG ChangeLog issue where group is delete, or re-named


Chronological Thread 
  • From: Sean Mason <>
  • To: "" <>
  • Subject: [grouper-users] PSPNG ChangeLog issue where group is delete, or re-named
  • Date: Mon, 23 Jan 2017 16:28:03 +0000
  • Accept-language: en-CA, en-US
  • Ironport-phdr: 9a23:JIcGvhYULok6mads/CSE9V3/LSx+4OfEezUN459isYplN5qZrs27bnLW6fgltlLVR4KTs6sC0LuK9fyxEjxRqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd9IRmsogjcssYajIhmJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lKJVrgy8qRxjzYDaY4CVO+Zxca7GZ9wWWW5MU9xNWyBdHI+xaZYEAeobPeZfqonwv0YAogWkCgmqGejhzSVHhmTx3a08zu8sFhrG0xI6ENIIqnjUqc/6NLwVUeCz16TI0DvCYOlK2Tjj8ojIdhchofaWUb1sa8Xc0E8iHB7LgFWXrIzqJTKV1uIVvmiU9epgUv+vi3Y5pAFruDSg3N8sipHRioIXzVDL7j95wJszJd2jSE50f9qkEJ9KuyGAKot2RMUvSHxrtiYi0rAKpIC3cSwQxJkjxRPTceGLf5aL7x75SuqcLzV1iGp4dL6hgxu+60ytx+/mWsWq31tHoTBJn9nDu3wVyhDf9MyKRuF580qjwzqDyg/e5+VeLUwpiabWKJgsyaMqmJUJq0TMBCr2lV32jKCIckUk/fCl6+H9bbXnop+TK490igLnPqQrhsCyAf40MhUAXmeB5eSzyqfj/Un+QLVNlPE5jrPWvIjbJcQduKG5HxdY3ps95xu7FTur1NYVkWMaIF5bex+LlZblNl/MLfzgCPewmVWskDNlx/DcOb3hB43ALmPdn7j7e7Zx8UtcxxAozdBY4ZJZEawBIfzpVU/tqtPYFBs5Mwuzw+r9FNpyzJsSWXiTDa+BLKPSrViI6/ogI+mWY48VpS79JOY/5/L3kH85gkESfbOy3ZYMbHC4H+9mI1mCYXbymNsBEGEKvhYgQ+zwjl2NTyJTa2ioU60i+z47FdHuMYCWDI+3h6GZ0T3+A4ZbfHtuC1aQHG3uepneHfoAdWjadsB7lSEcWKLkVpQszwqGtQnmxqBhI/aOvCAUqMSw+sJy4rjomBg0vRl9FMObmzWWQmhy2GYBXDgw9L1gqFBw0FOE1u5ziqoLRpRo+/pVX1JiZtbnxOtgBoWqVw==

Hi There,

 

I have a pilot instance of Grouper running, with PSPNG provisioning group memberships to active directory for an academic department.

 

I’m having an issue with the ChangeLog consumer tripping over groups that were created, then deleted or renamed. 

When the consumer gets to the transaction in the log, the result is:

 

2017-01-23 11:02:04,488: [DefaultQuartzScheduler_Worker-4] INFO  LdapGroupProvisioner.createGroup(251) -  - Creating LDAP group for GrouperGroup: null

 

(which makes sense to me, since the group no longer exists). 

However, this throws a wrench in the JEXL evaluation:

 

2017-01-23 11:02:04,495: [DefaultQuartzScheduler_Worker-4] ERROR Provisioner.evaluateJexlExpression(523) -  - Jexl _expression_ dn: cn=${grouperUtil.extensionFromName(name)}

sAMAccountName: ${grouperUtil.extensionFromName(name)}

cn: ${grouperUtil.extensionFromName(name)}

objectclass: group could not be evaluated for subject 'null/null' and group 'null/null' which used variableMap '{userSearchBaseDn=OU=people,DC=…, provisionerType=LdapGroupProvisioner, groupCreationBaseDn=OU=Grouper,OU=…, utils=edu.internet2.middleware.grouper.pspng.PspJexlUtils@193221e, provisionerName=pspng_nexus, groupSearchBaseDn=OU=Grouper,…'

2017-01-23 11:02:04,497: [DefaultQuartzScheduler_Worker-4] ERROR ChangeLogHelper.processRecords(255) -  - Error

java.lang.NullPointerException

        at java.io.StringReader.<init>(StringReader.java:50)

        at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner.createGroup(LdapGroupProvisioner.java:258)

        at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner.createGroup(LdapGroupProvisioner.java:54)

        at edu.internet2.middleware.grouper.pspng.Provisioner.provisionItem(Provisioner.java:887)

        at edu.internet2.middleware.grouper.pspng.Provisioner.provisionBatchOfItems(Provisioner.java:1299)

        at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim.processChangeLogEntries(PspChangelogConsumerShim.java:71)

        at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:245)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:629)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:416)

        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(SimpleThreadPool.java:573)

 

Then:

2017-01-23 11:02:04,501: [DefaultQuartzScheduler_Worker-4] ERROR ChangeLogHelper.processRecords(286) -  - Did not get all the way through the batch! -1 != 2884196

 

Which puts us in a state where the same transactions are tried again and again without moving forward.  I tried setting “retryOnError” to false, but that did not appear to change anything.  I suspect that setting may only affect “catchable” errors?  In any case, even if we get past this transaction, there are a number right after representing memberships being added to the group that could also be tried, and will likely fail…

 

Have I missed a configuration that will allow the PSPNG to skip over these types of entries, or at the very least, move on from this error?

I am on the latest patches of both the API, and PSPNG, and willing to experiment to get this going.

 

Thanks,

Sean.




Archive powered by MHonArc 2.6.19.

Top of Page