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

pending—'Jenkins' doesn't have label 'agent'

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not A Defect
    • Icon: Major Major
    • docker-plugin
    • None
    • home

      Some Help Please : I am trying to run a jenkins slave agent by spinning up a docker container. I have verified that there is no problem with the jenkins - docker connectivity , as i have successfully enabled the Remote API. But there seem to be some issues in my configuring the Docker Agent Templates - as jenkins is unable to launch the container and neither can it seem to find the node label. 

      *(pending—'Jenkins' doesn't have label 'agent')*
       
       
      LOGS :
       
      Jenkins log : Jul 21, 2019 4:02:09 AM SEVERE com.nirima.jenkins.plugins.docker.DockerCloud$1 run
      Error in provisioning; template='DockerTemplate

      {configVersion=2, labelString='agent', connector=io.jenkins.docker.connector.DockerComputerAttachConnector@18deb38a, remoteFs='/home/jenkins', instanceCap=10, mode=EXCLUSIVE, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@29d3b71, dockerTemplateBase=DockerTemplateBase\{image='jenkins-agent', pullCredentialsId='', registry=null, dockerCommand='', hostname='', dnsHosts=[], network='', volumes=[], volumesFrom2=[], environment=[], bindPorts='', bindAllPorts=false, memoryLimit=null, memorySwap=null, cpuShares=null, shmSize=null, privileged=false, tty=false, macAddress='null', extraHosts=[]}

      , removeVolumes=false, pullStrategy=PULL_NEVER, nodeProperties=[], disabled=BySystem,0 ms,4 min 59 sec,Template provisioning failed.}' for cloud='docker'
      com.github.dockerjava.api.exception.NotFoundException: {"message":"lstat /var/lib/docker/aufs/mnt/598685549bb7d8182da1dc22bb784e87f98b0161cd9ed561d50f90ed14a87cbc/home/jenkins: no such file or directory"}

      at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:103)
      at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)|

        1. ss.jpg
          16 kB
          vamsi gorthi

            Unassigned Unassigned
            vatsav1984 vamsi gorthi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: