xen-org/xen-api — pull request #911 by mcclurmc (2012-11-06 18:42:58+00:00)
Title: CA-91480: Catch exception if blob doesn't exist on vm_destroy

This was meant to fix CA-91480, but it turns out that this was a different issue. This issue is that vm_destroy doesn't catch an exception if it tries to destroy a VM which has a blob which also doesn't exist on the server, which could happen in a vm_import.

This is the first bug we've found that we've also included a regression unit test for, which is significant. Otherwise, this is an unlikely bug to encounter and fairly trivial to solve.