Comment 2 for bug 1277362

Revision history for this message
John Griffith (john-griffith) wrote :

Looks like a race between the detach call and the delete call. Result is that when the delete starts the volume_path exists so it tries to go through the target removal process that the detach is already chugging on. By the time delete get's down to remove the volume_path, the detach has finished and already done it for us.

Easy to fix by just adding an if_exists on that removal, but I want to spend a bit of time looking at ways to deal with the race itself.