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

    Cannot import .ova Xen Orch from sources

    Scheduled Pinned Locked Moved Xen Orchestra
    3 Posts 3 Posters 207 Views 2 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.
    • M Offline
      marciocosta.pgua 0
      last edited by Danp

      Xen Orchestra, commit e69ae
      xo-server 5.102.0
      xo-web 5.103.0

      I cannot import .ova to Xen Orchestra.
      See below the log error:

      vm.import
      {
        "type": "ova",
        "data": {
          "descriptionLabel": "Other_64",
          "disks": [
            {
              "capacity": 500107862016,
              "descriptionLabel": "Disk Image",
              "nameLabel": "disk1",
              "path": "WMS-WINDOWS-ANJUSS-disk001.vmdk",
              "position": 0
            }
          ],
          "memory": 4294967296,
          "nameLabel": "wms-winsrv-anjuss",
          "networks": [
            "91be313d-099b-c310-7125-c6a2c8fedaff"
          ],
          "nCpus": 1,
          "tables": {}
        },
        "sr": "892d9a2e-9688-ff37-dd53-2e502981f46a"
      }
      {
        "code": 10,
        "data": {
          "errors": [
            {
              "instancePath": "/data",
              "schemaPath": "#/properties/data/additionalProperties",
              "keyword": "additionalProperties",
              "params": {
                "additionalProperty": "tables"
              },
              "message": "must NOT have additional properties"
            }
          ]
        },
        "message": "invalid parameters",
        "name": "XoError",
        "stack": "XoError: invalid parameters
          at Module.invalidParameters (/opt/xen-orchestra/packages/xo-common/api-errors.js:26:11)
          at Xo.call (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:65:20)
          at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:390:19)"
      }
      

      Please help! Thanks!

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

        @marciocosta-pgua-0 said in Cannot import .ova Xen Orch from sources:

        commit e69ae

        I believe this issue has already been fixed by a more recent commit, so you should update your VM and then try again.

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

          You should always start to read this before creating a new thread: https://xen-orchestra.com/docs/community.html

          1 Reply Last reply Reply Quote 0
          • First post
            Last post