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

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

      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.

        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

            [BAM-13631] Agents not capable of running deployment tasks still show as available agents

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1437243 ] New: JAC Bug Workflow v3 [ 3380441 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1422051 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1437243 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 606411 ] New: Bamboo Workflow 2016 v1 [ 1422051 ]
            Daniel (Inactive) made changes -
            Remote Link New: This issue links to "BDEV-9929 (Atlassian JIRA Extranet - Special Projects)" [ 114711 ]
            Deric Lee (Inactive) made changes -
            Link New: This issue is duplicated by BAM-16229 [ BAM-16229 ]

            rajinel.prasad@optiver.com.au Unfortunately this fix does not work for Cloud instances. Any other suggestions in this case?

            Dimitris Stafylarakis added a comment - rajinel.prasad@optiver.com.au Unfortunately this fix does not work for Cloud instances. Any other suggestions in this case?

            Raj Prasad added a comment -

            @Jeremy Frederick
            This has been fixed using plugin: 'Requirement for Deployments' https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugin.requirementtask

            Raj Prasad added a comment - @Jeremy Frederick This has been fixed using plugin: 'Requirement for Deployments' https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugin.requirementtask
            mail180 made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 85810 ] New: This issue links to "Page (Extranet)" [ 85810 ]
            mail180 made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 85810 ] New: This issue links to "Page (Extranet)" [ 85810 ]
            mail180 made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 85810 ] New: This issue links to "Page (Extranet)" [ 85810 ]

              Unassigned Unassigned
              alaskowski Adam Laskowski (Inactive)
              Affected customers:
              27 This affects my team
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: