We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c880dc6 + 27e10d9 commit 3ba8a5cCopy full SHA for 3ba8a5c
ocaml/xapi/storage_impl.ml
@@ -307,7 +307,13 @@ module Wrapper = functor(Impl: Server_impl) -> struct
307
in
308
Sr.replace vdi new_vdi_t sr_t;
309
new_vdi_t
310
- with e ->
+ with
311
+ | Storage_interface.Internal_error("Storage_access.No_VDI") as e
312
+ when ( op == Vdi_automaton.Deactivate || op == Vdi_automaton.Detach ) ->
313
+ error "Storage_impl: caught exception %s while doing %s . Continuing as if succesful, being optimistic"
314
+ (Printexc.to_string e) (Vdi_automaton.string_of_op op);
315
+ vdi_t
316
+ | e ->
317
error "Storage_impl: dp:%s sr:%s vdi:%s op:%s error:%s backtrace:%s" dp sr vdi
318
(Vdi_automaton.string_of_op op) (Printexc.to_string e) (Printexc.get_backtrace ());
319
raise e
0 commit comments