Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2796

Directory replication fails when duplicate groups are encountered

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • None
    • 2.4
    • Directory - LDAP
    • None
    • Microsoft Active Directory

      As anyone would expect AD administration is not the same as CROWD and changing things in AD is almost always a very bureaucratic process that takes many days.

      Duplicate groups should only give warnings and not stopping the synctronization. In addition to that, the number of groups with duplicate names cannot be detected at once... so if you have 100 duplicates and it takes 7 days (optimistic) to solve a duplicate group naming issue in corporate Active Directory, it could easily take years to setup Crowd.

      012-03-23 15:03:05,013 scheduler_Worker-0 INFO [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned and compared [ 13533 ] groups for update in DB cache in [ 356ms ]
      2012-03-23 15:03:05,051 scheduler_Worker-0 INFO [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] synchronized [ 13533 ] groups in [ 394ms ]
      2012-03-23 15:03:05,414 scheduler_Worker-0 INFO [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned and compared [ 13533 ] groups for delete in DB cache in [ 363ms ]
      2012-03-23 15:03:05,453 scheduler_Worker-0 INFO [atlassian.crowd.directory.DbCachingRemoteDirectory] failed synchronisation complete in [ 23868ms ]
      2012-03-23 15:03:05,467 scheduler_Worker-0 ERROR [atlassian.crowd.directory.DbCachingDirectoryPoller] Error occurred while refreshing the cache for directory [ 32770 ].
      com.atlassian.crowd.exception.OperationFailedException: Unable to synchronise directory: duplicate groups with name '#SE - EMEA'
      at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseMemberships(AbstractCacheRefresher.java:133)
      at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:44)
      at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAll(UsnChangedCacheRefresher.java:223)
      at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:621)
      at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:63)
      at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50)
      at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobBean.executeInternal(DirectoryPollerJobBean.java:29)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

            [CWD-2796] Directory replication fails when duplicate groups are encountered

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1509920 ] New: JAC Bug Workflow v3 [ 3365575 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392463 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1509920 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 377623 ] New: Simplified Crowd Development Workflow v2 [ 1392463 ]
            Yilin (Inactive) made changes -
            Reporter Original: Sorin Sbarnea [ 5fa3fdf29175 ] New: Sorin Sbarnea (Citrix) [ 73f0b2e75f82 ]
            joe made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Verified [ 10005 ] New: Resolved [ 5 ]
            joe made changes -
            Link New: This issue duplicates CWD-2504 [ CWD-2504 ]
            Foong (Inactive) made changes -
            Status Original: Open [ 1 ] New: Verified [ 10005 ]
            Sorin Sbarnea created issue -

              Unassigned Unassigned
              73f0b2e75f82 Sorin Sbarnea (Citrix)
              Affected customers:
              5 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: