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

Updating swarm plugin to 3.25 breaks connection with main node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • swarm-plugin
    • None

      We scripted update of jenkins and plugins to run automatically each saturday morning. In our update from last saturday it updated

      After restart the jenkins agents won't register themselves to the main node.

      Log from one of the jenkins agents:

      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: Mar 13, 2021 10:55:41 AM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: SEVERE: Failed to fetch swarm information from Jenkins, plugin not installed?
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: Mar 13, 2021 10:55:41 AM hudson.plugins.swarm.Client run
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: SEVERE: RetryException occurred
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: hudson.plugins.swarm.RetryException: Failed to fetch swarm information from Jenkins, plugin not installed?
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:229)
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: at hudson.plugins.swarm.Client.run(Client.java:146)
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: at hudson.plugins.swarm.Client.main(Client.java:119)
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: Mar 13, 2021 10:55:41 AM hudson.plugins.swarm.Client run
      mrt 13 10:55:41 la-02 linux_agent_run_main.sh[21487]: INFO: Retrying in 10 seconds

      It was unclear to me what is actually happening, as nothing else has changed and was working before. Once I downgraded the swarm-plugin to 3.24 everything started to work again.

      We do have some custom config in Jenkins in the "Global security" section

      TCP port for inbound agents is fixed to 45250
       Inbound TCP Agent Protocol/4 (TLS encryption) is enabled
      We use the latest swarm client version 3.9 on each agent
       

            Unassigned Unassigned
            mdekrijger Marco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: