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

PluginManager.dynamicLoad on installed plugin fails on NFS with IOException not RestartRequiredException

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • linux, nfs, jenkins 1.450, any plugin

      Got the question from the irc channel, this was initially discussed on the fosdem jenkins booth.

      Updating plugins doesn't work when the jenkins home directory is located on nfs, the failure looks like this

      Caused by: java.io.IOException: Unable to delete /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/.nfs00000000000e897d00000096

      The .nfs files appear when deleting a file on nfs that is still open, in this case the jar files in the lib directory are still open and cannot be deleted.

          [JENKINS-12753] PluginManager.dynamicLoad on installed plugin fails on NFS with IOException not RestartRequiredException

          Alex Lehmann created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-8550 [ JENKINS-8550 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-22205 [ JENKINS-22205 ]
          Jesse Glick made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: plugin [ 15491 ]
          Labels New: lock plugin
          Summary Original: Instant update of plugins doesn't work in nfs directory New: PluginManager.dynamicLoad on installed plugin fails on NFS with IOException not RestartRequiredException
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-20732 [ JENKINS-20732 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143210 ] New: JNJira + In-Review [ 190442 ]

            jglick Jesse Glick
            alexlehm Alex Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: