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

    vmware import failing

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 1 Posters 290 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.
    • M Offline
      manilx
      last edited by

      Hi

      I yesterday imported a Windows VM using the new GUI interface without issues.
      Today I'm trying the same again on another VM (tried a couple) and I always get an error:

      vm.importFromEsxi
      {
        "host": "192.168.1.25",
        "network": "7963c77c-3d84-0648-4565-25a426ea0b75",
        "password": "* obfuscated *",
        "sr": {
          "type": "SR",
          "content_type": "",
          "physical_usage": 689145118720,
          "allocationStrategy": "thick",
          "current_operations": {},
          "inMaintenanceMode": false,
          "name_description": "Hardware HBA SR [HP - 00c0ff1ae6650000b6b0ac5b01000000]",
          "name_label": "HP P2000 VDISK1_v002",
          "size": 1199029878784,
          "shared": true,
          "SR_type": "lvmohba",
          "tags": [],
          "usage": 426107731968,
          "VDIs": [
            "63f498aa-aa33-4e4d-985c-100e649f9af0",
            "a04e2b5e-ab62-45f7-a24a-e6c295c30007",
            "769aa260-aeeb-4077-88e4-82ab3576074f",
            "da695ba4-4de9-4925-9774-efca772b993e",
            "398cdc58-b4ed-41e9-8949-a36eef7b4d7e",
            "f6e4d94c-d8cd-4a7f-9dc1-0631e4df6806",
            "70679534-4036-457d-9014-0f009cfb9d0c",
            "38105776-3e0a-44d1-a8d2-18a397be5ad6",
            "7afec750-dc11-4067-9782-63467ee4f22f",
            "4aa8d698-193c-47c5-af59-5b5455460732",
            "26986801-d833-446a-90d6-711910ebb212",
            "cdd84fc3-08e5-46bf-a8fc-d8498636c91b",
            "6ffc7cf6-3201-4388-a647-f9bdefd3dd90",
            "4ac80d99-5483-4b1f-a4b9-e8dd0097cbc3"
          ],
          "other_config": {
            "auto-scan": "false"
          },
          "sm_config": {
            "allocation": "thick",
            "use_vhd": "true",
            "multipathable": "true",
            "devserial": "scsi-3600c0ff0001ae665b6b0ac5b01000000"
          },
          "$container": "3f3a4a1b-1082-38fb-2bf6-a539fcdad72b",
          "$PBDs": [
            "e6ea3273-84bd-2c2f-ee82-fafc2e7c5f9d",
            "6ee0639e-b2a6-8cf8-9917-f6e24c9ea490"
          ],
          "id": "21e1e4af-fe55-4486-f976-a73b03c2ba24",
          "uuid": "21e1e4af-fe55-4486-f976-a73b03c2ba24",
          "$pool": "3f3a4a1b-1082-38fb-2bf6-a539fcdad72b",
          "$poolId": "3f3a4a1b-1082-38fb-2bf6-a539fcdad72b",
          "_xapiRef": "OpaqueRef:a8259ecb-bd4e-44e4-9f93-77a0db046a21"
        },
        "sslVerify": false,
        "stopSource": false,
        "thin": false,
        "user": "root",
        "vm": "24"
      }
      {
        "code": 10,
        "data": {
          "errors": [
            {
              "instancePath": "/sr",
              "schemaPath": "#/properties/sr/type",
              "keyword": "type",
              "params": {
                "type": "string"
              },
              "message": "must be string"
            }
          ]
        },
        "message": "invalid parameters",
        "name": "XoError",
        "stack": "XoError: invalid parameters
          at Module.invalidParameters (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32)
          at Xo.call (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:65:20)
          at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:390:19)"
      }
      
      Doing the same as the 1st time.
      What's wrong?
      
      M 1 Reply Last reply Reply Quote 0
      • M Offline
        manilx @manilx
        last edited by

        @manilx I updated XO to the latest release (Updating Xen Orchestra from '63ee6b7f0' to '84e38505c') and tried again: Worked!

        BUT with this new release I have the following issue: https://xcp-ng.org/forum/topic/7020/metadata-backups-suddenly-failing

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