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.

            [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

            No work has yet been logged on this issue.

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

                Created:
                Updated:
                Resolved: