[
https://issues.jenkins-ci.org/browse/JENKINS-12753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159257#comment-159257
]
Michael Prokop commented on JENKINS-12753:
------------------------------------------
Being the one who raised this issue on IRC (thanks to Alex for reporting it
here): this seems to be a locking issue caused by NFS. I can't reproduce the
very same issue without NFS and the open .nfs000000... file handle indicates
that there's something going wrong with file deletion.
> Instant update of plugins doesn't work in nfs directory
> -------------------------------------------------------
>
> Key: JENKINS-12753
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12753
> Project: Jenkins
> Issue Type: Bug
> Components: plugin
> Environment: linux, nfs, jenkins 1.450, any plugin
> Reporter: Alex Lehmann
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira