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

In provisioning, if not retrieving all groups at once in full sync, group attribute updates not happening (e.g. description)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.5.0, 4.7.1, 5.4.1
    • 4.5.5
    • provisioning
    • None

    Description

      When provisioning to Azure, it's not making target changes such as display name or description. In this example, I changed "Description 1" to "Description 2". The read from Azure does get the Target provisioning groups value of "Description 1", the Grouper provisioning groups does calculate the new value of "Description 2", but no attempt to update Azure was made.

      (vwtynih9): Grouper provisioning groups (1):
      (vwtynih9): 0. Group(attr[description]: "Description 2", attr[displayName]: "test:TEST 20230914A2", attr[id]: "29a91a7964eb451481477896e6f8893f", attr[idIndex]: 1000039, attr[md_grouper_azureGroupType]: "security", attr[name]: "test:test20230914A", recalcObject: false, recalcMships: false)
      (vwtynih9): Grouper provisioning entities (0)
      (vwtynih9): Grouper provisioning memberships (0)
      (vwtynih9): Sync objects groups (1):
      (vwtynih9): 0. GcGrouperSyncGroup(groupAttributeValueCache0='5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7', groupAttributeValueCache1='29a91a7964eb451481477896e6f8893f', groupId='29a91a7964eb451481477896e6f8893f', groupIdIndex='1000039', groupName='test:test20230914A', id='e6015de074044d0da91fc9c1db429248', inTargetDb='T', inTargetInsertOrExistsDb='T', inTargetStart='2023-09-14 17:23:05.774', metadataJson='{"md_grouper_azureGroupType":"security"}', provisionableDb='T', provisionableStart='2023-09-14 17:23:04.53')
      (vwtynih9): Sync objects members (0)
      (vwtynih9): Sync objects memberships (0)
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,118: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'translateGrouperGroupsToTarget' type 'fullProvisionFull': {state=translateGrouperGroupsEntitiesToTarget}
      (vwtynih9): Grouper target groups (1):
      (vwtynih9): 0. Group(attr[description]: "Description 2", attr[displayName]: "test / test20230914A", attr[groupOwners]: "https://graph.microsoft.com/v1.0/servicePrincipals(appId='db5ee87b-a33b-45d9-b023-c679cfd1a504')", attr[id]: "5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7", attr[mailNickname]: "29a91a7964eb451481477896e6f8893f", recalcObject: false, recalcMships: false)
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,119: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'matchingIdGrouperGroupsEntities' type 'fullProvisionFull': {state=matchingIdGrouperGroupsEntities}
      (vwtynih9): Grouper target groups (1):
      (vwtynih9): 0. Group(matchingAttrs: LinkedHashSet(2): [0]: [mailNickname, val: 29a91a7964eb451481477896e6f8893f, compareVal: 29a91a7964eb451481477896e6f8893f, currentValue: true], [1]: [id, val: 5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7, compareVal: 5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7, currentValue: true], attr[description]: "Description 2", attr[displayName]: "test / test20230914A", attr[groupOwners]: "https://graph.microsoft.com/v1.0/servicePrincipals(appId='db5ee87b-a33b-45d9-b023-c679cfd1a504')", attr[id]: "5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7", attr[mailNickname]: "29a91a7964eb451481477896e6f8893f", recalcObject: false, recalcMships: false)
      (vwtynih9): Grouper target entities (0)
      grouper;grouper_error.log;dev;nothing;2023-09-14T17:24:40,286: [DefaultQuartzScheduler_Worker-10] INFO  GrouperProvisioningLogCommands.infoLog(38) - [] - Command log for provisioner 'azureGroups' - 'vwtynih9', retrieveGroups: HTTP method: post
      HTTP URL: https://graph.microsoft.com/v1.0/$batch/
      HTTP request header: Authorization: *******
      HTTP request header: Content-Type: application/json
      HTTP request body: {"requests":[{"id":"0","url":"/groups?$filter=mailNickname%20eq%20'29a91a7964eb451481477896e6f8893f'&$select=isAssignableToRole,description,displayName,groupTypes,id,mailEnabled,mailNickname,securityEnabled,visibility,resourceBehaviorOptions,resourceProvisioningOptions","method":"GET"}]}
      HTTP response code: 200, took ms: 167
      HTTP response header: Transfer-Encoding: chunked
      HTTP response header: Strict-Transport-Security: max-age=31536000
      HTTP response header: x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East US 2","Slice":"E","Ring":"5","ScaleUnit":"003","RoleInstance":"BN5PEPF0000E16C"}}
      HTTP response header: client-request-id: 40c1bda9-b967-49dd-b0c8-8f37b6abce0f
      HTTP response header: Vary: Accept-Encoding
      HTTP response header: request-id: 40c1bda9-b967-49dd-b0c8-8f37b6abce0f
      HTTP response header: Date: Thu, 14 Sep 2023 21:24:39 GMT
      HTTP response header: Content-Type: application/json
      {"responses": [{"id":"0","status":200,"headers":{"Cache-Control":"no-cache","x-ms-resource-unit":"1","OData-Version":"4.0","Content-Type":"application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8"},"body":{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#groups(isAssignableToRole,description,displayName,groupTypes,id,mailEnabled,mailNickname,securityEnabled,visibility,resourceBehaviorOptions,resourceProvisioningOptions)","value":[{"isAssignableToRole":null,"description":"Description 1","displayName":"test / test20230914A","groupTypes":[],"id":"5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7","mailEnabled":false,"mailNickname":"29a91a7964eb451481477896e6f8893f","securityEnabled":true,"visibility":null,"resourceBehaviorOptions":[],"resourceProvisioningOptions":[]}]}}]}
       
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,287: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'retrieveIndividualTargetGroupsAndEntities' type 'fullProvisionFull': {state=retrieveIndividualGroupsIfNeeded, duplicateTargetGroups=1, targetGroupsRetrieved=1, originalTargetGroupsRetrieved=1, originalTargetTotalCount=1, retrieveTargetGroupsAndEntitiesMillis=168}
      (vwtynih9): Target provisioning groups (1):
      (vwtynih9): 0. Group(matchingAttrs: LinkedHashSet(2): [0]: [mailNickname, val: 29a91a7964eb451481477896e6f8893f, compareVal: 29a91a7964eb451481477896e6f8893f, currentValue: true], [1]: [id, val: 5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7, compareVal: 5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7, currentValue: true], attr[description]: "Description 1", attr[displayName]: "test / test20230914A", attr[groupType]: "security", attr[id]: "5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7", attr[mailNickname]: "29a91a7964eb451481477896e6f8893f")
      (vwtynih9): Target provisioning entities (0)
      grouper;grouper_error.log;dev;nothing;2023-09-14T17:24:40,462: [DefaultQuartzScheduler_Worker-10] INFO  GrouperProvisioningLogCommands.infoLog(38) - [] - Command log for provisioner 'azureGroups' - 'vwtynih9', retrieveMembershipsByGroup: HTTP method: get
      HTTP URL: https://graph.microsoft.com/v1.0/groups/5db9e4eb-c41b-4df5-8147-21b7d2b9e1a7/members?$select=id&$top=999
      HTTP request header: Authorization: *******
      HTTP request header: Content-Type: application/json
      HTTP response code: 200, took ms: 175
      HTTP response header: Transfer-Encoding: chunked
      HTTP response header: Strict-Transport-Security: max-age=31536000
      HTTP response header: Cache-Control: no-cache
      HTTP response header: x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East US 2","Slice":"E","Ring":"5","ScaleUnit":"003","RoleInstance":"BN5PEPF0000E15D"}}
      HTTP response header: client-request-id: 602e799c-ce76-46a7-a38c-0b8b2b4fccff
      HTTP response header: Vary: Accept-Encoding
      HTTP response header: OData-Version: 4.0
      HTTP response header: x-ms-resource-unit: 2
      HTTP response header: request-id: 602e799c-ce76-46a7-a38c-0b8b2b4fccff
      HTTP response header: Date: Thu, 14 Sep 2023 21:24:39 GMT
      HTTP response header: Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
      {"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects(id)","value":[]}
       
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,463: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'retrieveIndividualTargetMemberships' type 'fullProvisionFull': {state=retrieveIndividualMembershipsIfNeeded, provisioningGroupWrappersWithMatch=1, loadDataToGrouper_millis=0, retrieveTargetMembershipsMillis=176}
      (vwtynih9): Target provisioning memberships (0)
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,463: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'matchingIdGrouperMemberships' type 'fullProvisionFull': {state=matchingIdGrouperMemberships}
      (vwtynih9): Grouper target memberships (0)
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,463: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'compareTargetObjects' type 'fullProvisionFull': {state=compareTargetObjects}
      (vwtynih9): Target inserts groups (0)
      (vwtynih9): Target inserts entities (0)
      (vwtynih9): Target inserts memberships (0)
      (vwtynih9): Target updates groups (0)
      (vwtynih9): Target updates entities (0)
      (vwtynih9): Target updates memberships (0)
      (vwtynih9): Target deletes groups (0)
      (vwtynih9): Target deletes entities (0)
      (vwtynih9): Target deletes memberships (0)
      (vwtynih9): Target replaces groups (0)
      grouper;provisioning.log;dev;nothing;2023-09-14T17:24:40,479: [DefaultQuartzScheduler_Worker-10] DEBUG GrouperProvisioningObjectLog.debug(82) - [] - Provisioner 'azureGroups' (vwtynih9) state 'end' type 'fullProvisionFull': {state=sendChangesToTarget, syncObjectStoreCount=2, finalLog=true, queryCount=19, tookMillis=1154, took=00:00:01.154}
      grouper;grouperDaemon.log;dev;nothing;2023-09-14T17:24:50,022: [DefaultQuartzScheduler_Worker-9] DEBUG GrouperLoaderLog.logDebug(45) - [] - logType: overallLog, overallId: VWTYNIIC, startTime: Thu Sep 14 17:24:50 EDT 2023, jobName: CHANGE_LOG_changeLogTempToChangeLog, dryRun: false, quartzCron: 50 * * * * ?, status: SUCCESS, jobType: CHANGE_LOG, host: 65220074edf0, deleteCount: 0, insertCount: 0, updateCount: 0, totalCount: 3, millisGetData: null, millisLoadData: null, threadId: 61, elapsed: 13 ms
      

       

       

      Attachments

        Activity

          People

            vivek.sachdeva@at.internet2.edu Vivek Sachdeva (google.com)
            chad.redman.3@at.internet2.edu Chad Redman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: