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

Launch agent by connecting to controller is missing the required information

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • libvirt-slave-plugin
    • None

      Hello!

      I am running the following Jenkins setup:

      jenkins 2.412.2 on ubuntu 22.04

      libvirt plugin: 262.v98a_c85b

       

      When I create a libvirt node with the launch setting:

      Launch agent by connecting it to the controller
      

      I would expect to see the required secret to manually connect to the jenkins controller.

      Here is how it looks like on the gui when having this setting with a normal node:

      And this it how it looks when using the libvirt plugin to create a node.

      So as a workaround I run this in my jenkins console:

      for (aSlave in hudson.model.Hudson.instance.slaves) 
      { println aSlave.name + "," + aSlave.getComputer().getJnlpMac() } 

      Where then I have acquired the secret necessary to spawn the connection from the node to the controller.

      So I created this issue is here sort of also as a possible future improvement, but also so others could also make use of this workaround.

       

      As for the background why I don't use an ssh connection.

      I need to have a working wsl on my windows, which is broken due to this bug:

      https://github.com/microsoft/WSL/issues/9231

       

      Cheers!

        1. image-2023-10-09-14-48-58-345.png
          13 kB
          Mate Rigo
        2. image-2023-10-09-14-49-37-757.png
          18 kB
          Mate Rigo
        3. image-2023-10-12-11-45-35-944.png
          17 kB
          Mate Rigo
        4. image-2023-10-12-12-52-19-615.png
          72 kB
          Mate Rigo
        5. image-2023-10-12-12-56-12-933.png
          9 kB
          Mate Rigo
        6. image-2023-10-12-12-57-15-608.png
          90 kB
          Mate Rigo

            m_jeanson Michael
            materigoprecitec Mate Rigo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: