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

kubernetes-plugin: jenkins/inbound-agent:4.11-1-alpine crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      when spinning up pod-template, using the jenkins/inbound-agent:4.11-1-alpine image causes infinite loop of crashing attempting to start pod.

      using parameters:

      name: 'jnlp',
      image: 'jenkins/inbound-agent:4.11-1-alpine',
      args: '${computer.jnlpmac} ${computer.name}',
      workingDir: '/home/jenkins/agent'

      look like this:
      [Normal][ae-system/k8s-jnlp-0dnr7-5c8hc][Started] Started container jnlp Unable to provision agent k8s-jnlp-0dnr7-5c8hc :

      • jnlp – terminated (1)
        ----Logs------------
        cat: can't open '8bef8306ffa85a2c44e3166f533fba53faecba8ef102b47f619e7b96fd64ea34': No such file or directory
        cat: can't open 'k8s-jnlp-0dnr7-5c8hc': No such file or directory
        caused me grief for a bit, in my troubleshooting discovered that simply using the non-alpine version of the image ("jenkins/inbound-agent:4.11-1") skirts the issue.

      wanted to drop this here in case anyone else stumbles across this issue.

            Unassigned Unassigned
            tony_k tony kerz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: