@florent
Over the weekend I spun up an XO instance from source. This morning I changed to 'fix_xva_import_thin' after your post. Unfortunately, still the same failure for me. Only notable difference I see is that your ${str} addition for the log now comes back as " undefined"
Here are my logs:
From XO:
vm.importMultipleFromEsxi
{
"concurrency": 2,
"host": "vsphere.nest.local",
"network": "7f7d2fcc-c78b-b1c9-101a-0ca9570e3462",
"password": "* obfuscated *",
"sr": "50d8f945-8ae4-dd87-0149-e6054a10d51f",
"sslVerify": false,
"stopOnError": true,
"stopSource": true,
"user": "administrator@vsphere.local",
"vms": [
"vm-2427"
]
}
{
"succeeded": {},
"message": "no opaque ref found in undefined",
"name": "Error",
"stack": "Error: no opaque ref found in undefined
at importVm (file:///opt/xo/xo-builds/xen-orchestra-202402050455/@xen-orchestra/xva/importVm.mjs:28:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at importVdi (file:///opt/xo/xo-builds/xen-orchestra-202402050455/@xen-orchestra/xva/importVdi.mjs:6:17)
at file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xo-server/src/xo-mixins/migrate-vm.mjs:260:21
at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202402050455/@vates/task/index.js:158:22)
at Task.run (/opt/xo/xo-builds/xen-orchestra-202402050455/@vates/task/index.js:141:20)"
}
and from journalctl:
Feb 05 05:12:04 xoa-fs xo-server[32410]: 2024-02-05T10:12:04.864Z xo:xo-server WARN possibly unhandled rejection {
Feb 05 05:12:04 xoa-fs xo-server[32410]: error: Error: already finalized or destroyed
Feb 05 05:12:04 xoa-fs xo-server[32410]: at Pack.entry (/opt/xo/xo-builds/xen-orchestra-202402050455/node_modules/tar-stream/pack.js:138:51)
Feb 05 05:12:04 xoa-fs xo-server[32410]: at Pack.resolver (/opt/xo/xo-builds/xen-orchestra-202402050455/node_modules/promise-toolbox/fromCallback.js:5:6)
Feb 05 05:12:04 xoa-fs xo-server[32410]: at Promise._execute (/opt/xo/xo-builds/xen-orchestra-202402050455/node_modules/bluebird/js/release/debuggability.js:384:9)
Feb 05 05:12:04 xoa-fs xo-server[32410]: at Promise._resolveFromExecutor (/opt/xo/xo-builds/xen-orchestra-202402050455/node_modules/bluebird/js/release/promise.js:518:18)
Feb 05 05:12:04 xoa-fs xo-server[32410]: at new Promise (/opt/xo/xo-builds/xen-orchestra-202402050455/node_modules/bluebird/js/release/promise.js:103:10)
Feb 05 05:12:04 xoa-fs xo-server[32410]: at Pack.fromCallback (/opt/xo/xo-builds/xen-orchestra-202402050455/node_modules/promise-toolbox/fromCallback.js:9:10)
Feb 05 05:12:04 xoa-fs xo-server[32410]: at writeBlock (file:///opt/xo/xo-builds/xen-orchestra-202402050455/@xen-orchestra/xva/_writeDisk.mjs:15:22)
Feb 05 05:12:04 xoa-fs xo-server[32410]: }
Feb 05 05:12:06 xoa-fs xo-server[32410]: root@10.96.22.111 Xapi#putResource /import/ XapiError: IMPORT_ERROR(INTERNAL_ERROR: [ Unix.Unix_error(Unix.ENOSPC, "write", "") ])
Feb 05 05:12:06 xoa-fs xo-server[32410]: at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xen-api/_XapiError.mjs:16:12)
Feb 05 05:12:06 xoa-fs xo-server[32410]: at default (file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xen-api/_getTaskResult.mjs:11:29)
Feb 05 05:12:06 xoa-fs xo-server[32410]: at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xen-api/index.mjs:1006:24)
Feb 05 05:12:06 xoa-fs xo-server[32410]: at file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xen-api/index.mjs:1040:14
Feb 05 05:12:06 xoa-fs xo-server[32410]: at Array.forEach (<anonymous>)
Feb 05 05:12:06 xoa-fs xo-server[32410]: at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xen-api/index.mjs:1030:12)
Feb 05 05:12:06 xoa-fs xo-server[32410]: at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202402050455/packages/xen-api/index.mjs:1203:14) {
Feb 05 05:12:06 xoa-fs xo-server[32410]: code: 'IMPORT_ERROR',
Feb 05 05:12:06 xoa-fs xo-server[32410]: params: [ 'INTERNAL_ERROR: [ Unix.Unix_error(Unix.ENOSPC, "write", "") ]' ],
Feb 05 05:12:06 xoa-fs xo-server[32410]: call: undefined,
Feb 05 05:12:06 xoa-fs xo-server[32410]: url: undefined,
Feb 05 05:12:06 xoa-fs xo-server[32410]: task: task {
Feb 05 05:12:06 xoa-fs xo-server[32410]: uuid: '0f812914-46c0-fe29-d563-1af7bca72d96',
Feb 05 05:12:06 xoa-fs xo-server[32410]: name_label: '[XO] VM import',
Feb 05 05:12:06 xoa-fs xo-server[32410]: name_description: '',
Feb 05 05:12:06 xoa-fs xo-server[32410]: allowed_operations: [],
Feb 05 05:12:06 xoa-fs xo-server[32410]: current_operations: {},
Feb 05 05:12:06 xoa-fs xo-server[32410]: created: '20240205T10:07:04Z',
Feb 05 05:12:06 xoa-fs xo-server[32410]: finished: '20240205T10:12:06Z',
Feb 05 05:12:06 xoa-fs xo-server[32410]: status: 'failure',
Feb 05 05:12:06 xoa-fs xo-server[32410]: resident_on: 'OpaqueRef:85a049dc-296e-4ef0-bdbc-82e2845ecd68',
Feb 05 05:12:06 xoa-fs xo-server[32410]: progress: 1,
Feb 05 05:12:06 xoa-fs xo-server[32410]: type: '<none/>',
Feb 05 05:12:06 xoa-fs xo-server[32410]: result: '',
Feb 05 05:12:06 xoa-fs xo-server[32410]: error_info: [
Feb 05 05:12:06 xoa-fs xo-server[32410]: 'IMPORT_ERROR',
Feb 05 05:12:06 xoa-fs xo-server[32410]: 'INTERNAL_ERROR: [ Unix.Unix_error(Unix.ENOSPC, "write", "") ]'
Feb 05 05:12:06 xoa-fs xo-server[32410]: ],
Feb 05 05:12:06 xoa-fs xo-server[32410]: other_config: { object_creation: 'complete' },
Feb 05 05:12:06 xoa-fs xo-server[32410]: subtask_of: 'OpaqueRef:NULL',
Feb 05 05:12:06 xoa-fs xo-server[32410]: subtasks: [],
Feb 05 05:12:06 xoa-fs xo-server[32410]: backtrace: '(((process xapi)(filename lib/backtrace.ml)(line 210))((process xapi)(filename ocaml/xapi/import.ml)(line 2021))((process xapi)(filename ocaml/xapi/server_>
Feb 05 05:12:06 xoa-fs xo-server[32410]: }
Feb 05 05:12:06 xoa-fs xo-server[32410]: }
Feb 05 05:12:06 xoa-fs xo-server[32410]: 2024-02-05T10:12:06.930Z xo:api WARN admin@admin.net | vm.importMultipleFromEsxi(...) [5m] =!> Error: no opaque ref found in undefined