Agent nodes marked as 'offline' are not terminated when they have been idle beyond the idle termination time setting

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: ec2-plugin
    • Environment:
      OS: Amazon Linux 2
      Java version: 1.8.0_242
      Plugins:
      - Amazon EC2 plugin 1.49.1
      - Amazon ECR plugin 1.6

      We have set our agents to terminate after being idle for 30 minutes under the EC2 plugin settings page.

      We also have "Free Space Threshold" enabled under "Preventive Node Monitoring", to automatically mark agents as offline whose disks fall under the threshold.

      We treat our agents as cattle, so ideally agents that are marked as offline would eventually terminate after being idle for 30 minutes.

      But that doesn't seem to be the case when both features are enabled. It seems that agents that are marked offline are being ignored by the idle termination check and are left running indefinitely.

       

            Assignee:
            Ramon Leon
            Reporter:
            John Del Rosario
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: