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

EC2 Plugin: EC2 instance starts but waits forever

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ec2-plugin
    • None
    • Ubuntu, EC2

      I want to use the "Amazon EC2 Plugin" to dynamically start slaves on EC2.

      Versions:
      Jenkins 1.544
      Amazon EC2 Plugin 1.20

      I am using the eu-west-1 region.

      So far Jenkins starts the EC2 instance fine but Jenkins can not ssh into the slave. The plugin log looks like the following.

      Connecting to 172.31.x.y on port 22.
      Waiting for SSH to come up. Sleeping 5.
      Connecting to 172.31.x.y on port 22.
      Waiting for SSH to come up. Sleeping 5.
      ...

      I already verified that:

      • I can manually ssh into the instance created by jenkins using the credentials used by Jenkins (tested from the jenkins host)
      • I can scp files into /tmp and /var/jenkins
      • auth.log on the instance contains no login attempts
      • adding the running instance as a static slave node works with same credentials

      Therefore I am pretty convinced that it is a defect in Jenkins / the plugin.

      The attached screenshot shows my plugin config in Jenkins.

      I am happy to help analyzing this issue / retesting a fix.

            francisu Francis Upton
            markfink Mark Fink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: