Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13631

Agents not capable of running deployment tasks still show as available agents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.6.0
    • None
    • Deployments

    Description

      When assigning agents to an environment, agents that are not able to complete all the tasks required are still listed. Our documentation states that "Only agents applicable to the deployment environment will be available for selection," which is not true.

      In my test instance, I removed the Ant Capability^agent.png from one of my Remote Agents, and [added a task for Ant to my environment^antneeded.png]. However, the agent it is still listed as a "capable server" when looking at either the tasks view^tasksview.png for my deployment environment, or when setting a dedicated agent^dedicated.png for the environment.

      This is problematic because Bamboo will chose a capable agent if you do not set a dedicated agent. This is from the "Edit agents" page:

      If you do not assign an agent to this deployment, one will be chosen at run time according to standard requirement/capability mappings.

      If an agent cannot perform all of the tasks because it lacks a capability, it should not be listed. Moreover, Bamboo will still attempt to use this server, and if it does, the deployment will fail needlessly.

      Attachments

        1. agent.png
          agent.png
          208 kB
        2. dedicated.png
          dedicated.png
          117 kB
        3. needsant.png
          needsant.png
          111 kB
        4. tasksview.png
          tasksview.png
          146 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alaskowski Adam Laskowski (Inactive)
              Votes:
              27 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: