Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73440

EC2-plugin should update instance tags BEFORE Boot Delay wait

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • Jenkins 2.401.2
      ec2-plugin 1609.v53b_02a_b_9e52d

      The process to push instance tags after a spot instance is fulfilled is delayed by the Boot Delay value. IMHO, tag update is not dependent on SSH availability or Boot "stabilization".

      We run EventBridge to signal a Lambda that will determine which Ansible Playbook to run on a node based on the instance tags. Our expectation was that Boot Delay would only effect when Jenkins controller would schedule jobs to the provisioned node, thus giving the Ansible playbook time to run. What happens is that Boot Delay affects the updating of instance tags and the playbook process fails as there are no tags on the instance.

            thoulen FABRIZIO MANFREDI
            eightnoneone Matt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: