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

    Migrating Powered Off VM Results In VDI_CBT_ENABLED Failure Error

    Scheduled Pinned Locked Moved Xen Orchestra
    9 Posts 3 Posters 26 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.
    • planedropP Offline
      planedrop Top contributor
      last edited by

      I'm a little lost on this one, and feel like maybe I'm missing something (went back through some previous blogs posts about CBT but didn't see anything related to this and the error doesn't appear on any google searches).

      In my lab, I have a VM I am trying to migrate while powered off and it's giving me the below error whenever I do it.

      },
      "start": 1762284957343,
      "status": "failure",
      "updatedAt": 1762284960438,
      "end": 1762284960438,
      "result": {
        "code": "VDI_CBT_ENABLED",
      

      Any clue what this means? CBT is actually NOT enabled for this particular VDI either.

      My XO is on the latest commit (58f02), hosts are all on 8.3 but don't have the most recent patches yet.

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Pilow @planedrop
        last edited by

        @planedrop does your VM have a snapshot ?

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

          It is possibly active on a snapshot of this VM?

          planedropP 1 Reply Last reply Reply Quote 0
          • planedropP Offline
            planedrop Top contributor @olivierlambert
            last edited by

            @olivierlambert Yes, it does. I should've noticed that, woops.

            Is it not possible to migrate a VM with any snapshots at all or?

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

              I don't think so. The easiest thing to do is to remove the snapshot.

              planedropP 1 Reply Last reply Reply Quote 0
              • planedropP Offline
                planedrop Top contributor @olivierlambert
                last edited by

                @olivierlambert OK this makes sense.

                Though it does bring up 2 thoughts:

                • If backups require a snapshot to exist, how would one migrate a VM that has any associated backups?
                • I think the error should be more descriptive than the CBT error I mentioned above

                Thanks for the help here!

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

                  No, backup doesn't require anything to exist on your XCP-ng host, you can always restore or backup regardless the snapshot.

                  planedropP 1 Reply Last reply Reply Quote 0
                  • planedropP Offline
                    planedrop Top contributor @olivierlambert
                    last edited by

                    @olivierlambert right that makes sense. More so what I meant is, if you have a VM you want to migrate to another host, but that VM has a backup job (and therefore at least one snapshot since the backup jobs require there to be a snapshot at all times), then you can't migrate that VM.

                    So seems to me like backups and VM migration abilities sort of conflict with each other.

                    Or maybe there's something I'm misunderstanding here.

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

                      Doing a storage migration will change the VDI UUID in any case, so it won't be able to do a delta/incremental anyway

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