Comment 1 for bug 1103158

Revision history for this message
Bob Ball (bob-ball) wrote :

Confirmed as a bug in XenServer 6.0. This is already fixed in XenServer 6.1.

The following source patch should be applied to /opt/xensource/sm/cleanup.py to fix this issue.

--- a/drivers/cleanup.py Thu Jan 03 10:25:54 2013 +0000
+++ b/drivers/cleanup.py Wed Jan 23 13:44:52 2013 +0000
@@ -607,6 +607,7 @@ class VDI:
     def delete(self):
         "Physically delete the VDI"
         lock.Lock.cleanup(self.uuid, lvhdutil.NS_PREFIX_LVM + self.sr.uuid)
+ lock.Lock.cleanupAll(self.uuid)
         self._clear()

     def __str__(self):