Assuming you have things configured correctly I would believe it is related to 
https://issues.jenkins-ci.org/browse/JENKINS-27034

To confirm:
In the groovy console /script you can try the following replacing my&&label 
with your my_label expression. If it prints 0, I'd bet it is the issue above.
println( Label.get("my&&label").nodeProvisioner.stat.computeQueueLength() )

Also somewhat related, the following will print 1 but should be 0
println(Jenkins.getInstance().unlabeledNodeProvisioner.stat.computeQueueLength()
 )

My workaround is to visit /updateCenter/ and check the restart box, this will 
usually cause the cloud slave to be started. For me it happens with the docker 
cloud "randomly" and certainly has "moods"

From: Simone Dalmasso 
<simone.dalma...@gmail.com<mailto:simone.dalma...@gmail.com>>
Reply-To: 
"jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
<jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>>
Date: Thursday, May 21, 2015 at 8:17 AM
To: "jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
<jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>>
Subject: [EC2 plugin] All nodes of label 'my_label' are offline

Hi everyone,

I'm using the EC2 plugin and I recently added a second AMI configuration in the 
cloud tab with a label to use within a job.
Unfortunately the job is not launching the node when I trigger a build. I have 
to do it manually from the jenkins -> manage nodes section.
I have another job using another node and is just working fine. I restrict the 
jobs to the nodes using the labels and there are no specific differences 
between the first and the second configurations apart from the label and the 
instance type.

Am I doing something wrong or do you have any suggestions?

Thanks in advance

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f8cfad5b-c55a-42b2-8e26-bfb576b63bba%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/f8cfad5b-c55a-42b2-8e26-bfb576b63bba%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/D1834A73.14EA5%25thomas.suckow%40pnnl.gov.
For more options, visit https://groups.google.com/d/optout.

Reply via email to