Unable to import VMDK file
-
I downloaded the latest W11 VM from here. After extracting the VMDK file, I tried importing it into XO build from the latest sources. This fails without much of an explanation in the GUI. Here are the logs --
Dec 10 19:31:17 ubuntuxo xo-server[644]: 2022-12-11T01:31:17.093Z xo:xo ERROR HTTP request error { Dec 10 19:31:17 ubuntuxo xo-server[644]: data: { Dec 10 19:31:17 ubuntuxo xo-server[644]: description: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: name: 'WinDev2212Eval-disk1.vmdk', Dec 10 19:31:17 ubuntuxo xo-server[644]: srId: 'd556b0f0-b9b8-0ead-ab33-85ac3f5eb02d', Dec 10 19:31:17 ubuntuxo xo-server[644]: type: 'vmdk', Dec 10 19:31:17 ubuntuxo xo-server[644]: vmdkData: { Dec 10 19:31:17 ubuntuxo xo-server[644]: capacity: 134217728000, Dec 10 19:31:17 ubuntuxo xo-server[644]: grainLogicalAddressList: [Uint32Array], Dec 10 19:31:17 ubuntuxo xo-server[644]: grainFileOffsetList: [Uint32Array] Dec 10 19:31:17 ubuntuxo xo-server[644]: }, Dec 10 19:31:17 ubuntuxo xo-server[644]: xapi: Xapi { Dec 10 19:31:17 ubuntuxo xo-server[644]: _events: [Object: null prototype], Dec 10 19:31:17 ubuntuxo xo-server[644]: _eventsCount: 2, Dec 10 19:31:17 ubuntuxo xo-server[644]: _maxListeners: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: connect: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _sessionCallRetryOptions: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _sessionOpenRetryOptions: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _sessionOpen: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _watchEvents: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _addSyncStackTrace: [Function: identity], Dec 10 19:31:17 ubuntuxo xo-server[644]: _callTimeout: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _httpInactivityTimeout: 300000, Dec 10 19:31:17 ubuntuxo xo-server[644]: _eventPollDelay: 60000, Dec 10 19:31:17 ubuntuxo xo-server[644]: _pool: [pool], Dec 10 19:31:17 ubuntuxo xo-server[644]: _readOnly: false, Dec 10 19:31:17 ubuntuxo xo-server[644]: _RecordsByType: [Object: null prototype], Dec 10 19:31:17 ubuntuxo xo-server[644]: _reverseHostIpAddresses: false, Dec 10 19:31:17 ubuntuxo xo-server[644]: _call: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _roCallRetryOptions: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _auth: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _allowUnauthorized: true, Dec 10 19:31:17 ubuntuxo xo-server[644]: _humanId: 'root@192.168.1.21', Dec 10 19:31:17 ubuntuxo xo-server[644]: _transport: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _url: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _resolveConnected: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: _connected: [Promise [Object]], Dec 10 19:31:17 ubuntuxo xo-server[644]: _disconnected: [Promise [Object]], Dec 10 19:31:17 ubuntuxo xo-server[644]: _sessionId: 'OpaqueRef:cc38c131-c678-419b-a38e-08980cb24448', Dec 10 19:31:17 ubuntuxo xo-server[644]: _status: 'connected', Dec 10 19:31:17 ubuntuxo xo-server[644]: _watchEventsError: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: _lastEventFetchedTimestamp: 1670722265338, Dec 10 19:31:17 ubuntuxo xo-server[644]: _objects: [Collection], Dec 10 19:31:17 ubuntuxo xo-server[644]: _debounce: 200, Dec 10 19:31:17 ubuntuxo xo-server[644]: _objectsByRef: [Object: null prototype], Dec 10 19:31:17 ubuntuxo xo-server[644]: _resolveObjectsFetched: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: _objectsFetched: [Promise [Object]], Dec 10 19:31:17 ubuntuxo xo-server[644]: _eventWatchers: [Object: null prototype] {}, Dec 10 19:31:17 ubuntuxo xo-server[644]: _taskWatchers: [Object: null prototype], Dec 10 19:31:17 ubuntuxo xo-server[644]: _watchedTypes: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: _callRetryWhenTooManyPendingTasks: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _maxUncoalescedVdis: 1, Dec 10 19:31:17 ubuntuxo xo-server[644]: _syncHookSecret: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: _syncHookTimeout: undefined, Dec 10 19:31:17 ubuntuxo xo-server[644]: _vdiDestroyRetryWhenInUse: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _genericWatchers: Set(0) {}, Dec 10 19:31:17 ubuntuxo xo-server[644]: _objectWatchers: [Object: null prototype] {}, Dec 10 19:31:17 ubuntuxo xo-server[644]: _guessVhdSizeOnImport: true, Dec 10 19:31:17 ubuntuxo xo-server[644]: _restartHostTimeout: 1200000, Dec 10 19:31:17 ubuntuxo xo-server[644]: VDI_exportContent: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: VM_export: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _migrateVmWithStorageMotion: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: VM_snapshot: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: getObject: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _resolveDisconnected: [Function (anonymous)], Dec 10 19:31:17 ubuntuxo xo-server[644]: _types: [Array], Dec 10 19:31:17 ubuntuxo xo-server[644]: _lcToTypes: [Object: null prototype], Dec 10 19:31:17 ubuntuxo xo-server[644]: xo: [Object], Dec 10 19:31:17 ubuntuxo xo-server[644]: _nTasks: 1, Dec 10 19:31:17 ubuntuxo xo-server[644]: [Symbol(kCapture)]: false Dec 10 19:31:17 ubuntuxo xo-server[644]: } Dec 10 19:31:17 ubuntuxo xo-server[644]: }, Dec 10 19:31:17 ubuntuxo xo-server[644]: error: Error: Request aborted Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.onReqAborted (/opt/xen-orchestra/node_modules/multiparty/index.js:197:17) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.emit (node:events:513:28) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage._destroy (node:_http_incoming:224:10) Dec 10 19:31:17 ubuntuxo xo-server[644]: at _destroy (node:internal/streams/destroy:109:10) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.destroy (node:internal/streams/destroy:71:5) Dec 10 19:31:17 ubuntuxo xo-server[644]: at abortIncoming (node:_http_server:747:9) Dec 10 19:31:17 ubuntuxo xo-server[644]: at socketOnClose (node:_http_server:741:3) Dec 10 19:31:17 ubuntuxo xo-server[644]: at Socket.emit (node:events:525:35) Dec 10 19:31:17 ubuntuxo xo-server[644]: at Socket.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) Dec 10 19:31:17 ubuntuxo xo-server[644]: at TCP.<anonymous> (node:net:313:12) Dec 10 19:31:17 ubuntuxo xo-server[644]: at TCP.callbackTrampoline (node:internal/async_hooks:130:17), Dec 10 19:31:17 ubuntuxo xo-server[644]: fn: 'handleImport' Dec 10 19:31:17 ubuntuxo xo-server[644]: } Dec 10 19:31:17 ubuntuxo xo-server[644]: 2022-12-11T01:31:17.103Z xo:xo-server ERROR unhandled error event { Dec 10 19:31:17 ubuntuxo xo-server[644]: error: Error: HTTP connection abruptly closed Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.emitAbortedError (/opt/xen-orchestra/node_modules/http-request-plus/index.js:83:19) Dec 10 19:31:17 ubuntuxo xo-server[644]: at Object.onceWrapper (node:events:627:28) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.emit (node:events:513:28) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage._destroy (node:_http_incoming:224:10) Dec 10 19:31:17 ubuntuxo xo-server[644]: at _destroy (node:internal/streams/destroy:109:10) Dec 10 19:31:17 ubuntuxo xo-server[644]: at IncomingMessage.destroy (node:internal/streams/destroy:71:5) Dec 10 19:31:17 ubuntuxo xo-server[644]: at TLSSocket.socketCloseListener (node:_http_client:454:11) Dec 10 19:31:17 ubuntuxo xo-server[644]: at TLSSocket.emit (node:events:525:35) Dec 10 19:31:17 ubuntuxo xo-server[644]: at TLSSocket.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) Dec 10 19:31:17 ubuntuxo xo-server[644]: at node:net:313:12 Dec 10 19:31:17 ubuntuxo xo-server[644]: at TCP.done (node:_tls_wrap:587:7) Dec 10 19:31:17 ubuntuxo xo-server[644]: at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { Dec 10 19:31:17 ubuntuxo xo-server[644]: canceled: false, Dec 10 19:31:17 ubuntuxo xo-server[644]: method: 'PUT', Dec 10 19:31:17 ubuntuxo xo-server[644]: url: 'https://192.168.1.21/import_raw_vdi/?format=vhd&vdi=OpaqueRef%3A68788ccc-7cc7-487a-9b47-a73f7dd825e7&session_id=OpaqueRef%3Acc38c131-c678-419b-a38e-08980cb24448&task_id=OpaqueRef%3A99f53994-1132-4394-bd9d-5dc6b9f31d13', Dec 10 19:31:17 ubuntuxo xo-server[644]: timeout: false Dec 10 19:31:17 ubuntuxo xo-server[644]: } Dec 10 19:31:17 ubuntuxo xo-server[644]: } Dec 10 19:31:18 ubuntuxo xo-server[644]: 2022-12-11T01:31:18.268Z xo:xo-server WARN possibly unhandled rejection { Dec 10 19:31:18 ubuntuxo xo-server[644]: error: Error: Cannot render headers after they are sent to the client Dec 10 19:31:18 ubuntuxo xo-server[644]: at new NodeError (node:internal/errors:393:5) Dec 10 19:31:18 ubuntuxo xo-server[644]: at ServerResponse.writeHead (node:_http_server:381:13) Dec 10 19:31:18 ubuntuxo xo-server[644]: at ServerResponse.writeHead (/opt/xen-orchestra/node_modules/on-headers/index.js:44:26) Dec 10 19:31:18 ubuntuxo xo-server[644]: at ServerResponse.writeHead (/opt/xen-orchestra/node_modules/on-headers/index.js:44:26) Dec 10 19:31:18 ubuntuxo xo-server[644]: at Form.<anonymous> (file:///opt/xen-orchestra/packages/xo-server/src/api/disk.mjs:236:13) { Dec 10 19:31:18 ubuntuxo xo-server[644]: code: 'ERR_HTTP_HEADERS_SENT' Dec 10 19:31:18 ubuntuxo xo-server[644]: } Dec 10 19:31:18 ubuntuxo xo-server[644]: }I tested this with XOA (latest channel) and it also fails to import the file. Nothing logged in the GUI, but this is what shows in the Firefox browser console --
XHRPOSThttp://192.168.1.149/api/jzCx1-MQ6Zcgn4X6Np8fTlMhOAAXqatIpgXXQPlgE6o POST http://192.168.1.149/api/jzCx1-MQ6Zcgn4X6Np8fTlMhOAAXqatIpgXXQPlgE6o Transferred0 GB (0 GB size) Referrer Policystrict-origin-when-cross-origin Uncaught TypeError: NetworkError when attempting to fetch resource. log-error.js:10:15 default log-error.js:10 (Async: setTimeout handler) default log-error.js:5 e action-button.js:130 throw self-hosted:1766 b action-button.js:10 s action-button.js:10 -
FWIW, it also fails when attempting to import the related OVA file.
Dec 11 12:22:59 ubuntuxo xo-server[644]: 2022-12-11T18:22:59.644Z xo:xapi WARN retry { Dec 11 12:22:59 ubuntuxo xo-server[644]: attemptNumber: 0, Dec 11 12:22:59 ubuntuxo xo-server[644]: delay: 5000, Dec 11 12:22:59 ubuntuxo xo-server[644]: error: XapiError: VDI_IN_USE(OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c, destroy) Dec 11 12:22:59 ubuntuxo xo-server[644]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Dec 11 12:22:59 ubuntuxo xo-server[644]: at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) Dec 11 12:22:59 ubuntuxo xo-server[644]: at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:954:37) Dec 11 12:22:59 ubuntuxo xo-server[644]: at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:988:14) Dec 11 12:22:59 ubuntuxo xo-server[644]: at Array.forEach (<anonymous>) Dec 11 12:22:59 ubuntuxo xo-server[644]: at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:978:12) Dec 11 12:22:59 ubuntuxo xo-server[644]: at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:1144:14) { Dec 11 12:22:59 ubuntuxo xo-server[644]: code: 'VDI_IN_USE', Dec 11 12:22:59 ubuntuxo xo-server[644]: params: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c', 'destroy' ], Dec 11 12:22:59 ubuntuxo xo-server[644]: call: undefined, Dec 11 12:22:59 ubuntuxo xo-server[644]: url: undefined, Dec 11 12:22:59 ubuntuxo xo-server[644]: task: task { Dec 11 12:22:59 ubuntuxo xo-server[644]: uuid: '58a1aa2f-ed8c-3a12-9ddb-14950a95c79d', Dec 11 12:22:59 ubuntuxo xo-server[644]: name_label: 'Async.VDI.destroy', Dec 11 12:22:59 ubuntuxo xo-server[644]: name_description: '', Dec 11 12:22:59 ubuntuxo xo-server[644]: allowed_operations: [], Dec 11 12:22:59 ubuntuxo xo-server[644]: current_operations: {}, Dec 11 12:22:59 ubuntuxo xo-server[644]: created: '20221211T18:22:59Z', Dec 11 12:22:59 ubuntuxo xo-server[644]: finished: '20221211T18:22:59Z', Dec 11 12:22:59 ubuntuxo xo-server[644]: status: 'failure', Dec 11 12:22:59 ubuntuxo xo-server[644]: resident_on: 'OpaqueRef:e2781353-8cd6-0938-108d-1b7933d4c739', Dec 11 12:22:59 ubuntuxo xo-server[644]: progress: 1, Dec 11 12:22:59 ubuntuxo xo-server[644]: type: '<none/>', Dec 11 12:22:59 ubuntuxo xo-server[644]: result: '', Dec 11 12:22:59 ubuntuxo xo-server[644]: error_info: [Array], Dec 11 12:22:59 ubuntuxo xo-server[644]: other_config: {}, Dec 11 12:22:59 ubuntuxo xo-server[644]: subtask_of: 'OpaqueRef:NULL', Dec 11 12:22:59 ubuntuxo xo-server[644]: subtasks: [], Dec 11 12:22:59 ubuntuxo xo-server[644]: backtrace: '(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4697))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 233))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 104)))' Dec 11 12:22:59 ubuntuxo xo-server[644]: } Dec 11 12:22:59 ubuntuxo xo-server[644]: }, Dec 11 12:22:59 ubuntuxo xo-server[644]: fn: 'destroy', Dec 11 12:22:59 ubuntuxo xo-server[644]: arguments: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c' ], Dec 11 12:22:59 ubuntuxo xo-server[644]: pool: { Dec 11 12:22:59 ubuntuxo xo-server[644]: uuid: '63b7154a-1a6c-8642-525e-c6abb0acc941', Dec 11 12:22:59 ubuntuxo xo-server[644]: name_label: 'xs-pool' Dec 11 12:22:59 ubuntuxo xo-server[644]: } Dec 11 12:22:59 ubuntuxo xo-server[644]: } Dec 11 12:23:04 ubuntuxo xo-server[644]: 2022-12-11T18:23:04.716Z xo:xapi WARN retry { Dec 11 12:23:04 ubuntuxo xo-server[644]: attemptNumber: 1, Dec 11 12:23:04 ubuntuxo xo-server[644]: delay: 5000, Dec 11 12:23:04 ubuntuxo xo-server[644]: error: XapiError: VDI_IN_USE(OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c, destroy) Dec 11 12:23:04 ubuntuxo xo-server[644]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Dec 11 12:23:04 ubuntuxo xo-server[644]: at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) Dec 11 12:23:04 ubuntuxo xo-server[644]: at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:954:37) Dec 11 12:23:04 ubuntuxo xo-server[644]: at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:988:14) Dec 11 12:23:04 ubuntuxo xo-server[644]: at Array.forEach (<anonymous>) Dec 11 12:23:04 ubuntuxo xo-server[644]: at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:978:12) Dec 11 12:23:04 ubuntuxo xo-server[644]: at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:1144:14) { Dec 11 12:23:04 ubuntuxo xo-server[644]: code: 'VDI_IN_USE', Dec 11 12:23:04 ubuntuxo xo-server[644]: params: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c', 'destroy' ], Dec 11 12:23:04 ubuntuxo xo-server[644]: call: undefined, Dec 11 12:23:04 ubuntuxo xo-server[644]: url: undefined, Dec 11 12:23:04 ubuntuxo xo-server[644]: task: task { Dec 11 12:23:04 ubuntuxo xo-server[644]: uuid: '8f5d66c1-c78f-ca82-c2ab-b5a9673941c3', Dec 11 12:23:04 ubuntuxo xo-server[644]: name_label: 'Async.VDI.destroy', Dec 11 12:23:04 ubuntuxo xo-server[644]: name_description: '', Dec 11 12:23:04 ubuntuxo xo-server[644]: allowed_operations: [], Dec 11 12:23:04 ubuntuxo xo-server[644]: current_operations: {}, Dec 11 12:23:04 ubuntuxo xo-server[644]: created: '20221211T18:23:04Z', Dec 11 12:23:04 ubuntuxo xo-server[644]: finished: '20221211T18:23:04Z', Dec 11 12:23:04 ubuntuxo xo-server[644]: status: 'failure', Dec 11 12:23:04 ubuntuxo xo-server[644]: resident_on: 'OpaqueRef:e2781353-8cd6-0938-108d-1b7933d4c739', Dec 11 12:23:04 ubuntuxo xo-server[644]: progress: 1, Dec 11 12:23:04 ubuntuxo xo-server[644]: type: '<none/>', Dec 11 12:23:04 ubuntuxo xo-server[644]: result: '', Dec 11 12:23:04 ubuntuxo xo-server[644]: error_info: [Array], Dec 11 12:23:04 ubuntuxo xo-server[644]: other_config: {}, Dec 11 12:23:04 ubuntuxo xo-server[644]: subtask_of: 'OpaqueRef:NULL', Dec 11 12:23:04 ubuntuxo xo-server[644]: subtasks: [], Dec 11 12:23:04 ubuntuxo xo-server[644]: backtrace: '(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4697))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 233))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 104)))' Dec 11 12:23:04 ubuntuxo xo-server[644]: } Dec 11 12:23:04 ubuntuxo xo-server[644]: }, Dec 11 12:23:04 ubuntuxo xo-server[644]: fn: 'destroy', Dec 11 12:23:04 ubuntuxo xo-server[644]: arguments: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c' ], Dec 11 12:23:04 ubuntuxo xo-server[644]: pool: { Dec 11 12:23:04 ubuntuxo xo-server[644]: uuid: '63b7154a-1a6c-8642-525e-c6abb0acc941', Dec 11 12:23:04 ubuntuxo xo-server[644]: name_label: 'xs-pool' Dec 11 12:23:04 ubuntuxo xo-server[644]: } Dec 11 12:23:04 ubuntuxo xo-server[644]: } Dec 11 12:23:09 ubuntuxo xo-server[644]: 2022-12-11T18:23:09.783Z xo:xapi WARN retry { Dec 11 12:23:09 ubuntuxo xo-server[644]: attemptNumber: 2, Dec 11 12:23:09 ubuntuxo xo-server[644]: delay: 5000, Dec 11 12:23:09 ubuntuxo xo-server[644]: error: XapiError: VDI_IN_USE(OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c, destroy) Dec 11 12:23:09 ubuntuxo xo-server[644]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Dec 11 12:23:09 ubuntuxo xo-server[644]: at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) Dec 11 12:23:09 ubuntuxo xo-server[644]: at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:954:37) Dec 11 12:23:09 ubuntuxo xo-server[644]: at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:988:14) Dec 11 12:23:09 ubuntuxo xo-server[644]: at Array.forEach (<anonymous>) Dec 11 12:23:09 ubuntuxo xo-server[644]: at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:978:12) Dec 11 12:23:09 ubuntuxo xo-server[644]: at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:1144:14) { Dec 11 12:23:09 ubuntuxo xo-server[644]: code: 'VDI_IN_USE', Dec 11 12:23:09 ubuntuxo xo-server[644]: params: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c', 'destroy' ], Dec 11 12:23:09 ubuntuxo xo-server[644]: call: undefined, Dec 11 12:23:09 ubuntuxo xo-server[644]: url: undefined, Dec 11 12:23:09 ubuntuxo xo-server[644]: task: task { Dec 11 12:23:09 ubuntuxo xo-server[644]: uuid: '583a9672-3154-ecef-8cfe-61d0e4f8d9fd', Dec 11 12:23:09 ubuntuxo xo-server[644]: name_label: 'Async.VDI.destroy', Dec 11 12:23:09 ubuntuxo xo-server[644]: name_description: '', Dec 11 12:23:09 ubuntuxo xo-server[644]: allowed_operations: [], Dec 11 12:23:09 ubuntuxo xo-server[644]: current_operations: {}, Dec 11 12:23:09 ubuntuxo xo-server[644]: created: '20221211T18:23:09Z', Dec 11 12:23:09 ubuntuxo xo-server[644]: finished: '20221211T18:23:09Z', Dec 11 12:23:09 ubuntuxo xo-server[644]: status: 'failure', Dec 11 12:23:09 ubuntuxo xo-server[644]: resident_on: 'OpaqueRef:e2781353-8cd6-0938-108d-1b7933d4c739', Dec 11 12:23:09 ubuntuxo xo-server[644]: progress: 1, Dec 11 12:23:09 ubuntuxo xo-server[644]: type: '<none/>', Dec 11 12:23:09 ubuntuxo xo-server[644]: result: '', Dec 11 12:23:09 ubuntuxo xo-server[644]: error_info: [Array], Dec 11 12:23:09 ubuntuxo xo-server[644]: other_config: {}, Dec 11 12:23:09 ubuntuxo xo-server[644]: subtask_of: 'OpaqueRef:NULL', Dec 11 12:23:09 ubuntuxo xo-server[644]: subtasks: [], Dec 11 12:23:09 ubuntuxo xo-server[644]: backtrace: '(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4697))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 233))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 104)))' Dec 11 12:23:09 ubuntuxo xo-server[644]: } Dec 11 12:23:09 ubuntuxo xo-server[644]: }, Dec 11 12:23:09 ubuntuxo xo-server[644]: fn: 'destroy', Dec 11 12:23:09 ubuntuxo xo-server[644]: arguments: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c' ], Dec 11 12:23:09 ubuntuxo xo-server[644]: pool: { Dec 11 12:23:09 ubuntuxo xo-server[644]: uuid: '63b7154a-1a6c-8642-525e-c6abb0acc941', Dec 11 12:23:09 ubuntuxo xo-server[644]: name_label: 'xs-pool' Dec 11 12:23:09 ubuntuxo xo-server[644]: } Dec 11 12:23:09 ubuntuxo xo-server[644]: } Dec 11 12:23:14 ubuntuxo xo-server[644]: 2022-12-11T18:23:14.846Z xo:xapi WARN retry { Dec 11 12:23:14 ubuntuxo xo-server[644]: attemptNumber: 3, Dec 11 12:23:14 ubuntuxo xo-server[644]: delay: 5000, Dec 11 12:23:14 ubuntuxo xo-server[644]: error: XapiError: VDI_IN_USE(OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c, destroy) Dec 11 12:23:14 ubuntuxo xo-server[644]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Dec 11 12:23:14 ubuntuxo xo-server[644]: at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) Dec 11 12:23:14 ubuntuxo xo-server[644]: at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:954:37) Dec 11 12:23:14 ubuntuxo xo-server[644]: at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:988:14) Dec 11 12:23:14 ubuntuxo xo-server[644]: at Array.forEach (<anonymous>) Dec 11 12:23:14 ubuntuxo xo-server[644]: at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:978:12) Dec 11 12:23:14 ubuntuxo xo-server[644]: at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:1144:14) { Dec 11 12:23:14 ubuntuxo xo-server[644]: code: 'VDI_IN_USE', Dec 11 12:23:14 ubuntuxo xo-server[644]: params: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c', 'destroy' ], Dec 11 12:23:14 ubuntuxo xo-server[644]: call: undefined, Dec 11 12:23:14 ubuntuxo xo-server[644]: url: undefined, Dec 11 12:23:14 ubuntuxo xo-server[644]: task: task { Dec 11 12:23:14 ubuntuxo xo-server[644]: uuid: '3066c895-08b3-8399-8984-ccb15953ae8b', Dec 11 12:23:14 ubuntuxo xo-server[644]: name_label: 'Async.VDI.destroy', Dec 11 12:23:14 ubuntuxo xo-server[644]: name_description: '', Dec 11 12:23:14 ubuntuxo xo-server[644]: allowed_operations: [], Dec 11 12:23:14 ubuntuxo xo-server[644]: current_operations: {}, Dec 11 12:23:14 ubuntuxo xo-server[644]: created: '20221211T18:23:14Z', Dec 11 12:23:14 ubuntuxo xo-server[644]: finished: '20221211T18:23:14Z', Dec 11 12:23:14 ubuntuxo xo-server[644]: status: 'failure', Dec 11 12:23:14 ubuntuxo xo-server[644]: resident_on: 'OpaqueRef:e2781353-8cd6-0938-108d-1b7933d4c739', Dec 11 12:23:14 ubuntuxo xo-server[644]: progress: 1, Dec 11 12:23:14 ubuntuxo xo-server[644]: type: '<none/>', Dec 11 12:23:14 ubuntuxo xo-server[644]: result: '', Dec 11 12:23:14 ubuntuxo xo-server[644]: error_info: [Array], Dec 11 12:23:14 ubuntuxo xo-server[644]: other_config: {}, Dec 11 12:23:14 ubuntuxo xo-server[644]: subtask_of: 'OpaqueRef:NULL', Dec 11 12:23:14 ubuntuxo xo-server[644]: subtasks: [], Dec 11 12:23:14 ubuntuxo xo-server[644]: backtrace: '(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4697))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 233))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 104)))' Dec 11 12:23:14 ubuntuxo xo-server[644]: } Dec 11 12:23:14 ubuntuxo xo-server[644]: }, Dec 11 12:23:14 ubuntuxo xo-server[644]: fn: 'destroy', Dec 11 12:23:14 ubuntuxo xo-server[644]: arguments: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c' ], Dec 11 12:23:14 ubuntuxo xo-server[644]: pool: { Dec 11 12:23:14 ubuntuxo xo-server[644]: uuid: '63b7154a-1a6c-8642-525e-c6abb0acc941', Dec 11 12:23:14 ubuntuxo xo-server[644]: name_label: 'xs-pool' Dec 11 12:23:14 ubuntuxo xo-server[644]: } Dec 11 12:23:14 ubuntuxo xo-server[644]: } Dec 11 12:23:19 ubuntuxo xo-server[644]: 2022-12-11T18:23:19.910Z xo:xapi WARN retry { Dec 11 12:23:19 ubuntuxo xo-server[644]: attemptNumber: 4, Dec 11 12:23:19 ubuntuxo xo-server[644]: delay: 5000, Dec 11 12:23:19 ubuntuxo xo-server[644]: error: XapiError: VDI_IN_USE(OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c, destroy) Dec 11 12:23:19 ubuntuxo xo-server[644]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Dec 11 12:23:19 ubuntuxo xo-server[644]: at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) Dec 11 12:23:19 ubuntuxo xo-server[644]: at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:954:37) Dec 11 12:23:19 ubuntuxo xo-server[644]: at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:988:14) Dec 11 12:23:19 ubuntuxo xo-server[644]: at Array.forEach (<anonymous>) Dec 11 12:23:19 ubuntuxo xo-server[644]: at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:978:12) Dec 11 12:23:19 ubuntuxo xo-server[644]: at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:1144:14) { Dec 11 12:23:19 ubuntuxo xo-server[644]: code: 'VDI_IN_USE', Dec 11 12:23:19 ubuntuxo xo-server[644]: params: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c', 'destroy' ], Dec 11 12:23:19 ubuntuxo xo-server[644]: call: undefined, Dec 11 12:23:19 ubuntuxo xo-server[644]: url: undefined, Dec 11 12:23:19 ubuntuxo xo-server[644]: task: task { Dec 11 12:23:19 ubuntuxo xo-server[644]: uuid: 'bc824896-86c6-1ca9-4dc0-798e17a8c227', Dec 11 12:23:19 ubuntuxo xo-server[644]: name_label: 'Async.VDI.destroy', Dec 11 12:23:19 ubuntuxo xo-server[644]: name_description: '', Dec 11 12:23:19 ubuntuxo xo-server[644]: allowed_operations: [], Dec 11 12:23:19 ubuntuxo xo-server[644]: current_operations: {}, Dec 11 12:23:19 ubuntuxo xo-server[644]: created: '20221211T18:23:19Z', Dec 11 12:23:19 ubuntuxo xo-server[644]: finished: '20221211T18:23:19Z', Dec 11 12:23:19 ubuntuxo xo-server[644]: status: 'failure', Dec 11 12:23:19 ubuntuxo xo-server[644]: resident_on: 'OpaqueRef:e2781353-8cd6-0938-108d-1b7933d4c739', Dec 11 12:23:19 ubuntuxo xo-server[644]: progress: 1, Dec 11 12:23:19 ubuntuxo xo-server[644]: type: '<none/>', Dec 11 12:23:19 ubuntuxo xo-server[644]: result: '', Dec 11 12:23:19 ubuntuxo xo-server[644]: error_info: [Array], Dec 11 12:23:19 ubuntuxo xo-server[644]: other_config: {}, Dec 11 12:23:19 ubuntuxo xo-server[644]: subtask_of: 'OpaqueRef:NULL', Dec 11 12:23:19 ubuntuxo xo-server[644]: subtasks: [], Dec 11 12:23:19 ubuntuxo xo-server[644]: backtrace: '(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4697))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 233))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 104)))' Dec 11 12:23:19 ubuntuxo xo-server[644]: } Dec 11 12:23:19 ubuntuxo xo-server[644]: }, Dec 11 12:23:19 ubuntuxo xo-server[644]: fn: 'destroy', Dec 11 12:23:19 ubuntuxo xo-server[644]: arguments: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c' ], Dec 11 12:23:19 ubuntuxo xo-server[644]: pool: { Dec 11 12:23:19 ubuntuxo xo-server[644]: uuid: '63b7154a-1a6c-8642-525e-c6abb0acc941', Dec 11 12:23:19 ubuntuxo xo-server[644]: name_label: 'xs-pool' Dec 11 12:23:19 ubuntuxo xo-server[644]: } Dec 11 12:23:19 ubuntuxo xo-server[644]: } Dec 11 12:23:24 ubuntuxo xo-server[644]: 2022-12-11T18:23:24.975Z xo:xapi WARN retry { Dec 11 12:23:24 ubuntuxo xo-server[644]: attemptNumber: 5, Dec 11 12:23:24 ubuntuxo xo-server[644]: delay: 5000, Dec 11 12:23:24 ubuntuxo xo-server[644]: error: XapiError: VDI_IN_USE(OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c, destroy) Dec 11 12:23:24 ubuntuxo xo-server[644]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Dec 11 12:23:24 ubuntuxo xo-server[644]: at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) Dec 11 12:23:24 ubuntuxo xo-server[644]: at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:954:37) Dec 11 12:23:24 ubuntuxo xo-server[644]: at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:988:14) Dec 11 12:23:24 ubuntuxo xo-server[644]: at Array.forEach (<anonymous>) Dec 11 12:23:24 ubuntuxo xo-server[644]: at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:978:12) Dec 11 12:23:24 ubuntuxo xo-server[644]: at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:1144:14) { Dec 11 12:23:24 ubuntuxo xo-server[644]: code: 'VDI_IN_USE', Dec 11 12:23:24 ubuntuxo xo-server[644]: params: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c', 'destroy' ], Dec 11 12:23:24 ubuntuxo xo-server[644]: call: undefined, Dec 11 12:23:24 ubuntuxo xo-server[644]: url: undefined, Dec 11 12:23:24 ubuntuxo xo-server[644]: task: task { Dec 11 12:23:24 ubuntuxo xo-server[644]: uuid: '5dd9f0de-2318-ecac-7718-45a8664baaff', Dec 11 12:23:24 ubuntuxo xo-server[644]: name_label: 'Async.VDI.destroy', Dec 11 12:23:24 ubuntuxo xo-server[644]: name_description: '', Dec 11 12:23:24 ubuntuxo xo-server[644]: allowed_operations: [], Dec 11 12:23:24 ubuntuxo xo-server[644]: current_operations: {}, Dec 11 12:23:24 ubuntuxo xo-server[644]: created: '20221211T18:23:24Z', Dec 11 12:23:24 ubuntuxo xo-server[644]: finished: '20221211T18:23:24Z', Dec 11 12:23:24 ubuntuxo xo-server[644]: status: 'failure', Dec 11 12:23:24 ubuntuxo xo-server[644]: resident_on: 'OpaqueRef:e2781353-8cd6-0938-108d-1b7933d4c739', Dec 11 12:23:24 ubuntuxo xo-server[644]: progress: 1, Dec 11 12:23:24 ubuntuxo xo-server[644]: type: '<none/>', Dec 11 12:23:24 ubuntuxo xo-server[644]: result: '', Dec 11 12:23:24 ubuntuxo xo-server[644]: error_info: [Array], Dec 11 12:23:24 ubuntuxo xo-server[644]: other_config: {}, Dec 11 12:23:24 ubuntuxo xo-server[644]: subtask_of: 'OpaqueRef:NULL', Dec 11 12:23:24 ubuntuxo xo-server[644]: subtasks: [], Dec 11 12:23:24 ubuntuxo xo-server[644]: backtrace: '(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4697))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 233))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 104)))' Dec 11 12:23:24 ubuntuxo xo-server[644]: } Dec 11 12:23:24 ubuntuxo xo-server[644]: }, Dec 11 12:23:24 ubuntuxo xo-server[644]: fn: 'destroy', Dec 11 12:23:24 ubuntuxo xo-server[644]: arguments: [ 'OpaqueRef:5683d2df-a2d5-4c39-81e2-ea7e810f534c' ], Dec 11 12:23:24 ubuntuxo xo-server[644]: pool: { Dec 11 12:23:24 ubuntuxo xo-server[644]: uuid: '63b7154a-1a6c-8642-525e-c6abb0acc941', Dec 11 12:23:24 ubuntuxo xo-server[644]: name_label: 'xs-pool' Dec 11 12:23:24 ubuntuxo xo-server[644]: } Dec 11 12:23:24 ubuntuxo xo-server[644]: } -
I failure occurs around the 5 min mark on each attempt. I tried using HTTPS w/ XOA, but the result was the same. I was able to catch these errors that are briefly shown in the browser, but they aren't visible under Settings > Logs.

