Search the Community
Showing results for tags 'plastic cloud'.
Found 2 results
-
Hi, I'm setting up a TeamCity by using Plastic Cloud, and I'm getting the following error: Failed for the root '"default" {instance id=1, parent internal id=1, parent id=DefaultVCSRoot, description: "PlasticSCM: br:/main@reponame@organization@cloud"}: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 Hide stacktrace jetbrains.buildServer.vcs.VcsRootVcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 I did the usual approach: Created AWS instance Installed Windows Server 2019 Installed TeamCity 2020.1 Installed the full Plastic version with local server included Created connection profile for cloud Copied client.conf to Plastic Client installation path under Program Files. Added Plastic plugin to TeamCity Created VCS Root and tested that connection works It looked like all should be good to go, but after a moment I was getting that error on TC project view. I have previously only set TeamCity for enterprise accounts and dedicated servers, so my approach might be completely wrong here. Does this ring a bell for anyone over here? And is there some good guides on how to setup TeamCity with Plastic Cloud? Here is the full stack trace as well, with user account replaced with name@domain.com: at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.createRootException(VcsChangesStatesCollector.java:119) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:10) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: jetbrains.buildServer.vcs.VcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com CommandResult 1 at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:57) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) ... 18 more Caused by: com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: devops@returnentertainment.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) ... 29 more jetbrains.buildServer.vcs.VcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:57) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) ... 29 more com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
- 2 replies
-
- teamcity
- plastic cloud
-
(and 1 more)
Tagged with:
-
We're currently evaluating the Team Edition for a small team. Everything was going well until my colleague and I had both made changes to different files. These files were checked out and do not conflict with each other. One colleague submitted their changes while another was working on their checked out file. When the later colleague was ready to push out their changes, they were unable to due to the fact that Plastic Cloud does not offer merging abilities and that he was out of sync with the cloud repo. When he tried to download the latest from the cloud repo, he was unable to as well. In both cases, he received the error message: This lead me to this article with somebody having the same issue: https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide.shtml#Serverconfiguration The solution was posted by a community member which was: This wasn't the best approach as it effectively negates the feature of checkout'ing a file and locking the file when someone is working on it. Everything about Plastic is fantastic and I'm liking it far more than Perforce except for this seemingly crucial necessity of co-working on files simultaneously on Plastic Cloud. Why is it so difficult to do this with Plastic Cloud? If anyone has figured out a work around, please let me know. The docs aren't helping as their solution seems convoluted. Thanks