« Previous | Next » 

Revision ecb07da9

IDecb07da9c3975df31ffedec95e1f130c0da49379

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