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

Node template is null after restart of controller

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-plugin
    • None
    • Ubuntu-22
      Jenkins 2.492.2
      Kubernetes plugin: 4324.vfec199a_33512

      After restarting jenkins controller, getting the template used for a node is not possible. The method node.getTemplateOrNull() returns null. I need to get the image used by an agent in order to restart it upon restart of the controller if the agent is outdated.

      We also see that the plugin lose track of the number of the number nodes running, perhaps this is related.

            Unassigned Unassigned
            bildrulle Lars Berntzon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: