-
Bug
-
Resolution: Fixed
-
Low
-
5.8.1
-
None
Hi,
today I found a Bug, which is basically related to Dedicated Agent synchronization Problem for Deployment jobs and the lack of required capability information for Deployment Jobs.
The Situation:
So I had this Deployment Job which didn't run on any Agent any more even though I was pretty sure there are capable Agents (as the Build job requires exactly the same capabilities).
The Issue
Sometimes (basically pretty often) it happens, that if you remove a dedicated Agent from a Deployment Environment Job at the Job Edit Page, that the Agent is still dedicated but not shown any more on the Environment Detail page.
If that happens and this dedicated Agent (or multiple Agents) are disabled or offline its really hard to figure out the Problem why the Job can't be run anymore. A quickfix could be to dedicate another Agent (what would be in my case to expensive as all these agents are needed to build Buildplans).
Fix
I had to clone the Deployment Job, remove all Tasks, so I could see the only capable and dedicated Agent, so I could go to the Agent Admin page and remove the dedication there. After that everything works fine.
Hope this Description helps others because it took me quite some time to figure this out. Also it would be great of you guys, if you could do two things:
- Show all required Capabilities for a deployment Job like its done for Build Jobs
- Fix the Dedication synchronisation Problem
My Bamboo Version: Atlassian Bamboo version 5.8.1 build 5866 - 17 Mar 15
Yes of course. On the one Hand I wanted to Help others with the same Issue, while providing enough information, so this will be found by others and on the other Hand describe my needs during debugging and the root cause.