Bug #2464

TM qcow2 (potentially any TM NFS based) fails at delete if NFS server busy

Added by OpenNebula Systems Support Team over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:11/15/2013
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Drivers - Storage
Target version:Release 4.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.4

Description

Command "rm -rf /srv/datastores/106/26358" failed: rm: cannot remove `........nfs0000000004047cbc00000002': Device or resource busy

--

Approach this with a timeout loop.

Associated revisions

Revision cb06ac78
Added by Javi Fontan over 5 years ago

feature #2464: retry file deletion in common tm files

Revision 7266e823
Added by Javi Fontan over 5 years ago

feature #2464: retry file deletion in common tm files

Revision b17751a2
Added by Javi Fontan over 5 years ago

bug #2464: do tm delete retry in the host

Also does not fail when the file/path does not exist

Revision ebab3ce3
Added by Javi Fontan over 5 years ago

bug #2464: do tm delete retry in the host

Also does not fail when the file/path does not exist

(cherry picked from commit b17751a2d68616adf8a97a7a5e2688c8de06aebd)

History

#1 Updated by Ruben S. Montero over 5 years ago

  • Assignee set to Javi Fontan

#2 Updated by Javi Fontan over 5 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Delete retires the deletion 10 times with 1 second wait between each retry.

#3 Updated by Javi Fontan over 5 years ago

  • Status changed from Closed to New
  • Resolution deleted (fixed)

Do the retry in the remote host

#4 Updated by Javi Fontan over 5 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF