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

    Migrate failed

    Scheduled Pinned Locked Moved Xen Orchestra
    24 Posts 3 Posters 8.3k 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.
    • jedimarcusJ Offline
      jedimarcus @Ivan
      last edited by

      @ivan there isn't a licence restriction on the XOA end, can you specify exactly what runs on your hosts?

      XenServer 7.2 might have licence restrictions.
      Destination host you didn't specify if XCP-ng or Citrix Hypervisor?

      I 1 Reply Last reply Reply Quote 0
      • I Offline
        Ivan @jedimarcus
        last edited by

        @jedimarcus
        XenServer 7.6(my mistake) is unlicenced.
        Destination host is Xcp-ng 8.2
        VM that I'm trying to migrate is located at the XenServer 7.6.

        SRC host
        d6d8e2ed-eb49-470d-b929-0522353917d3-image.png

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

          @ivan said in Migrate failed:

          LICENCE_RESTRICTION

          That's a message coming from your host. This problem is documented, so please take a look at the XO doc first 😉 https://xen-orchestra.com/docs/backup_troubleshooting.html#license-restriction

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            Ivan @olivierlambert
            last edited by

            @olivierlambert
            yes), I've already did
            xe vm-param-set has-vendor-device=false uuid=4115551a-ecfe-bb1b-668a-feb73cc7e290
            but still has the same issue. and I've tried to create VM from scratch at the xen 7.6(not commercial) and migrate, but that that vm didn't migrate as well.

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

              And you have the exact same issue? Are you sure you are modifying the right object?

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                Ivan @olivierlambert
                last edited by

                @olivierlambert said in Migrate failed:

                act same issue? Are you sure you are modifying the right object?

                yes. "code": "LICENCE_RESTRICTION"
                Absolutely sure. copied uuid from VM xen-center interface.

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

                  Please display here the result of the VM record (xe vm-param-list uuid=<VM UUID>)

                  I 1 Reply Last reply Reply Quote 0
                  • I Offline
                    Ivan @olivierlambert
                    last edited by

                    @olivierlambert
                    4e58d72c-ad88-4d22-946f-b8043a978ce1-image.png

                    bccfb9b5-81d5-4141-9eed-88f69882e8bf-image.png

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

                      Please display a xe vm-param-list uuid=<VM UUID> 🙂

                      I 1 Reply Last reply Reply Quote 0
                      • I Offline
                        Ivan @olivierlambert
                        last edited by

                        @olivierlambert

                        [root@xen8 ~]# xe vm-param-list uuid=73820231-5269-9571-2986-46876a633d66 
                        uuid ( RO)                                  : 73820231-5269-9571-2986-46876a633d66
                                                    name-label ( RW): CentOS8
                                              name-description ( RW): 
                                                  user-version ( RW): 3
                                                 is-a-template ( RW): false
                                           is-default-template ( RW): false
                                                 is-a-snapshot ( RO): false
                                                   snapshot-of ( RO): <not in database>
                                                     snapshots ( RO): 
                                                 snapshot-time ( RO): 19700101T00:00:00Z
                                                 snapshot-info ( RO): 
                                                        parent ( RO): <not in database>
                                                      children ( RO): 
                                             is-control-domain ( RO): false
                                                   power-state ( RO): halted
                                                 memory-actual ( RO): 0
                                                 memory-target ( RO): 0
                                               memory-overhead ( RO): 11534336
                                             memory-static-max ( RW): 1073741824
                                            memory-dynamic-max ( RW): 1073741824
                                            memory-dynamic-min ( RW): 1073741824
                                             memory-static-min ( RW): 134217728
                                              suspend-VDI-uuid ( RW): <not in database>
                                               suspend-SR-uuid ( RW): bf978200-ccf3-5987-c2d0-5a91876e17df
                                                  VCPUs-params (MRW): weight: 256
                                                     VCPUs-max ( RW): 1
                                              VCPUs-at-startup ( RW): 1
                                        actions-after-shutdown ( RW): Destroy
                                          actions-after-reboot ( RW): Restart
                                           actions-after-crash ( RW): Restart
                                                 console-uuids (SRO): 
                                                           hvm ( RO): false
                                                      platform (MRW): timeoffset: -1; hpet: true; nx: true; device-model: qemu-upstream-compat; pae: true; apic: true; viridian: true; acpi: 1; cores-per-socket: 1
                                            allowed-operations (SRO): changing_dynamic_range; changing_shadow_memory; changing_static_range; make_into_template; migrate_send; destroy; export; start_on; start; clone; copy; snapshot
                                            current-operations (SRO): 
                                            blocked-operations (MRW): 
                                           allowed-VBD-devices (SRO): 1; 2; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; 100; 101; 102; 103; 104; 105; 106; 107; 108; 109; 110; 111; 112; 113; 114; 115; 116; 117; 118; 119; 120; 121; 122; 123; 124; 125; 126; 127; 128; 129; 130; 131; 132; 133; 134; 135; 136; 137; 138; 139; 140; 141; 142; 143; 144; 145; 146; 147; 148; 149; 150; 151; 152; 153; 154; 155; 156; 157; 158; 159; 160; 161; 162; 163; 164; 165; 166; 167; 168; 169; 170; 171; 172; 173; 174; 175; 176; 177; 178; 179; 180; 181; 182; 183; 184; 185; 186; 187; 188; 189; 190; 191; 192; 193; 194; 195; 196; 197; 198; 199; 200; 201; 202; 203; 204; 205; 206; 207; 208; 209; 210; 211; 212; 213; 214; 215; 216; 217; 218; 219; 220; 221; 222; 223; 224; 225; 226; 227; 228; 229; 230; 231; 232; 233; 234; 235; 236; 237; 238; 239; 240; 241; 242; 243; 244; 245; 246; 247; 248; 249; 250; 251; 252; 253; 254
                                           allowed-VIF-devices (SRO): 4; 5; 6
                                                possible-hosts ( RO): 5d99acae-c029-4ae4-a8db-eadd21abf67e
                                                   domain-type ( RW): hvm
                                           current-domain-type ( RO): unspecified
                                               HVM-boot-policy ( RW): BIOS order
                                               HVM-boot-params (MRW): order: cd
                                         HVM-shadow-multiplier ( RW): 1.000
                                                     PV-kernel ( RW): 
                                                    PV-ramdisk ( RW): 
                                                       PV-args ( RW): 
                                                PV-legacy-args ( RW): 
                                                 PV-bootloader ( RW): 
                                            PV-bootloader-args ( RW): 
                                           last-boot-CPU-flags ( RO): vendor: GenuineIntel; features: 17cbfbff-f7fa3223-2d93fbff-00000123-0000000f-009c4fbb-00000000-00000000-00001000-9c000000
                                              last-boot-record ( RO): ''
                                                   resident-on ( RO): <not in database>
                                                      affinity ( RW): 5d99acae-c029-4ae4-a8db-eadd21abf67e
                                                  other-config (MRW): base_template_name: Other install media; import_task: OpaqueRef:0f73a93b-f847-4773-8b13-111bb7baf803; mac_seed: ffa13779-f32f-8256-05cd-872652f775dc; install-methods: cdrom
                                                        dom-id ( RO): -1
                                               recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472"/><restriction field="vcpus-max" max="32"/><restriction field="has-vendor-device" value="false"/><restriction max="255" property="number-of-vbds"/><restriction max="7" property="number-of-vifs"/></restrictions>
                                                 xenstore-data (MRW): vm-data: ; vm-data/mmio-hole-size: 268435456
                                    ha-always-run ( RW) [DEPRECATED]: false
                                           ha-restart-priority ( RW): 
                                                         blobs ( RO): 
                                                    start-time ( RO): 19700101T00:00:00Z
                                                  install-time ( RO): 20201011T07:12:25Z
                                                  VCPUs-number ( RO): 0
                                             VCPUs-utilisation (MRO): 
                                                    os-version (MRO): 
                                            PV-drivers-version (MRO): micro: -1
                            PV-drivers-up-to-date ( RO) [DEPRECATED]: true
                                                        memory (MRO): 
                                                         disks (MRO): 
                                                          VBDs (SRO): 0aec3c0d-5ba3-6833-2e3e-e039a870a4e5; 5ac9f293-eff0-75d9-7211-34ce90820392
                                                      networks (MRO): 
                                           PV-drivers-detected ( RO): true
                                                         other (MRO): platform-feature-multiprocessor-suspend: 1; has-vendor-device: 0; feature-suspend: 1; feature-poweroff: 1; feature-reboot: 1; feature-vcpu-hotplug: 1
                                                          live ( RO): true
                                    guest-metrics-last-updated ( RO): 20201011T07:29:49Z
                                           can-use-hotplug-vbd ( RO): unspecified
                                           can-use-hotplug-vif ( RO): unspecified
                                      cooperative ( RO) [DEPRECATED]: true
                                                          tags (SRW): 
                                                     appliance ( RW): <not in database>
                                             snapshot-schedule ( RW): <not in database>
                                              is-vmss-snapshot ( RO): false
                                                   start-delay ( RW): 0
                                                shutdown-delay ( RW): 0
                                                         order ( RW): 0
                                                       version ( RO): 0
                                                 generation-id ( RO): 
                                     hardware-platform-version ( RO): 0
                                             has-vendor-device ( RW): false
                                               requires-reboot ( RO): false
                                               reference-label ( RO): other-install-media
                                                  bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; enclosure-asset-tag: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d
                        
                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by

                          How do you try to migrate? Is the VM offline?

                          I 1 Reply Last reply Reply Quote 0
                          • I Offline
                            Ivan @olivierlambert
                            last edited by

                            @olivierlambert yes. VM is offline.

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

                              Can you try to boot it, and then migrate?

                              Or just boot it once, then shutdown, then migrate?

                              I 1 Reply Last reply Reply Quote 0
                              • I Offline
                                Ivan @olivierlambert
                                last edited by

                                @olivierlambert said in Migrate failed:

                                r just boot it once, then shutdown, then migrate?

                                tried both options, result is the same(

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

                                  Hmm that's weird 🤔

                                  Can you check detailed logs on the source host?

                                  I 1 Reply Last reply Reply Quote 0
                                  • I Offline
                                    Ivan @olivierlambert
                                    last edited by

                                    @olivierlambert said in Migrate failed:

                                    Can you check detailed logs on the source host?

                                    yes. which of log file are you recomend to check?

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

                                      /var/log/xensource.log

                                      I 1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        Ivan @olivierlambert
                                        last edited by

                                        @olivierlambert
                                        xenlog.txt

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

                                          So I took some time to read the error in details.

                                          It's a problem/bug in your current XenServer 7.2.

                                          Indeed, in 7.2, they locked Xen Storage Motion feature as a paid feature. So you can't migrate a VMs with its storage to another SR/pool, unless you pay for it. The message is pretty clear:

                                          Raised Server_error(LICENCE_RESTRICTION, [ Storage_motion ])
                                          

                                          There's is multiple workarounds, but as you can see, it's a very dick move from someone at Citrix who decided that 😛

                                          I 1 Reply Last reply Reply Quote 0
                                          • I Offline
                                            Ivan @olivierlambert
                                            last edited by

                                            @olivierlambert
                                            thank you for your help. Upgrade from 7.6 to 8.2(is it safely?) help to take off this containts.

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post