In jenkins logs I can see:

Feb 23, 2016 6:18:00 AM com.nirima.jenkins.plugins.docker.DockerCloud$1 call
SEVERE: Error in provisioning; template='DockerTemplate{configVersion=2,
labelString='jenkins-git',
launcher=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher@3969d03c,
remoteFsMapping='', remoteFs='/home/jenkins', instanceCap=5, mode=NORMAL,
retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@18864415,
numExecutors=5, dockerTemplateBase=DockerTemplateBase{image=jenkins-git},
removeVolumes=false, pullStrategy=PULL_LATEST}' for cloud='Docker'
java.lang.NullPointerException
        at
com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher.getAddressForSSHD(DockerComputerSSHLauncher.java:126)
        at
com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher.waitUp(DockerComputerSSHLauncher.java:79)
        at
com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:393)
        at
com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:57)
        at
com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:242)
        at
com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:239)
        at
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)


On Tue, Feb 23, 2016 at 10:45 AM, Rishabh Das <[email protected]> wrote:

> It returns the same with every image. I also tried following the Jenkins
> Docker plugin page documentation on creating a docker image and adding it
> to Jenkins. Jenkins still returns with 'Label serviced by no nodes and 1
> cloud'.
>
> On Fri, Feb 19, 2016 at 1:33 PM, Baptiste Mathus <[email protected]> wrote:
>
>> Being able to connect to the docker host is one thing, but it's unrelated
>> to the image you define for use. Did you did for example install and
>> configure sshd in that image?
>> Le 19 févr. 2016 7:35 AM, "Rishabh Das" <[email protected]> a écrit :
>>
>>> I used the fedora base image. I created a docker file which uses the
>>> Fedora image, adds Jenkins public key to authorized_keys in the container.
>>> I added the same in credentials in Jenkins.
>>>
>>> test connection for the Atomic host is successful. It returns the
>>> version number. Attached are 2 screenshots of how the system is configured.
>>>
>>> On Fri, Feb 19, 2016 at 11:43 AM, Baptiste Mathus <[email protected]> wrote:
>>>
>>>> Which image did you use for the docker provisioned agents? Did you
>>>> configure the authentication?
>>>>
>>>> Also: nothing in the logs while waiting?
>>>> Le 17 févr. 2016 12:49 PM, "Rishabh Das" <[email protected]> a
>>>> écrit :
>>>>
>>>>> Hi,
>>>>>
>>>>> I was trying to configure a Jenkins job to spin a docker container on
>>>>> the Atomic Host.  I configured Jenkins Docker plugin and added a Docker
>>>>> cloud and a Docker template for the image to be used.
>>>>> I attached a label to the docker image. While selecting 'Restrict
>>>>> where the project can be run' in the Jenkins job configuration, I specify
>>>>> the label.
>>>>> However it says 'Label is serviced by no nodes and 1 cloud'. Attached
>>>>> is a screenshot. While I build the job, the job status is Pending - 
>>>>> waiting
>>>>> for next available executor.  Can anyone help ?
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Rishabh Das
>>>>> M: +91-8087350313
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/jenkinsci-users/CAN%2BLNmprMXhP10hMDc_g1LWpvagNqxw7Wqw55tucNvYKfNd4%2BQ%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CAN%2BLNmprMXhP10hMDc_g1LWpvagNqxw7Wqw55tucNvYKfNd4%2BQ%40mail.gmail.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 [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4Q-xYxkCDXeY%3DHSR7qg8cnb-RwFS4JxH5eqT01hOLVxw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4Q-xYxkCDXeY%3DHSR7qg8cnb-RwFS4JxH5eqT01hOLVxw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Rishabh Das
>>> M: +91-8087350313
>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/CAN%2BLNmogZsa9nkcWeB_sh_yce88pJ-9ogNGe-B0Cskv_uee3zA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/CAN%2BLNmogZsa9nkcWeB_sh_yce88pJ-9ogNGe-B0Cskv_uee3zA%40mail.gmail.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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS56iNaAx4BYsa9J_weKaE7n8TsWw9buiOF16DvD2ToWUw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS56iNaAx4BYsa9J_weKaE7n8TsWw9buiOF16DvD2ToWUw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
> Rishabh Das
> M: +91-8087350313
>



-- 
Regards,
Rishabh Das
M: +91-8087350313

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAN%2BLNmrrZwo0KoL1fz-jUt9sB_FM9tmb3nDupY69TvSRYo54aw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to