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

    VM backup fails with INVALID_VALUE

    Scheduled Pinned Locked Moved Backup
    6 Posts 3 Posters 57 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.
    • burbilogB Offline
      burbilog
      last edited by

      I recently increased the number of CPUs from 2 to 8 for this VM and rebooted it. The system is working correctly, and all 8 CPUs are detected. However, the nightly backup is now failing with the following error:

      Error: INVALID_VALUE(VCPU values must satisfy: 0 < VCPUs_at_startup ≤ VCPUs_max, 8)
      

      Why is this happening, and how can I fix it?

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

        Hi,

        We need a bit more context. What kind of backup exactly? XOA or XO sources? Which version?

        burbilogB 2 Replies Last reply Reply Quote 0
        • DanpD Offline
          Danp Pro Support Team @burbilog
          last edited by

          @burbilog Check the current vCPU parameters for the affected VM by running the following command --

          xe vm-param-list uuid=<VM_UUID> | grep -i vcpu

          where you replace <VM_UUID> with the actual UUID of the VM. The output should look similar to this:

          # xe vm-param-list uuid=dc7beebf-46e0-ab98-1743-e0324e24xxxx | grep -i vcpu
                                    VCPUs-params (MRW):
                                       VCPUs-max ( RW): 2
                                VCPUs-at-startup ( RW): 2
                              allowed-operations (SRO): sysprep; metadata_export; changing_VCPUs_live; changing_dynamic_range; migrate_send; pool_migrate; suspend; hard_reboot; hard_shutdown; clean_reboot; clean_shutdown; pause; checkpoint; snapshot
                                last-boot-record ( RO): '('struct' ('uuid' '2c74c10c-325c-8c54-63d9-8c83e54abf63') ('allowed_operations' ('array')) ('current_operations' ('struct' ('OpaqueRef:dd2f6f24-427c-de26-2d1b-744f25f2f001' 'start'))) ('power_state' 'Halted') ('name_label' 'Debian 12 Cloud-init (Hub)') ('name_description' 'Debian 12 Cloud-Init Ready Hub Template') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL')
          ('affinity' 'OpaqueRef:NULL') ('memory_overhead' '20971520') ('memory_target' '2147483648') ('memory_static_max' '2147483648') ('memory_dynamic_max' '2147483648') ('memory_dynamic_min' '2147483648') ('memory_static_min' '2147483648') ('VCPUs_params' ('struct')) ('VCPUs_max' '2') ('VCPUs_at_startup' '2') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart') ('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array' 'OpaqueRef:d2cbfa49-86ff-3497-2843-ca1932509b95')) ('VBDs' ('array' 'OpaqueRef:3f7aa90c-9f45-f25d-9bce-5936cd010495' 'OpaqueRef:c8b90a71-a76b-bbdc-fd69-9184e51b7255')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' '') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' '') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' 'BIOS order') ('HVM_boot_params' ('struct' ('order' 'cd') ('firmware' 'bios'))) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('pae' 'true') ('apic' 'true') ('timeoffset' '0') ('acpi' '1') ('viridian' 'false') ('nx' 'true'))) ('PCI_bus' '') ('other_config' ('struct' ('base_template_name' 'Debian Jessie 8.0') ('import_task' 'OpaqueRef:5403e9af-b418-bbf8-19f8-f2676b332685') ('mac_seed' '71148202-a0da-6490-164c-1c6311d09bf9') ('install-methods' 'cdrom,nfs,http,ftp') ('linux_template' 'true'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct')) ('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:d2f3433e-2263-ac9a-b45a-b8de124c9373') ('guest_metrics' 'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"1649267441664\"/><restriction field=\"vcpus-max\" max=\"32\"/><restriction field=\"has-vendor-device\" value=\"false\"/><restriction field=\"allow-gpu-passthrough\" value=\"1\"/><restriction field=\"allow-vgpu\" value=\"1\"/><restriction max=\"255\" property=\"number-of-vbds\"/><restriction max=\"7\" property=\"number-of-vifs\"/></restrictions>') ('xenstore_data' ('struct')) ('ha_always_run' ('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0')) ('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time' ('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '') ('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct')) ('snapshot_info' ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL') ('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL') ('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay' '0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs' ('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id' '') ('hardware_platform_version' '0') ('has_vendor_device' ('boolean' '0')) ('requires_reboot' ('boolean' '0')) ('reference_label' 'debian-8'))'
                                 recommendations ( RO): <restrictions><restriction field="memory-static-max" max="1649267441664"/><restriction field="vcpus-max" max="32"/><restriction field="has-vendor-device" value="false"/><restriction field="allow-gpu-passthrough" value="1"/><restriction field="allow-vgpu" value="1"/><restriction max="255" property="number-of-vbds"/><restriction max="7" property="number-of-vifs"/></restrictions>
                                    VCPUs-number ( RO): 2
                               VCPUs-utilisation (MRO): 0: 0.006; 1: 0.007
                                           other (MRO): platform-feature-xs_reset_watches: 1; platform-feature-multiprocessor-suspend: 1; has-vendor-device: 0; feature-vcpu-hotplug: 1; feature-suspend: 1; feature-reboot: 1; feature-poweroff: 1; feature-balloon: 1
          
          1 Reply Last reply Reply Quote 0
          • burbilogB Offline
            burbilog @olivierlambert
            last edited by

            @olivierlambert said:
            We need a bit more context. What kind of backup exactly? XOA or XO sources? Which version?

            Sources, Xen Orchestra, commit d1736 Master, commit 8ecaa

            @Danp said:
            | grep -i vcpu

            uuid=260d5db3-99b8-7003-4875-678d4aa92044 | grep -i vcpu
                                      VCPUs-params (MRW): 
                                         VCPUs-max ( RW): 8
                                  VCPUs-at-startup ( RW): 8
                                allowed-operations (SRO): changing_dynamic_range; migrate_send; pool_migrate; changing_VCPUs_live; suspend; hard_reboot; hard_
            shutdown; clean_reboot; clean_shutdown; pause; checkpoint; snapshot
                                   recommendations ( RO): <restrictions><restriction field="memory-static-max" max="1649267441664"/><restriction field="vcpus-
            max" max="32"/><restriction field="has-vendor-device" value="false"/><restriction field="allow-gpu-passthrough" value="1"/><restriction field="all
            ow-vgpu" value="1"/><restriction field="allow-network-sriov" value="1"/><restriction field="supports-bios" value="yes"/><restriction field="suppor
            ts-uefi" value="no"/><restriction field="supports-secure-boot" value="no"/><restriction max="255" property="number-of-vbds"/><restriction max="7" 
            property="number-of-vifs"/></restrictions>
                                      VCPUs-number ( RO): 8
                                 VCPUs-utilisation (MRO): 0: 0.088; 1: 0.087; 2: 0.064; 3: 0.096; 4: 0.072; 5: 0.076; 6: 0.072; 7: 0.088
                                             other (MRO): platform-feature-xs_reset_watches: 1; platform-feature-multiprocessor-suspend: 1; has-vendor-device:
             0; feature-vcpu-hotplug: 1; feature-suspend: 1; feature-reboot: 1; feature-poweroff: 1; feature-balloon: 1
            
            1 Reply Last reply Reply Quote 0
            • burbilogB Offline
              burbilog @olivierlambert
              last edited by

              @olivierlambert I apologize; that was not a backup, but rather a replication:

               main.xxx (azazel.xxx)
              
                  Snapshot
                  Start: 2026-04-09 00:02
                  End: 2026-04-09 00:03
                  Local storage (136.91 GiB free - thin) - legion.xxx
                      transfer
                      Start: 2026-04-09 00:03
                      End: 2026-04-09 00:03
                      Duration: a few seconds
                      Error: INVALID_VALUE(VCPU values must satisfy: 0 < VCPUs_at_startup ≤ VCPUs_max, 8)This is a XenServer/XCP-ng error
                  Start: 2026-04-09 00:03
                  End: 2026-04-09 00:03
                  Duration: a few seconds
              
              Start: 2026-04-09 00:02
              End: 2026-04-09 00:04
              Duration: 2 minutes
              Type: delta
              
              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                This is very different and that might explains it 🙂 Add @florent in the loop

                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