Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] problem getting PSPNG to select a group to provision

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] problem getting PSPNG to select a group to provision


Chronological Thread 
  • From: "Guenther, Dean R." <>
  • To: "Hyzer, Chris" <>, "Gettes, Michael" <>, "" <>
  • Subject: Re: [grouper-users] problem getting PSPNG to select a group to provision
  • Date: Thu, 31 May 2018 15:15:43 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:CBuzRhzjjM75xDnXCy+O+j09IxM/srCxBDY+r6Qd0uoRKfad9pjvdHbS+e9qxAeQG9mDtrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYwhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYP+d8cKzAZ9MXXWpPUNhMWSxdDI2ybIUPAOgPMuZZs4byqEADrQGiCQmpHu7j1iVFi33w0KYn0+ohCwbG3Ak4Et4AsXrUscv6NKEOUeC10qbI1y3PZO5Y1zjj8ofIdA0qr+2WUb5+bMHczkYvFx7bgVWWtYzlPy2a1v4WvmmV9OpgSPijhHA6pAFsuzWiwNonhIfOhoIQ0F/E9CN5zZ40Jd2+VE50f8SkEJ1OuCGGKYd6WN0tTHx1uCoi0r0Go5m7fC8EyJQ/wB7favqHc5SS7h3/U+aRJDF1j29mdrKnnxu+7FSsx+LmWsS70ltGtCVInsXWun0CyxDf8smKR/9n8ku82DuC1hrf5+5FLEwuiKbWJYItzqY+lpUNsknPAir7lUD5gaKUdkgp/+il5uDnb7r7o5KROYt5hRzkPakrm8GzHeo1PwcIUmOG4+qzzqfj8lf8QLhSjv05jK3ZsJfCKMoDuqO3BBNZ34g65xuhFjmqzc0UnX4cI11bYh6HiJXpO03VL/D/EPe/hUmjnC1zx/DcOb3hHovCIWTfkLfgerZ97VRQyA0uzdBD45JUDbYBIPHpVkDts9zYCwc1Mw2yw+n5FNVwzp4SVX6AD6ODP67fs0WE6+0zL+WWa4IZpC7xK/0/6P7viX85l0Udfa6s3ZYPZ3C4A+ppI0OFYXrsnNgBC3wHvwQlTOz3klGNTyNcZ2uqU6Im+j47EJ6mDZvERo21j7yBxiC7HoBOZm9YEFCACGrod56aVPcWcyKfOcthkj0fVbi9UI8tywuitA78y7p7MOXU4CsYuoz/1NRr/eHciww99SEnR/iahiutXnN5hCdAbD8s3bs16Rh4wVeSw6Viq/1DHppO//5PVEE3OYOKi6QwJN3uRg/aOp+sSV2mS9iiS3llQd8t39IVS1tzH5Ovgg2Vm2LgDKUSiqSGHtkp6a/GxFDwIdpw0XDLyPNnglU7CIMbOnehm7Zy7U3OHIPTiG2Ykbqnb6IRwHSL+WuemzmgpkZdBURfTKjDQXASfA+egdnw4Av4CfXmXbs6Pw1dycOYArRRd5vkgUgQF6SrA8jXf2/kwzT4Ph2P3L7ZKdOyI2g=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hello Chris, Michael,

thanks for the help, I had read both docs, but not carefully enough. I missed the step of adding “pspng_activedirectory” to the “Assignment Values” under “view or assign attributes”. Adding that and it happily found a group to provision. I apologize for not carefully following your instructions. – Dean

 

 

 

 

Dean Guenther                          
Washington State University    Phone:    509 335-0433
Pullman, WA. 99164-1222        fax:      509 335-0540
Identity and Access Management Manager

 

 

From: <> on behalf of "Hyzer, Chris" <>
Date: Thursday, May 31, 2018 at 6:36 AM
To: "Gettes, Michael" <>, "" <>
Subject: RE: [grouper-users] problem getting PSPNG to select a group to provision

 

The extension (ID) is “etc” and the display extension is “Grouper Administration”, so that isn’t the problem.  If you go to the folder and view more info, you will see that.

 

cid:image002.png@01D3F8C2.C5927510

 

Have you seen this?

 

https://spaces.internet2.edu/display/Grouper/PSPNG+at+Penn

 

cid:image001.png@01D3F8C2.A40D3830

 

From: [mailto:] On Behalf Of Gettes, Michael
Sent: Wednesday, May 30, 2018 7:39 PM
To:
Subject: Re: [grouper-users] problem getting PSPNG to select a group to provision

 

Hi Dean,

 

I see 2 issues here.  It would appear you have given a Folder name: Grouper Administration to the folder with a folder id: etc.  So the Grouper Administration showing for the attribute name is just showing that Folder name.  If you go to that folder, which is really the etc folder, and change the Folder name to ‘etc’ you will see the more normal/documented behavior of things.

 

