« Previous | Next » 

Revision 89b471a2

ID89b471a24baf01f1b7dce05898ed607248217ef0

Added by Dimitris Aragiorgis about 10 years ago

(2.10) SimpleRetry on BlockDev.Remove()

Sometimes, upon disk removal, corresponding file descriptors
are kept briefly open by various processes (hypervisor, blkid, etc.).
With this patch, we retry several times before raising the appropriate
error, thus making disk removal more robust against those corner cases.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Klaus Aehlig <>
Reviewed-by: Klaus Aehlig <>

In stable-2.10 we have constants auto-generated from haskell

Conflicts:
lib/constants.py
src/Ganeti/HsConstants.hs

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences