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

Setting DISABLE_AGENT_AUTO_CAPABILITY_DETECTION server-side in Bamboo will stop new entries in bamboo-capabilities.properties being detected for known agents

      Summary

      Setting DISABLE_AGENT_AUTO_CAPABILITY_DETECTION=true server-side in Bamboo (not on the agent) will stop new entries in bamboo-capabilities.properties being detected for known agents upon restart.

      Steps to Reproduce

      1. Add -DDISABLE_AGENT_AUTO_CAPABILITY_DETECTION=true to JVM_SUPPORT_RECOMMENDED_ARGS in <bamboo-install>/bin/setenv.sh
      2. Add wrapper.java.additional.x=-DDISABLE_AGENT_AUTO_CAPABILITY_DETECTION=true to a new Remote Agent's <bamboo-agent-home>/conf/wrapper.conf
        • If it's an existing agent, delete it from the Bamboo UI
      3. Create a bamboo-capabilities.properties in <bamboo-agent-home>/bin
      4. Add some capabilities to it
      5. Start the agent
      6. Capabilities from bamboo-capabilities.properties are correctly detected and added
      7. Add a new capability to bamboo-capabilities.properties. New key, don't update an existing one.
      8. Restart the agent
      9. The new capability is not detected.

      Expected Results

      New capabilities in bamboo-capabilities.properties are detected upon agent restart.

      Actual Results

      New capabilities in bamboo-capabilities.properties are not detected upon agent restart.

      Workaround

      1. Remove -DDISABLE_AGENT_AUTO_CAPABILITY_DETECTION=true from JVM_SUPPORT_RECOMMENDED_ARGS in <bamboo-install>/bin/setenv.sh
      2. Configure / keep wrapper.java.additional.x=-DDISABLE_AGENT_AUTO_CAPABILITY_DETECTION=true on each agent that needs it in <bamboo-agent-home>/conf/wrapper.conf

      Or

      • Delete the agent from Bamboo Administration >> Agents before restarting the agent. All capabilities will be detected upon agent restart.

          Form Name

            [BAM-19962] Setting DISABLE_AGENT_AUTO_CAPABILITY_DETECTION server-side in Bamboo will stop new entries in bamboo-capabilities.properties being detected for known agents

            Atlassian Update - 23 June 2020

            Hi,

            Thank you for raising this issue. We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request.

            This is an automated update triggered by low user engagement with this suggestion (number of votes, number of watchers).

            Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Bamboo team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details.

            We understand how disappointing this decision may be but we want to be fully transparent when communicating with our users.

            Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments.

            Thank you,

            Bamboo Team

            Martyna Wojtas (Inactive) added a comment - Atlassian Update - 23 June 2020 Hi, Thank you for raising this issue. We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request. This is an automated update triggered by low user engagement with this suggestion (number of votes, number of watchers). Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Bamboo team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details. We understand how disappointing this decision may be but we want to be fully transparent when communicating with our users. Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments. Thank you, Bamboo Team

              Unassigned Unassigned
              jowen@atlassian.com Jeremy Owen
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: