File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -552,7 +552,9 @@ let assert_can_migrate ~__context ~vm ~dest ~live ~vdi_map ~vif_map ~options =
552552 if nb_snapshots > 1 then
553553 raise (Api_errors. Server_error (Api_errors. vm_has_too_many_snapshots, [Ref. string_of vm]));
554554 (* Ignore vdi_map for now since we won't be doing any mirroring. *)
555- inter_pool_metadata_transfer ~__context ~remote_rpc ~session_id ~remote_address ~vm ~vdi_map: [] ~dry_run: true ~live
555+ try inter_pool_metadata_transfer ~__context ~remote_rpc ~session_id ~remote_address ~vm ~vdi_map: [] ~dry_run: true ~live
556+ with Xmlrpc_client. Connection_reset ->
557+ raise (Api_errors. Server_error (Api_errors. cannot_contact_host, [remote_address]))
556558
557559let migrate_send ~__context ~vm ~dest ~live ~vdi_map ~vif_map ~options =
558560 assert_licensed_storage_motion ~__context ;
You can’t perform that action at this time.
0 commit comments