XOCE - export VM error
-
When i want to export a vm I have an error and export is not happen, this happens whether it is with compression or not
this happens starting with commit 6aa5ec6eb69cc286ee639f208703a9066878b31c
The commit eee4981d4c9df6a1662d5272591b7552e46a119d is okThe snapshot is ok but when download shod start I get this error
-
Have you tried on a more recent commit? I'm on eddd6880f2e3e08dbfbf3ceec90441f26fc45ffb and I was able to export a snapshot without any issues.
-
Yes, I first noticed this with commit ec81e90153b655cf4a25530766f0a7b81a4428a9, and and I downgrade step by step until eee4981d4c9df6a1662d5272591b7552e46a119d .
I'm not trying to export a snapshot, I export VM that is allrady running by accessing the button below.
In the first post I took those photos to show you that the snapshot it starts but gives an error on export. -
@Gheppy OIC. I assumed that you were exporting a snapshot because that was the tab you had visible in the first image.
I'm seeing the same issue. Here's the error from the system logs --
Mar 26 06:17:22 ubuntuxo xo-server[686]: 2022-03-26T11:17:22.171Z xo:xo ERROR HTTP request error { Mar 26 06:17:22 ubuntuxo xo-server[686]: error: XapiError: MESSAGE_METHOD_UNKNOWN(OpaqueRef:950a02d4-61c7-4f68-839f-cd4e160cab79.get_record) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) Mar 26 06:17:22 ubuntuxo xo-server[686]: at /opt/xen-orchestra/packages/xen-api/src/transports/json-rpc.js:36:27 Mar 26 06:17:22 ubuntuxo xo-server[686]: at AsyncResource.runInAsyncScope (node:async_hooks:201:9) Mar 26 06:17:22 ubuntuxo xo-server[686]: at cb (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:355:42) Mar 26 06:17:22 ubuntuxo xo-server[686]: at tryCatcher (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:16:23) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Promise._settlePromiseFromHandler (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:547:31) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Promise._settlePromise (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:604:18) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Promise._settlePromise0 (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:649:10) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Promise._settlePromises (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:729:18) Mar 26 06:17:22 ubuntuxo xo-server[686]: at _drainQueueStep (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:93:12) Mar 26 06:17:22 ubuntuxo xo-server[686]: at _drainQueue (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:86:9) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Async._drainQueues (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:102:5) Mar 26 06:17:22 ubuntuxo xo-server[686]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:1 5:14) Mar 26 06:17:22 ubuntuxo xo-server[686]: at processImmediate (node:internal/timers:466:21) Mar 26 06:17:22 ubuntuxo xo-server[686]: at process.topLevelDomainCallback (node:domain:152:15) Mar 26 06:17:22 ubuntuxo xo-server[686]: at process.callbackTrampoline (node:internal/async_hooks:128:24) { Mar 26 06:17:22 ubuntuxo xo-server[686]: code: 'MESSAGE_METHOD_UNKNOWN', Mar 26 06:17:22 ubuntuxo xo-server[686]: params: [ 'OpaqueRef:950a02d4-61c7-4f68-839f-cd4e160cab79.get_record' ], Mar 26 06:17:22 ubuntuxo xo-server[686]: call: { Mar 26 06:17:22 ubuntuxo xo-server[686]: method: 'OpaqueRef:950a02d4-61c7-4f68-839f-cd4e160cab79.get_record', Mar 26 06:17:22 ubuntuxo xo-server[686]: params: [Array] Mar 26 06:17:22 ubuntuxo xo-server[686]: }, Mar 26 06:17:22 ubuntuxo xo-server[686]: url: undefined, Mar 26 06:17:22 ubuntuxo xo-server[686]: task: undefined Mar 26 06:17:22 ubuntuxo xo-server[686]: } Mar 26 06:17:22 ubuntuxo xo-server[686]: }
-
Pinging @julien-f on this.
-
I see the issue, I'm on it.
-
Fixed, thanks for the report
https://github.com/vatesfr/xen-orchestra/commit/7830c89e66e178921695aa5e17670717703ef290