I could reproduce a bug: cloning a VDI (fast and slow) from SR-1 to SR-2 does not work.
I got a pool, current qcow2 (xcp-ng-testing,xcp-ng-candidates), a template (vm), two SR attached via FC HBA, everything else works fine.
id "0moocnjj4-jmge69z174"
properties
method "vm.create"
params
acls []
clone false
existingDisks
0
name_label "xcpwin-vm-200.lab.testing.company.net C"
name_description "Created by XO"
size 64424509440
$SR "e69a6183-dc17-5b0e-0794-50ee8f57c521"
name_label "xcpwin-vm-200.lab.testing.company.net"
template "671e59e0-f59d-fd96-7426-9886ad9b8ee3"
VDIs []
VIFs
0
network "261a821c-a373-ba36-2c44-487ed0e1a202"
allowedIpv4Addresses []
allowedIpv6Addresses []
CPUs 4
cpusMax 4
cpuWeight null
cpuCap null
name_description "Test VM"
memory 4294967296
bootAfterCreate true
copyHostBiosStrings false
createVtpm false
destroyCloudConfigVdiAfterBoot false
secureBoot false
share false
coreOs false
tags []
hvmBootFirmware "uefi"
name "API call: vm.create"
userId "5f5f1e9c-c928-4898-ab88-62b201698476"
type "api.call"
start 1777726828192
status "failure"
updatedAt 1777727473136
end 1777727473136
result
code "INTERNAL_ERROR"
params
0 "Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))])"
task
uuid "cc16d4ba-ce10-58ef-10c0-808872ec30ca"
name_label "Async.VDI.pool_migrate"
name_description ""
allowed_operations []
current_operations {}
created "20260502T13:08:44Z"
finished "20260502T13:10:25Z"
status "failure"
resident_on "OpaqueRef:6cac1d11-e91e-5288-8ec8-3d84e6288952"
progress 1
type "<none/>"
result ""
error_info
0 "INTERNAL_ERROR"
1 "Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))])"
other_config {}
subtask_of "OpaqueRef:NULL"
subtasks []
backtrace "(((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 1815))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 2105))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 2095))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 141))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/rbac.ml)(line 228))((process xapi)(filename ocaml/xapi/rbac.ml)(line 238))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
message "INTERNAL_ERROR(Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))]))"
name "XapiError"
stack "XapiError: INTERNAL_ERROR(Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))]))\n at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)\n at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29)\n at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1078:24)\n at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1112:14\n at Array.forEach (<anonymous>)\n at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1102:12)\n at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1275:14)"