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

    "NOT_SUPPORTED_DURING_UPGRADE()" error after yesterday's update

    Scheduled Pinned Locked Moved Backup
    11 Posts 3 Posters 41 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.
    • A Online
      archw
      last edited by olivierlambert

      Yesterday I upgraded to the most recent version of XCP-NG 8.3 via yum update.

      Last night's backup is full of this error using the following:
      Xen Orchestra, commit 8448b
      Xen Orchestra, commit 1de60

      I looked at the logs and they pointed to a snapshot error.

      For the heck of it , I tried running a snapshot on any of the VM's. Each one fails with this error:

      vm.snapshot
      {
        "id": "0b65cf83-8309-3dcc-fa94-a511c77c96bd"
      }
      {
        "code": "NOT_SUPPORTED_DURING_UPGRADE",
        "params": [],
        "task": {
          "uuid": "71b630bb-d299-bab2-c2e9-065cd4bfef5c",
          "name_label": "Async.VM.snapshot",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20251219T14:33:39Z",
          "finished": "20251219T14:33:39Z",
          "status": "failure",
          "resident_on": "OpaqueRef:3ea53cca-30d6-7c19-3f77-3f7eb26c6675",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "NOT_SUPPORTED_DURING_UPGRADE"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_lifecycle.ml)(line 755))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1653))((process xapi)(filename fun.ml)(line 33))((process xapi)(filename fun.ml)(line 38))((process xapi)(filename ocaml/xapi/helpers.ml)(line 1788))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1652))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1740))((process xapi)(filename ocaml/xapi/rbac.ml)(line 229))((process xapi)(filename ocaml/xapi/rbac.ml)(line 239))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
        },
        "message": "NOT_SUPPORTED_DURING_UPGRADE()",
        "name": "XapiError",
        "stack": "XapiError: NOT_SUPPORTED_DURING_UPGRADE()
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202512190914/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202512190914/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202512190914/packages/xen-api/index.mjs:1078:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202512190914/packages/xen-api/index.mjs:1112:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202512190914/packages/xen-api/index.mjs:1102:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202512190914/packages/xen-api/index.mjs:1275:14)"
      

      I've tried restarting the toolstack on the pool master as well as the hosts.

      Any ideas?

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

        Were the hosts rebooting after the patches were applied?

        A 1 Reply Last reply Reply Quote 0
        • A Online
          archw @Danp
          last edited by

          @Danp
          Nope!

          M 1 Reply Last reply Reply Quote 0
          • M Online
            MajorP93 @archw
            last edited by

            @archw I'd advise to read documentation at the part related to rebooting after package upgrades: https://docs.xcp-ng.org/management/updates/#-when-to-reboot

            In this case "xen" updates were included in December package updates which results in one of the criteria for having to reboot being met.

            Personally I reboot every time package updates were installed. You stay on the safe side by doing so.

            A 1 Reply Last reply Reply Quote 0
            • A Online
              archw @MajorP93
              last edited by

              @MajorP93
              I always reboot at the conclusion of the update and did as well this time.

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

                @archw I'm confused by your recent responses. I asked --

                Were the hosts rebooting after the patches were applied?

                to which you replied --

                Nope!

                but then you stated

                I always reboot at the conclusion of the update and did as well this time.

                Which is correct?

                1 Reply Last reply Reply Quote 0
                • M Online
                  MajorP93 @archw
                  last edited by

                  @archw Mhh, Danp asked if you rebooted your hosts after applying the patches and you said nope.

                  A 1 Reply Last reply Reply Quote 0
                  • A Online
                    archw @MajorP93
                    last edited by

                    @MajorP93
                    My bad....because of the word "rebooting" I took the statement "Were the hosts rebooting after the patches were applied?' to mean 'Were the hosts rebooting while the patches were being applied?'

                    To recap:
                    I did reboot after the patches had been applied.

                    Sorry !!

                    M 1 Reply Last reply Reply Quote 0
                    • M Online
                      MajorP93 @archw
                      last edited by MajorP93

                      @archw Ohh I get it now! The "rebooting" instead of "rebooted" can be understood as "did applying the patches cause the systems to reboot" as in system crash or similar.
                      Gotcha!
                      Understood what you meant now.

                      //EDIT: anyways, back to topic. In case the systems were already rebooted after applying the updates I currently do not have an idea what might cause this...

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

                        s/rebooting/rebooted

                        Apologies for the miswording on my end. 🙄

                        A 1 Reply Last reply Reply Quote 0
                        • A Online
                          archw @Danp
                          last edited by

                          @Danp
                          WDE 🙂

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