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

    xo-upload-ova error

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 3 Posters 931 Views 3 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.
    • mdavicoM Offline
      mdavico
      last edited by mdavico

      Good morning, I am trying to import a .ova from xo-upload-ova and I receive

      /opt/xen-orchestra/node_modules/.bin/xo-upload-ova --upload /var/xen-orchestra2/vm_test.ova 093a3641-0770-c9c0-b7cd-97c32bc891df --override 'vm_test' descriptionLabel='undefined' memory=json:4294967296 disks.vmdisk1.descriptionLabel='No description' disks.vmdisk1.capacity=json:31457280000 disks.vmdisk2.descriptionLabel='No description' disks.vmdisk2.capacity=json:94371840000
      data {
        tables: {
          'vm_test-disk1.vmdk': Promise { <pending> },
          'vm_test-disk2.vmdk': Promise { <pending> }
        },
        disks: {
          vmdisk1: {
            capacity: 31457280000,
            path: 'vm_test-disk1.vmdk',
            compression: undefined,
            descriptionLabel: 'No description',
            nameLabel: 'Hard Disk 1',
            position: 0
          },
          vmdisk2: {
            capacity: 94371840000,
            path: 'vm_test-disk2.vmdk',
            compression: undefined,
            descriptionLabel: 'No description',
            nameLabel: 'Hard Disk 2',
            position: 1
          }
        },
        networks: [ 'ca946202-c104-7c29-6178-bb1f1d69f2c8' ],
        nameLabel: 'vm_test',
        descriptionLabel: undefined,
        nCpus: 2,
        memory: 4294967296
      }
      
      ERROR TypeError: _httpRequestPlus.default.post is not a function
          at Object.upload (/opt/xen-orchestra/@xen-orchestra/upload-ova/dist/index.js:225:47)
      āœ– Cannot read properties of undefined (reading 'readAll')
      TypeError: Cannot read properties of undefined (reading 'readAll')
          at Object.upload (/opt/xen-orchestra/@xen-orchestra/upload-ova/dist/index.js:231:55)
      
      florentF 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Does it work with the web UI?

        mdavicoM 1 Reply Last reply Reply Quote 0
        • mdavicoM Offline
          mdavico @olivierlambert
          last edited by

          @olivierlambert I didn't try it because I'm far away and the connection is slow, but I'll try it somehow

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Thank you, this will help to pinpoint where the issue is!

            mdavicoM 1 Reply Last reply Reply Quote 0
            • mdavicoM Offline
              mdavico @olivierlambert
              last edited by

              @olivierlambert import from xenorchestra web correctly, could it be that it returns that error in cli?

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Let me add @florent in the loop

                1 Reply Last reply Reply Quote 0
                • florentF Online
                  florent Vates 🪐 XO Team @mdavico
                  last edited by

                  @mdavico I will re test it tomorrow, to ensure the recent update didn't impact the cli

                  1 Reply Last reply Reply Quote 0

                  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
                  • First post
                    Last post