-
Hey

What about XOA in
stable, same issue? -
@olivierlambert Yes, the issue is the same in stable channel.
-
Apparently I missed this earlier when I checked Settings > Logs --
HTTP handler of vm.import undefined { "message": "Request aborted", "name": "Error", "stack": "Error: Request aborted at IncomingMessage.onReqAborted (/opt/xen-orchestra/node_modules/multiparty/index.js:197:17) at IncomingMessage.emit (node:events:513:28) at IncomingMessage.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) at IncomingMessage._destroy (node:_http_incoming:224:10) at _destroy (node:internal/streams/destroy:109:10) at IncomingMessage.destroy (node:internal/streams/destroy:71:5) at abortIncoming (node:_http_server:747:9) at socketOnClose (node:_http_server:741:3) at Socket.emit (node:events:525:35) at Socket.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) at TCP.<anonymous> (node:net:313:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17)" } -
I wonder what broke "recently" on this

@Danp if you have the patience, could you test "older" XO version on Github? So see if at some point it worked?
-
@olivierlambert I found this prior issue on GH. I reattempted the import from 7387ac, but it still fails.
Starting to wonder if the issue is environmental.

-
Maybe it's specific to this file you have. @Darkbeldin when you can, can you download the file and try on your side?
We need to check on other VMDKs to see if it's a global issue, limited to this VMDK, or finally due to something else in the environment.
-
on it
-
This seems more like an HTTP timeout because it always occurs around the 5 minute mark.
-
@Danp I can confirm tried on latest and stable can't import this VMDK import cutting down in the middle, will have to llok at the xoa logs to see if I can spot any error.
-
We should try other VMDKs I think.
-
@olivierlambert I know it's not a part of this ticket but I'm not able to export ova (vmdk) files and get them to import into anything else. I've tried vmware workstation pro, vmware fusion, and vituralbox.
I get an OVA or if I download the vmdk from the disk menu but even if I added it to an existing vm they either can't read it or it's corrupt and can't be repaired.
These VMs boot and work fine on XCP-ng (I haven't tried to reimport an exported one).
-
This issue is no longer present when testing with latest sources.
-
D Danp referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login