Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2348

Slow evaluations for GroupSelectionExpression in initialize Provisioner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • provisioning
    • None

    Description

      We are on p11. When initialize a provisioner, it loads all groups that have provision_to attribute. We have about 77K groups to load which takes about 20 mins.

      Logs like:
      2019-10-04 10:39:31,383: [DefaultQuartzScheduler_Worker-1] INFO ProvisionerFactory CLog/pspng_activedirectory/ - - Constructing provisioner: pspng_activedirectory
      2019-10-04 10:39:31,473: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - pspng_activedirectory: Compiling a list of all groups selected for provisioning
      2019-10-04 10:39:31,473: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - Looking for folders that match attribute etc:pspng:provision_to=pspng_activedirectory
      2019-10-04 10:39:31,508: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - Looking for groups that match attribute etc:pspng:provision_to=pspng_activedirectory
      2019-10-04 10:39:51,594: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - pspng_activedirectory: There are 0 folders that match etc:pspng:provision_to attribute
      2019-10-04 10:39:51,595: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - pspng_activedirectory: There are 77632 groups that match etc:pspng:provision_to attribute
      2019-10-04 10:39:51,619: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - Looking for folders that match attribute etc:pspng:do_not_provision_to=pspng_activedirectory
      2019-10-04 10:39:51,637: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - Looking for groups that match attribute etc:pspng:do_not_provision_to=pspng_activedirectory
      2019-10-04 10:39:51,649: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - pspng_activedirectory: There are 0 folders that match etc:pspng:do_not_provision_to attribute
      2019-10-04 10:39:51,650: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - pspng_activedirectory: There are 0 groups that match etc:pspng:do_not_provision_to attribute

      For each group:
      2019-10-04 10:39:51,689: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - Evaluated GroupSelection Jexl expression: 'true'
      2019-10-04 10:39:51,690: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - Evaluated entire GroupSelection Jexl expression: 'true'
      2019-10-04 10:39:51,692: [DefaultQuartzScheduler_Worker-1] DEBUG pspng_activedirectory CLog/pspng_activedirectory/ - - pspng_activedirectory: Group eresearch.auckland.ac.nz:resart201800007_t/#725887(Existing) matches group-selection filter.

      Attachments

        Issue Links

          Activity

            People

              bert.beelindgren@at.internet2.edu Bert Bee-Lindgren (gatech.edu)
              wenlai.wang@at.internet2.edu Wenlai Wang
              Bill Thompson (lafayette.edu), Chris Hyzer (upenn.edu), Jeffrey Williams (uncg.edu)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: