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

            Martyna Wojtas (Inactive) made changes -
            Resolution New: Timed out [ 10 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Martyna Wojtas (Inactive) made changes -
            Labels New: bamboo-bugs-grooming
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 2705174 ] New: JAC Bug Workflow v3 [ 3384814 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            SET Analytics Bot made changes -
            Support reference count Original: 1 New: 2
            Jeremy Owen made changes -
            Affects Version/s New: 5.15.7 [ 71924 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Krystian Brazulewicz made changes -
            Component/s New: Documentation (User) [ 11810 ]
            Occurrence Factor New: 10% [ 12830 ]
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Alexey Chystoprudov made changes -
            Component/s New: Agents [ 12491 ]

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

                Created:
                Updated:
                Resolved: