Imports fail due to "ConnectAddonInstallException: Failed to create Connect user remotely" - "No default group for XXX"

XMLWordPrintable

    • 1
    • Severity 2 - Major

      The import will fail. The following (or similar) exception will be found in the logs:

      					
      com.atlassian.plugin.connect.api.lifecycle.ConnectAddonInstallException: Failed to create Connect user remotely: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"404","detail":"No default group for JIRA Software","errorType":"NoDefaultGroup","message":"No default group for JIRA Software","data":"JIRA Software"}
      	at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.provisionAddonUserAndScopes(ConnectAddonManager.java:691)
      	at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.provisionUserIfNecessary(ConnectAddonManager.java:287)
      	at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.installConnectAddon(ConnectAddonManager.java:199)
      	at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonInstaller.install(ConnectAddonInstaller.java:210)
      	at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonInstaller.install(ConnectAddonInstaller.java:146)
      	at com.atlassian.plugin.connect.plugin.lifecycle.upm.ConnectUPMInstallHandler.installPlugin(ConnectUPMInstallHandler.java:154)
      	at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:108)
      	at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:90)
      	at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:86)
      	at com.atlassian.upm.mac.HostLicenseUpdatedHandlerImpl.tryToInstallNewlyLicensedAddon(HostLicenseUpdatedHandlerImpl.java:136)
      	at com.atlassian.upm.mac.HostLicenseUpdatedHandlerImpl.handleUpdatedAddonLicenses(HostLicenseUpdatedHandlerImpl.java:100)
      	at com.atlassian.upm.mac.HostLicenseUpdatedHandlerImpl.handleProductActivated(HostLicenseUpdatedHandlerImpl.java:71)
      	at com.atlassian.upm.provisioning.UpmTenantedProductEventListener.productActivated(UpmTenantedProductEventListener.java:56)
      	at cloud.atlassian.provisioning.DefaultTenantedEventManager.lambda$fireProductActivatedEvent$2(DefaultTenantedEventManager.java:104)
      	at cloud.atlassian.provisioning.DefaultTenantedEventManager.lambda$fireEventAndCollectResults$8(DefaultTenantedEventManager.java:218)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
      	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      	at cloud.atlassian.provisioning.DefaultTenantedEventManager.fireEventAndCollectResults(DefaultTenantedEventManager.java:242)
      	at cloud.atlassian.provisioning.DefaultTenantedEventManager.fireProductActivatedEvent(DefaultTenantedEventManager.java:103)
      	at com.atlassian.jira.provisioning.JiraProductActivator.activateProducts(JiraProductActivator.java:54)
      	at com.atlassian.jira.bc.dataimport.CloudImportTaskRunner.postImportTasks(CloudImportTaskRunner.java:336)
      	at com.atlassian.jira.bc.dataimport.CloudImportTaskRunner.performTasksOnImportDb(CloudImportTaskRunner.java:316)
      	at com.atlassian.jira.bc.dataimport.CloudImportTaskRunner.lambda$null$2(CloudImportTaskRunner.java:152)
      	at com.atlassian.jira.bc.dataimport.AbstractBackupTaskRunner.lambda$runWithSeparateContextAsync$0(AbstractBackupTaskRunner.java:41)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Caused by: com.atlassian.plugin.connect.api.lifecycle.ConnectAddonInitException: Failed to create Connect user remotely: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"404","detail":"No default group for JIRA Software","errorType":"NoDefaultGroup","message":"No default group for JIRA Software","data":"JIRA Software"}
      	at com.atlassian.plugin.connect.crowd.usermanagement.EmbeddedCrowd.addConnectUser(EmbeddedCrowd.java:99)
      	at com.atlassian.plugin.connect.crowd.usermanagement.EmbeddedCrowd.addConnectUser(EmbeddedCrowd.java:36)
      	at com.atlassian.plugin.connect.crowd.usermanagement.CloudAwareCrowdService.addConnectUser(CloudAwareCrowdService.java:68)
      	at com.atlassian.plugin.connect.crowd.usermanagement.CrowdAddonUserService.createOrEnableAddonUser(CrowdAddonUserService.java:134)
      	at com.atlassian.plugin.connect.crowd.usermanagement.CrowdAddonUserService.provisionAddonUserWithScopes(CrowdAddonUserService.java:99)
      	at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.provisionAddonUserAndScopes(ConnectAddonManager.java:689)
      	... 35 more
      Caused by: com.atlassian.crowd.exception.OperationFailedException: Failed to create Connect user remotely: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"404","detail":"No default group for JIRA Software","errorType":"NoDefaultGroup","message":"No default group for JIRA Software","data":"JIRA Software"}
      	at com.atlassian.crowd.directory.IdentityPlatformRemoteDirectory.addConnectUser(IdentityPlatformRemoteDirectory.java:271)
      	at com.atlassian.crowd.directory.DbCachingRemoteDirectory.addConnectUser(DbCachingRemoteDirectory.java:827)
      	at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addConnectUser(DirectoryManagerGeneric.java:293)
      	at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.addConnectUser(ApplicationServiceGeneric.java:548)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
      	at com.sun.proxy.$Proxy649.addConnectUser(Unknown Source)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor$1.run(ServiceTCCLInterceptor.java:61)
      	at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:130)
      	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokePrivileged(ServiceTCCLInterceptor.java:58)
      	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:50)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
      	at com.sun.proxy.$Proxy3836.addConnectUser(Unknown Source)
      	at com.atlassian.plugin.connect.crowd.usermanagement.EmbeddedCrowd.addConnectUser(EmbeddedCrowd.java:97)
      	... 40 more
      Caused by: com.atlassian.idp.client.exceptions.NotFoundException: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"404","detail":"No default group for JIRA Software","errorType":"NoDefaultGroup","message":"No default group for JIRA Software","data":"JIRA Software"}
      	at com.atlassian.idp.client.IdentityPlatformClientImpl.mapStatusCodeException(IdentityPlatformClientImpl.java:579)
      	at com.atlassian.idp.client.IdentityPlatformClientImpl.mapInputStream(IdentityPlatformClientImpl.java:523)
      	at com.atlassian.idp.client.IdentityPlatformClientImpl.makeRequestWithEntityBody(IdentityPlatformClientImpl.java:508)
      	at com.atlassian.idp.client.IdentityPlatformClientImpl.addConnectUser(IdentityPlatformClientImpl.java:412)
      	at com.atlassian.crowd.directory.IdentityPlatformRemoteDirectory.addConnectUser(IdentityPlatformRemoteDirectory.java:269)
      	... 73 more
      

            Assignee:
            Oliver Hookins (Inactive)
            Reporter:
            Eric Dalgliesh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: