Vsphere Xfer failed "DEVICE_ALREADY_EXISTS"
-
So I've already transferred 31 other machines but had one fail due to a network interruption.... this was a couple of weeks ago and now I'm back to transferring, when I retry this one I get an error that the device already exists but I cannot find any drives in my iscsi storage nor is it listed in the XCP console or XOA console... How do I clean this up so I can transfer
"succeeded": {}, "message": "DEVICE_ALREADY_EXISTS(1)", "name": "XapiError", "stack": "XapiError: DEVICE_ALREADY_EXISTS(1) at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12) at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/transports/json-rpc.mjs:38:21 at runNextTicks (node:internal/process/task_queues:60:5) at processImmediate (node:internal/timers:454:9) at process.callbackTrampoline (node:internal/async_hooks:130:17)"
-
Is this VM had any specific configuration? Like multiple CD drive or something?
-
no nothing special,
windows 2019 datacenter server with 3 drives 1GB, 60GB, 80GB no other drives or passthrough devices mounted.
I've moved several others with the exact same configuration and this one was in process when we had a network failure a few weeks ago... made it to about 30% complete at that time. Now when I try, it tells me it already exists but I cannot find where its located. I checked my shared SR (iscsi) looked in XOA under vm's and checked xcp-ng host to see if it was listed.XCP-NG V8.3
XOA V5.100.2 -
I wonder if it's creating a device at the same position twice or something. IIRC, this error is raised when you try to create a VIF or a VBD at the same device position (device ID).
What's your 1GiB drive?
@florent any idea why?
-
How many network interfaces are defined on this VM?
-
@olivierlambert the 1G drive is set up for some software licensing we have.
@Danp theres 10 VIF on that one
-
@jebrown For now, there is a limit of 7 network interface on a VM on XCP-ng/Xen Orchestra.
-
10 VIFs could work but not out of the box, that's the issue. Try to remove some VIF and try again the import
-
That was the issue! Thank you! I reduced it to 6 and the transfer is now running......... Will there be support for more than 7 VIF's or is there a way to add more than 7 now?
-
You can add more via the CLI, see https://docs.xcp-ng.org/appendix/cli_reference/#vif-create
-
Will adding by CLI cause any issues with migrations or backups?
-
No it shouldn't.
-
Ok, Thank you!