com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException: Deployment Group '806166a0-3c93-4b9c-b7ba-5f0e5b0a8941' is already deploying deployment 'd-LNWCPSTJF' (Service: AmazonCodeDeploy; Status Code: 400; Error Code: DeploymentLimitExceededException; Request ID: 1e5077da-1173-11e6-9a49-adc075382534)

Atlassian JIRA | Gustavo Tolone | 7 months ago
  1. 0

    I keep getting the following exception even though there is no deployment running. How can I recover from this problem? 03-May-2016 17:07:21 Preparing to download plan result IP-WEB-35 artifact: Shared artifact: [ProdigyWebsite-Package.035], pattern: [**/*] 03-May-2016 17:07:41 Artifact [ProdigyWebsite-Package.035] downloaded successfully in 20.30 s to working directory 03-May-2016 17:07:41 Finished task 'download artifact' with result: Success 03-May-2016 17:07:41 Starting task 'Deploy to Staging' of type 'com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-aws-codedeploy:task.aws.codeDeploy' 03-May-2016 17:07:41 Zipping contents of task working directory. 03-May-2016 17:07:59 Uploading zip bundle '3866625-3932161-4685840-d8e543ed-8918-47db-a9a9-7b7a82b5006b.zip' to S3. 03-May-2016 17:08:00 Creating CodeDeploy deployment. 03-May-2016 17:08:01 Error creating CodeDeploy deployment. 03-May-2016 17:08:01 com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException: Deployment Group '806166a0-3c93-4b9c-b7ba-5f0e5b0a8941' is already deploying deployment 'd-LNWCPSTJF' (Service: AmazonCodeDeploy; Status Code: 400; Error Code: DeploymentLimitExceededException; Request ID: 1e5077da-1173-11e6-9a49-adc075382534) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1307) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:894) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308) 03-May-2016 17:08:01 at com.amazonaws.services.codedeploy.AmazonCodeDeployClient.invoke(AmazonCodeDeployClient.java:2371) 03-May-2016 17:08:01 at com.amazonaws.services.codedeploy.AmazonCodeDeployClient.createDeployment(AmazonCodeDeployClient.java:862) 03-May-2016 17:08:01 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.executeDeployment(CodeDeployTask.java:156) 03-May-2016 17:08:01 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.execute(CodeDeployTask.java:82) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) 03-May-2016 17:08:01 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) 03-May-2016 17:08:01 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) 03-May-2016 17:08:01 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) 03-May-2016 17:08:01 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 03-May-2016 17:08:01 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 03-May-2016 17:08:01 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 03-May-2016 17:08:01 at java.lang.Thread.run(Thread.java:745)

    Atlassian JIRA | 7 months ago | Gustavo Tolone
    com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException: Deployment Group '806166a0-3c93-4b9c-b7ba-5f0e5b0a8941' is already deploying deployment 'd-LNWCPSTJF' (Service: AmazonCodeDeploy; Status Code: 400; Error Code: DeploymentLimitExceededException; Request ID: 1e5077da-1173-11e6-9a49-adc075382534)
  2. 0

    I keep getting the following exception even though there is no deployment running. How can I recover from this problem? 03-May-2016 17:07:21 Preparing to download plan result IP-WEB-35 artifact: Shared artifact: [ProdigyWebsite-Package.035], pattern: [**/*] 03-May-2016 17:07:41 Artifact [ProdigyWebsite-Package.035] downloaded successfully in 20.30 s to working directory 03-May-2016 17:07:41 Finished task 'download artifact' with result: Success 03-May-2016 17:07:41 Starting task 'Deploy to Staging' of type 'com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-aws-codedeploy:task.aws.codeDeploy' 03-May-2016 17:07:41 Zipping contents of task working directory. 03-May-2016 17:07:59 Uploading zip bundle '3866625-3932161-4685840-d8e543ed-8918-47db-a9a9-7b7a82b5006b.zip' to S3. 03-May-2016 17:08:00 Creating CodeDeploy deployment. 03-May-2016 17:08:01 Error creating CodeDeploy deployment. 03-May-2016 17:08:01 com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException: Deployment Group '806166a0-3c93-4b9c-b7ba-5f0e5b0a8941' is already deploying deployment 'd-LNWCPSTJF' (Service: AmazonCodeDeploy; Status Code: 400; Error Code: DeploymentLimitExceededException; Request ID: 1e5077da-1173-11e6-9a49-adc075382534) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1307) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:894) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329) 03-May-2016 17:08:01 at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308) 03-May-2016 17:08:01 at com.amazonaws.services.codedeploy.AmazonCodeDeployClient.invoke(AmazonCodeDeployClient.java:2371) 03-May-2016 17:08:01 at com.amazonaws.services.codedeploy.AmazonCodeDeployClient.createDeployment(AmazonCodeDeployClient.java:862) 03-May-2016 17:08:01 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.executeDeployment(CodeDeployTask.java:156) 03-May-2016 17:08:01 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.execute(CodeDeployTask.java:82) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317) 03-May-2016 17:08:01 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) 03-May-2016 17:08:01 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) 03-May-2016 17:08:01 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) 03-May-2016 17:08:01 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) 03-May-2016 17:08:01 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) 03-May-2016 17:08:01 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 03-May-2016 17:08:01 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 03-May-2016 17:08:01 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 03-May-2016 17:08:01 at java.lang.Thread.run(Thread.java:745)

    Atlassian JIRA | 7 months ago | Gustavo Tolone
    com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException: Deployment Group '806166a0-3c93-4b9c-b7ba-5f0e5b0a8941' is already deploying deployment 'd-LNWCPSTJF' (Service: AmazonCodeDeploy; Status Code: 400; Error Code: DeploymentLimitExceededException; Request ID: 1e5077da-1173-11e6-9a49-adc075382534)

    Root Cause Analysis

    1. com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException

      Deployment Group '806166a0-3c93-4b9c-b7ba-5f0e5b0a8941' is already deploying deployment 'd-LNWCPSTJF' (Service: AmazonCodeDeploy; Status Code: 400; Error Code: DeploymentLimitExceededException; Request ID: 1e5077da-1173-11e6-9a49-adc075382534)

      at com.amazonaws.http.AmazonHttpClient.handleErrorResponse()
    2. AWS SDK for Java - Core
      AmazonHttpClient.execute
      1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1307)
      2. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:894)
      3. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597)
      4. com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363)
      5. com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329)
      6. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308)
      6 frames
    3. AWS Java SDK for AWS CodeDeploy
      AmazonCodeDeployClient.createDeployment
      1. com.amazonaws.services.codedeploy.AmazonCodeDeployClient.invoke(AmazonCodeDeployClient.java:2371)
      2. com.amazonaws.services.codedeploy.AmazonCodeDeployClient.createDeployment(AmazonCodeDeployClient.java:862)
      2 frames
    4. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.executeDeployment(CodeDeployTask.java:156)
      2. com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.execute(CodeDeployTask.java:82)
      3. com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317)
      4. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
      5. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
      6. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
      7. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
      8. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215)
      9. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
      10. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
      11. com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
      12. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
      13. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137)
      14. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
      15. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      16. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      17. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      17 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame