-
Bug
-
Resolution: Fixed
-
Major
-
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.
- duplicates
-
JENKINS-19943 EC2 plugin cannot connect to slaves outside us-east-1 on new AWS accounts (using EC2-VPC)
- Closed