-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Blocker
-
Component/s: amazon-ecs-plugin
-
Environment:Jenkins: 2.60.2.2
amazon-ecs: 1.11
I tried following the instructions for spinning up Jenkins on an EC2 instance, using ECS for the slaves. Â I have created a cloud, and have two types of templates created: both JNLP Docker images, one the default Jenkins, and the other the CloudBees. Â They both behave the same.
Â
My AWS security settings allow all TCP traffic between the EC2 instance and the ECS cluster.
Â
I have created a job, that just does 'hostname'. Â When I run the job, I see the Build Executor Status box show no slave exists, then slave exists offline, then nothing. Â I see in the ECS log the work of pulling the Docker image, etcetera. Â There appears to be some issue receiving stats, and it looks like it then shuts down the instance. Â After all of that logging, I then see a message in the Docker log about no such container.
Â
When I go into the offline agent, and try to configure it, I get a stack trace; I'm guessing this is an unrelated defect, but, am mentioning here for compleatness.
Â
I have attached a screenshot of my Cloud configuration, the ECS log, the docker log, and the stack trace. Â As I am new to AWS, I do not know what else to try or to look at. I have tried deleting the ECS cluster and creating a new one, and the same thing happens.
Â
I'd really appreciate pointers on getting this working.