XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XOCE - export VM error

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 4 Posters 470 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GheppyG Offline
      Gheppy
      last edited by

      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 ok

      The snapshot is ok but when download shod start I get this error

      6f880c0b-04f4-45c0-9677-1cf7c5eb5142-image.png

      3e76dd02-7c35-4e4d-8b9c-55b8c03fa5e8-image.png

      b4d2380f-8935-4ca1-8734-a4fb16babffc-image.png

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Have you tried on a more recent commit? I'm on eddd6880f2e3e08dbfbf3ceec90441f26fc45ffb and I was able to export a snapshot without any issues.

        1 Reply Last reply Reply Quote 0
        • GheppyG Offline
          Gheppy
          last edited by Gheppy

          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.

          56a8e617-35eb-4f75-828c-73bda1af3f9d-image.png

          DanpD 1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team @Gheppy
            last edited by

            @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]: }
            
            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Pinging @julien-f on this.

              julien-fJ 1 Reply Last reply Reply Quote 0
              • julien-fJ Offline
                julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
                last edited by

                I see the issue, I'm on it.

                julien-fJ 1 Reply Last reply Reply Quote 0
                • julien-fJ Offline
                  julien-f Vates 🪐 Co-Founder XO Team @julien-f
                  last edited by julien-f

                  Fixed, thanks for the report 🙂

                  https://github.com/vatesfr/xen-orchestra/commit/7830c89e66e178921695aa5e17670717703ef290

                  0 julien-f committed to vatesfr/xen-orchestra
                  fix(xo-server/Xapi#exportVm): correctly use getRecord
                  
                  Introduced by 6aa5ec6eb
                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post