Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Having PSPNG Oddities after update to patch 8

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Having PSPNG Oddities after update to patch 8


Chronological Thread 
  • From: "Crawford, Jeffrey" <>
  • To: "Hyzer, Chris" <>, Grouper Users <>
  • Subject: Re: [grouper-users] Having PSPNG Oddities after update to patch 8
  • Date: Tue, 13 Aug 2019 14:51:11 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.ucla.edu; dmarc=pass action=none header.from=it.ucla.edu; dkim=pass header.d=it.ucla.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rbOZFbkkLWf4Ux1Wq7sVAc43KnOtpC15dt/sQfHDgaE=; b=dxNG9jZA0LkQ0AYx2Nctyx/QRIYmm/FrVJd2SrIOCATFOg8SIQEeIS/dBfqNtPJicbXkRMb2ZTTfnzJlYs4ncakZ/uCI8shP7V2uZtuO7waRnvmSpOTJ56RZ+2mM2E0FVu1GWeWSJIG5Njvf4SNnYVic5eECND30dgqfQvvPYuVmdV1jwlowAgzLoho0XHgAQ5AX7DNdJRGVOgo1XOGTZTyoUbJ7L+tjkhlJciwvGoTsY02B6A+fPSPLRzkWs2D6bAdvpNRPz1MLdqllUnJPv4u1Y/bx+RviLv2OfvB1j+vpQMR2hVpDGUNwcO3KhcmpNHWXRHC5Tz2dogrC5nV1DQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nE9GARGwIZ+gBsW83Ct6XobutcZK0b/QyOU560jqd8678XR9l9Z/JrLl/BbDITicaXHtr8f9bvt4QYRMYRU5YAZkrmsPoGSuNa+xS2NPPmw2dZmG7fLrZxmF0xU1NCRnUJIiTlwXqFemf3GI4ZIUbPC9hAZtC/FkPDHxED+wQonZsAY3czkCKbliOef251Jki2P7E2k+bOyZ1J5uku7b/FHivib6LCRRNIExT4cuUwDWVPG3Nntrg2pUw3urfpKG+AkEGG+Y5IvTgXUwbTs3xLjFQ33L21zl5t7GL1FUw2QDHGB6i4volBOnn/7EYBAWod41I1LCRyOOSlH54fe0qA==

Okay please let me know, we are intending to push the tested updates to production on Aug 27, and I need to know if we need to reschedule. I probably need at least a few days to test.

 

Thanks for all the hard work!!!

 

From: "Hyzer, Chris" <>
Date: Monday, August 12, 2019 at 6:29 PM
To: "Crawford, Jeffrey" <>, Grouper Users <>
Subject: Re: Having PSPNG Oddities after update to patch 8

 

I think we have another patch to release ASAP which might address it,  let me confirm with bert

 

Chris Hyzer

Application Architect

PennGroups, Two-step, NGSS Security


From: <> on behalf of Crawford, Jeffrey <>
Sent: Monday, August 12, 2019 6:08:42 PM
To: Grouper Users <>
Subject: [grouper-users] Having PSPNG Oddities after update to patch 8

 

Hi,

 

We’re seeing some strange behavior in the pspng fullSyncer I don’t remember seeing this before we went from patch 3 to patch 8. The error message is:

2019-08-12 14:55:00,578: [DefaultQuartzScheduler_Worker-7] DEBUG GrouperLoaderType$5.runJob(653) -  - operation: runJob, jobName: CHANGE_LOG_consumer_pspng_zoom_pro, consumerName: pspng_zoom_pro, className: edu.internet2.middleware.grouper.pspng.PspChangel

ogConsumerShim, class found: true, instance created: true, success: true, recordsProcessed: 0

2019-08-12 14:55:00,578: [DefaultQuartzScheduler_Worker-7] ERROR GrouperLoaderJob.runJob(485) -  - Error on job: CHANGE_LOG_consumer_pspng_zoom_pro

java.lang.RuntimeException: Error in loader job: null, check logs: Error: java.lang.RuntimeException: No entries provisioned. Batch-filtering failed: Jexl evaluation failed: variable 'stemAttributes' is not defined in script: 'utils.containedWithin(provisionerName, stemAttributes['etc:pspng:provision_to'], groupAttributes['etc:pspng:provision_to']) && !utils.containedWithin(provisionerName, stemAttributes['etc:pspng:do_not_provision_to'], groupAttributes['etc:pspng:do_not_provision_to'])'

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

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

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

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$5.runJob(GrouperLoaderType.java:638)

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

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)

        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: Jexl evaluation failed: variable 'stemAttributes' is not defined in script: 'utils.containedWithin(provisionerName, stemAttributes['etc:pspng:provision_to'], groupAttributes['etc:pspng:provision_to']) && !utils.containedWithin(provisionerName, stemAttributes['etc:pspng:do_not_provision_to'], groupAttributes['etc:pspng:do_not_provision_to'])'

        at edu.internet2.middleware.grouper.pspng.Provisioner.evaluateJexlExpression(Provisioner.java:788)

        at edu.internet2.middleware.grouper.pspng.Provisioner.shouldGroupBeProvisioned(Provisioner.java:1725)

        at edu.internet2.middleware.grouper.pspng.Provisioner.filterWorkItems(Provisioner.java:460)

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

        ... 7 more

Did not get all the way through the batch! -1 != 8221922

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

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

 

 

However I think the Jexl part of the message is a red herring as this is the configuration for that pspng provisioner. There is no Jexl involved:

changeLog.consumer.pspng_zoom_pro.class = edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim

changeLog.consumer.pspng_zoom_pro.type = edu.internet2.middleware.grouper.pspng.LdapAttributeProvisioner

changeLog.consumer.pspng_zoom_pro.quartzCron = 0 * * * * ?

changeLog.consumer.pspng_zoom_pro.retryOnError = true

changeLog.consumer.pspng_zoom_pro.ldapPoolName = personLdap

changeLog.consumer.pspng_zoom_pro.provisionedAttributeName = eduPersonEntitlement

changeLog.consumer.pspng_zoom_pro.provisionedAttributeValueFormat = urn:mace:ucla.edu:entitlement:zoom:zoom-pro

changeLog.consumer.pspng_zoom_pro.userSearchBaseDn = ou=people,dc=edtest,dc=ucla,dc=edu

changeLog.consumer.pspng_zoom_pro.userSearchFilter = uclaPPID=${subject.id}

changeLog.consumer.pspng_zoom_pro.userSearchAttributes = dn,cn,uid,mail,samAccountName,uidNumber,objectClass,uclaPPID

 

The provisionedAttributeValueFormat is a static string

 

Thanks

Jeffrey C.




Archive powered by MHonArc 2.6.19.

Top of Page