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):
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 cleanup. py Wed Jan 23 13:44:52 2013 +0000
"Physically delete the VDI"
lock. Lock.cleanup( self.uuid, lvhdutil. NS_PREFIX_ LVM + self.sr.uuid) cleanupAll( self.uuid)
self. _clear( )
+++ b/drivers/
@@ -607,6 +607,7 @@ class VDI:
def delete(self):
+ lock.Lock.
def __str__(self):