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

    Pool metadata 8.2 to 8.3

    Scheduled Pinned Locked Moved Solved Backup
    3 Posts 2 Posters 121 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.
    • Tristis OrisT Offline
      Tristis Oris Top contributor
      last edited by

      In fact of upcoming upgrade to 8.3, i tested restore 8.2 pool meta to 8.3, but it incompatible.
      Is it intended to be, and only way is a fresh install and reconfiguration?

      metadataBackup.restore
      {
        "id": "4b6d24a3-0b1e-48d5-aac2-a06e3a8ee485/xo-pool-metadata-backups/a50b6c46-d19d-49bd-a382-7f97c89a8043/7cf0640c-f708-c169-3073-167f7da4e3dd/20241002T090950Z",
        "pool": "352ab61a-7568-8621-c49b-9c1c25d5afb7"
      }
      {
        "code": "RESTORE_INCOMPATIBLE_VERSION",
        "params": [],
        "url": "",
        "task": {
          "uuid": "55e813b3-cca2-a28f-a19f-7b27b7216bb5",
          "name_label": "[XO] Import pool metadata",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20241002T09:11:17Z",
          "finished": "20241002T09:11:17Z",
          "status": "failure",
          "resident_on": "OpaqueRef:d99b64ce-778a-e68d-2235-59e83e9fa767",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "RESTORE_INCOMPATIBLE_VERSION"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/pool_db_backup.ml)(line 70))((process xapi)(filename ocaml/xapi/pool_db_backup.ml)(line 194))((process xapi)(filename ocaml/xapi/pool_db_backup.ml)(line 243))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 72)))"
        },
        "message": "RESTORE_INCOMPATIBLE_VERSION()",
        "name": "XapiError",
        "stack": "XapiError: RESTORE_INCOMPATIBLE_VERSION()
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202409301612/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202409301612/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202409301612/packages/xen-api/index.mjs:1041:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202409301612/packages/xen-api/index.mjs:1075:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202409301612/packages/xen-api/index.mjs:1065:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202409301612/packages/xen-api/index.mjs:1238:14)"
      }
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Metadata restore is meant to be done at the same version of XCP-ng, because otherwise the database/structure is different. You will NEVER upgrade this way.

        The right way to upgrade is to use the ISO, it will also make a backup of your 8.2 in case you have an issue, so you can restore it.

        Tristis OrisT 1 Reply Last reply Reply Quote 0
        • Tristis OrisT Offline
          Tristis Oris Top contributor @olivierlambert
          last edited by

          @olivierlambert thanks, just to be sure.

          1 Reply Last reply Reply Quote 0
          • Tristis OrisT Tristis Oris marked this topic as a question on
          • Tristis OrisT Tristis Oris has marked this topic as solved on
          • First post
            Last post