The 2nd thing is - it’s unclear to me from what you are showing that you have assigned the value of pspng_activedirectory (the PSPNG provisioner name) to any folder or group so it will be selected.  You do this in the lite UI.  It must be spelled the same with the same case as what you defined for PSPNG in grouper-loader.properties.  If you assign pspng_activedirectory to a folder then all groups below that folder will be provisioned to pspng_activedirectory.

 

See "How do I assign PSPNG attribute definitions?” in https://spaces.internet2.edu/display/Grouper/Grouper+Provisioning%3A+PSPNG

 

I hope this helps.

 

/mrg




On May 30, 2018, at 5:36 PM, Guenther, Dean R. <> wrote:

 

Hello folks,

I’m having trouble getting pspng to select a group to provision. It seems to think there are no groups to provision, even though I have enabled one group. When I ran PSPNG the first time these were auto-created:

 

2018-05-22:2018-05-22 16:10:09,423: [DefaultQuartzScheduler_Worker-2] WARN  GrouperCheckConfig.checkAttribute(1726) -  - auto-created attributeDefName: etc:pspng:provision_to

2018-05-22:2018-05-22 16:10:09,479: [DefaultQuartzScheduler_Worker-2] WARN  GrouperCheckConfig.checkAttribute(1726) -  - auto-created attributeDefName: etc:pspng:do_not_provision_to

 

And when I try and provision with pspng it says:

 

2018-05-25 16:26:00,073: [DefaultQuartzScheduler_Worker-3] DEBUG Provisioner.getAllGroupsForProvisioner(1252) -  - pspng_activedirectory: There are 0 groups that match etc:pspng:provision_to attribute

 

 

But I have created one test group test:ref:employee:hourly and enabled it for the loader. After enabling, the attributes look like this in LightUi:

 

Filter:

owner type = Group

attribute definition = etc:pspng:provision_to_def

attribute name = Grouper Administration:pspng:provision_to

owner group = test:ref:employee:hourly

enabled/disabled = Enabled only

 

Attribute Assignments:

owner group = hourly

attribute name =  provision_to

enabled? = enabled

assignment values = <null>

attribute definition = provision_to_def

assignment UUID = 30b45…..

 

 

But one peculiar thing is when I went to the LightUi to enable my test group, I successfully entered “etc:pspng:provision_to_def” for the Attribute definition. But when I entered “etc:pspng:provision_to” for the attribute name, instead in the pick list it showed as “Grouper Administration:pspng:provision_to”. Which is different than the “etc:pspng:provision_to” that was indicated from the “auto-created” above. Perhaps this is because I asked the original Grouper install process to include the test data?

 

I thought maybe if I changed the groupSelectionExpression from “etc:pspng:provision_to” to “Grouper Administration:pspng:provision_to” that maybe it would take care of it. It didn’t help, it still says zero groups that match. This was the override:

 

changeLog.consumer.pspng_activedirectory.groupSelectionExpression = ${utils.containedWithin(provisionerName, stemAttributes['Grouper Administration:pspng:provision_to'], groupAttributes['Grouper Administration:pspng:provision_to']) && !utils.containedWithin(provisionerName, stemAttributes['Grouper Administration:pspng:do_not_provision_to'], groupAttributes['Grouper Administration:pspng:do_not_provision_to'])}

 

 

But that’s probably not the right approach anyway. Should I be somehow changing the “Grouper Adminitration:pspng:provision_to” tag to “etc:pspng:provision_to”? How do I get my test group to show up in provision_to?

 

I’m not certain what else I should include from the log. I can see that there are 7,000+ users in the test group “hourly” built by the loader.

 

 startTime: Fri May 25 08:02:20 PDT 2018, jobName: CHANGE_LOG_consumer_pspng_activedirectory, dryRun: false, quartzCron: 15 * * * * ?, status: SUCCESS, 

2018-05-25 08:02:21,057: [DefaultQuartzScheduler_Worker-3] DEBUG ProvisionerConfiguration.readConfiguration(177) -  - Provisioner pspng_activedirectory - Setting groupSelectionExpression to ${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'])}

2018-05-25 08:02:21,058: [DefaultQuartzScheduler_Worker-3] DEBUG ProvisionerConfiguration.readConfiguration(196) -  - Provisioner pspng_activedirectory - Setting attributesUsedInGroupSelectionExpression to [etc:pspng:provision_to, etc:pspng:do_not_provision_to]

2018-05-25 08:02:21,058: [DefaultQuartzScheduler_Worker-3] DEBUG ProvisionerConfiguration.readConfiguration(200) -  - Provisioner pspng_activedirectory - Setting attributesUsedInGroupSelectionExpressionAreComparedToProvisionerName to true

 

Thanks – Dean

 

 

 

Dean Guenther                          
Washington State University    Phone:    509 335-0433
Pullman, WA. 99164-1222        fax:      509 335-0540
Identity and Access Management Manager

 




Archive powered by MHonArc 2.6.19.

Top of Page