• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • libvirt-slave-plugin
    • None
    • Jenkins ver. 2.108; libvirt-slave 1.8.5

      The libvirt slave plugin was built with a very old version of Jenkins, and it can't support current functionality for slaves.  In particular, 'workDir' and 'remoteDir' in the slave configuration are not transferred to the slave during startup (see also https://issues.jenkins-ci.org/browse/JENKINS-47834  The JNLPLauncher class that was used to build the plugin in 2015 doesn't contain the "RemotingWorkDirSettings workDirSettings" field, and the VirtualMachineLauncher class defined in the plugin doesn't support the fields required by "slave-agent.jnlp.jelly".

          [JENKINS-50427] Libvirt Slaves Plugin needs updating to 2.x

          Glenn Burkhardt created issue -

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - The related ML thread: https://groups.google.com/forum/#!topic/jenkinsci-dev/w66m_3LTAxs
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-47834 [ JENKINS-47834 ]
          Glenn Burkhardt made changes -
          Attachment New: libvirt-fix.tar.xz [ 41980 ]

          I was able to fix this with the attached files.  Some more work is needed to add this to the libvirt-slave release, e.g., there are unchecked type conversions in the methods added to VirtualMachineLauncher.

          libvirt-fix.tar.xz

          Glenn Burkhardt added a comment - I was able to fix this with the attached files.  Some more work is needed to add this to the libvirt-slave release, e.g., there are unchecked type conversions in the methods added to VirtualMachineLauncher. libvirt-fix.tar.xz
          Glenn Burkhardt made changes -
          Description Original: The libvirt slave plugin was built with a very old version of Jenkins, and it can't support current functionality for slaves.  In particular, 'workDir' and 'remoteDir' in the slave configuration are not transferred to the slave during startup (see also [https://issues.jenkins-ci.org/browse/JENKINS-47834|[http://example.com]).]  The JNLPLauncher class that was used to build the plugin in 2015 doesn't contain the "RemotingWorkDirSettings workDirSettings" field, and the VirtualMachineLauncher class defined in the plugin doesn't support the fields required by "slave-agent.jnlp.jelly". New: The libvirt slave plugin was built with a very old version of Jenkins, and it can't support current functionality for slaves.  In particular, 'workDir' and 'remoteDir' in the slave configuration are not transferred to the slave during startup (see also https://issues.jenkins-ci.org/browse/JENKINS-47834  The JNLPLauncher class that was used to build the plugin in 2015 doesn't contain the "RemotingWorkDirSettings workDirSettings" field, and the VirtualMachineLauncher class defined in the plugin doesn't support the fields required by "slave-agent.jnlp.jelly".
          Bastian Germann made changes -
          Released As New: https://github.com/jenkinsci/libvirt-slave-plugin/commit/1a30e4472491ed6d2792e4adf99a4eb033c008dd
          Assignee Original: Philipp Bartsch [ tastybug ] New: Bastian Germann [ bgermann ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Bastian Germann made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]
          Bastian Germann made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            bgermann Bastian Germann
            gbburkhardt Glenn Burkhardt
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: