DR error : (intermediate value) is not iterable
-
Hi,
XCP 8.3, XOA 5.113.2 here
a DR job, with 3 VMs, 2 are OK, one will not pass... And I dont understand why, first time I see this error
"message": "(intermediate value) is not iterable", "name": "TypeError", "stack": "TypeError: (intermediate value) is not iterable\n at Xapi.import (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/xapi/vm.mjs:610:21)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/backups/_runners/_writers/FullXapiWriter.mjs:56:21"
any idea anyone ?
or @bastien-nollet @florentthere is free space on the destination SR (iSCSI SR)
-
@Pilow This is most likely related to different version of your xapi . You can only do full replication from one older to a newer version
(and there are some recent commit this week to give a better error)
-
@florent this is where it's strange, all my 7 hosts were installed the same day, with the same patches...
all 3 VMs were deployed the same day/way toowhy are 2 OK and not the third ?
indeed CR is working, but DR is hiding something from me
-
tried to delete the VM, restore it, same result
tried to get the job done by an XO PROXY instead of XOA, same result
3 VMs have been deployed from the same Hub Template Ubuntu 24.04 at the same time.
weird.
-
source host :
xe host-param-list uuid=161be695-e1f9-4271-b581-27b716fde9a5 |grep xapisoftware-version (MRO): product_version: 8.3.0; product_version_text: 8.3; product_version_text_short: 8.3; platform_name: XCP; platform_version: 3.4.0; product_brand: XCP-ng; build_number: cloud; git_id: 0; hostname: localhost; date: 20250909T12:59:54Z; dbv: 0.0.1; xapi: 25.6; xapi_build: 25.6.0; xen: 4.17.5-15; linux: 4.19.0+1; xencenter_min: 2.21; xencenter_max: 2.21; network_backend: openvswitch; db_schema: 5.786
DR target host :
xe host-param-list uuid=e604c3bf-373c-489b-b191-edecbabec43f |grep xapisoftware-version (MRO): product_version: 8.3.0; product_version_text: 8.3; product_version_text_short: 8.3; platform_name: XCP; platform_version: 3.4.0; product_brand: XCP-ng; build_number: cloud; git_id: 0; hostname: localhost; date: 20250909T12:59:54Z; dbv: 0.0.1; xapi: 25.6; xapi_build: 25.6.0; xen: 4.17.5-15; linux: 4.19.0+1; xencenter_min: 2.21; xencenter_max: 2.21; network_backend: openvswitch; db_schema: 5.786
-
@Pilow would it be possible to test from source, or with latest ( note that v6 will be default on latest ) ? it would be useful to have the real error message instead of the itnermediate value
-
@florent yes I can try with XO from source to latest
let me restore the VM and launch a DR with XO from source and i'll report back -
here is the errot in XO6
this UUID of network is NOT the one on the source VM...how is it possible ?
-
on the source VM :
- I tried to switch to another network and re put the good network to no avail
- I tried to put the network mentionned in the error (UUID that is not the good one), to no avail
- I deleted the VIF, recreated it with the good network for this VM
and booom, DR is okay ! that was not a XAPI problem

so, there was a problem with this VM VIF... and error message in XO6 permitted to pin point it
thanks for the advice @florent !
