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

    XCP-ng Center 20.03.00 released

    Scheduled Pinned Locked Moved News
    39 Posts 4 Posters 12.7k 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.
    • DanpD Offline
      Danp Pro Support Team
      last edited by

      All I get is the standard new VM "wizard' where you select a template on the first screen.

      H 1 Reply Last reply Reply Quote 0
      • H Offline
        hvilches @Danp
        last edited by

        @Danp

        I see what you're saying... The list in the dialog shows under Templates, but this is the dialog that you get.

        If you Snapshot using Center, you can right-click and create a new VM from the snapshot.

        If you Snapshot using XOA, when you go to Center, you cannot create a VM from the snapshot.

        There appears to be no difference between the two, until you try to create a VM in Center.

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

          Try to get all object info so we can compare what XCP-ng Center is doing vs XO.

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hvilches @olivierlambert
            last edited by

            @olivierlambert

            Help me get that for you 🙂
            What/where can I get "all object info"?
            Thx

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

              xe vm-param-list for a VM

              1 Reply Last reply Reply Quote 0
              • H Offline
                hvilches @Danp
                last edited by

                @Danp said in XCP-ng Center 20.03.00 released:

                All I get is the standard new VM "wizard' where you select a template on the first screen.

                YES... You're seeing the problem. That list normally contains the Snapshot and its pre-selected so all you do is click next.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hvilches
                  last edited by

                  @olivierlambert
                  Thank you...

                  This is the snap with Center

                  xe vm-param-list uuid=13a6127c-59ab-1da2-1f2c-50fae29b5775
                  uuid ( RO)                                  : 13a6127c-59ab-1da2-1f2c-50fae29b5775
                                              name-label ( RW): Snap with Center
                                        name-description ( RW):
                                            user-version ( RW): 1
                                           is-a-template ( RW): true
                                     is-default-template ( RW): false
                                           is-a-snapshot ( RO): true
                                             snapshot-of ( RO): ac2cf595-b577-901a-5176-321a5ed81713
                                               snapshots ( RO):
                                           snapshot-time ( RO): 20200401T20:09:50Z
                                           snapshot-info ( RO): disk-snapshot-type: crash_consistent; power-state-at-snapshot: Running
                                                  parent ( RO): 6fe18ed9-833b-e157-8e7d-cd90e42c0787
                                                children ( RO): ac2cf595-b577-901a-5176-321a5ed81713
                                       is-control-domain ( RO): false
                                             power-state ( RO): halted
                                           memory-actual ( RO): 805302272
                                           memory-target ( RO): 0
                                         memory-overhead ( RO): 10485760
                                       memory-static-max ( RW): 805306368
                                      memory-dynamic-max ( RW): 805306368
                                      memory-dynamic-min ( RW): 536870912
                                       memory-static-min ( RW): 536870912
                                        suspend-VDI-uuid ( RW): <not in database>
                                         suspend-SR-uuid ( RW): <not in database>
                                            VCPUs-params (MRW): weight: 256
                                               VCPUs-max ( RW): 2
                                        VCPUs-at-startup ( RW): 2
                                  actions-after-shutdown ( RW): Destroy
                                    actions-after-reboot ( RW): Restart
                                     actions-after-crash ( RW): Restart
                                           console-uuids (SRO):
                                                     hvm ( RO): true
                                                platform (MRW): timeoffset: 0; viridian: false; device-model: qemu-upstream-compat; nx: true; acpi: 1; apic: true; pae: true; cores-per-socket: 1
                                      allowed-operations (SRO): destroy; export; revert; clone; copy
                                      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): 2; 3; 4; 5; 6
                                          possible-hosts ( RO): 9f4998bb-a8ec-411d-8f8a-37aaa624731f
                                             domain-type ( RW): hvm
                                     current-domain-type ( RO): hvm
                                         HVM-boot-policy ( RW): BIOS Order
                                         HVM-boot-params (MRW): order: cdn
                                   HVM-shadow-multiplier ( RW): 1.000
                                               PV-kernel ( RW):
                                              PV-ramdisk ( RW):
                                                 PV-args ( RW):
                                          PV-legacy-args ( RW):
                                           PV-bootloader ( RW): pygrub
                                      PV-bootloader-args ( RW):
                                     last-boot-CPU-flags ( RO): vendor: AuthenticAMD; features: 178bfbff-f6f83203-2fd3fbff-040005f7-0000000f-219c01a9-00400004-00000000-00001005-00000000-00000000-00000000-00000000-00000000-00000000
                                        last-boot-record ( RO): '('struct' ('uuid' 'ac2cf595-b577-901a-5176-321a5ed81713') ('allowed_operations' ('array' 'changing_dynamic_range' 'changing_shadow_memory' 'changing_static_range' 'make_into_template' 'migrate_send' 'destroy' 'export' 'start_on' 'start' 'clone' 'copy' 'snapshot')) ('current_operations' ('struct')) ('power_state' 'Halted') ('name_label' 'Ansible') ('name_description' '') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:c1cb9672-f979-9187-fdfb-b8dac743f0c5') ('memory_overhead' '9437184') ('memory_target' '805306368') ('memory_static_max' '805306368') ('memory_dynamic_max' '805306368') ('memory_dynamic_min' '536870912') ('memory_static_min' '536870912') ('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:0f9aa2b3-e016-829d-2aaf-abf91948db87' 'OpaqueRef:e9f78326-81e2-d910-ee10-7b3e10269b51')) ('VBDs' ('array' 'OpaqueRef:df50dc48-1074-a2e6-00cf-cd67e7fa0e0b' 'OpaqueRef:d685ebf9-e289-7ce5-d053-368f5c448042')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' 'graphical utf8 vnc') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('nx' 'true') ('acpi' '1') ('apic' 'true') ('pae' 'true') ('viridian' 'true') ('cores-per-socket' '1'))) ('PCI_bus' '') ('other_config' ('struct' ('import_task' 'OpaqueRef:8a335f29-8caa-0a29-cc3f-bf1a0770bfc8') ('vgpu_pci' '') ('instant' 'true') ('base_template_name' 'CentOS 6 (64-bit)') ('install-repository' 'cdrom') ('linux_template' 'true') ('mac_seed' '8f5c7676-803e-bc1a-1179-a03f3d1c4dba') ('rhel6' 'true') ('install-methods' 'cdrom,nfs,http,ftp'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct' ('vendor' 'GenuineIntel') ('features' '0000e3bd-bfebfbff-00000001-20000800'))) ('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:5f279975-1592-941f-e9a7-1147bcd19969') ('guest_metrics' 'OpaqueRef:47854fb7-fc77-7d61-73ef-20db6ecf857d') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"137438953472\" /><restriction field=\"vcpus-max\" max=\"16\" /><restriction property=\"number-of-vbds\" max=\"7\" /><restriction property=\"number-of-vifs\" max=\"7\" /></restrictions>') ('xenstore_data' ('struct' ('vm-data' ''))) ('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:9d96d61b-c00a-1e28-24e1-dc808080d989') ('version' '0') ('generation_id' '') ('hardware_platform_version' '0') ('has_vendor_device' ('boolean' '0')) ('requires_reboot' ('boolean' '0')) ('reference_label' ''))'
                                             resident-on ( RO): <not in database>
                                                affinity ( RW): <not in database>
                                            other-config (MRW): import_task: OpaqueRef:7cad0252-3d5a-48f9-bade-d29eddb43e2f; vgpu_pci: ; instant: true; base_template_name: CentOS 6 (64-bit); install-repository: cdrom; linux_template: true; mac_seed: 8f5c7676-803e-bc1a-1179-a03f3d1c4dba; rhel6: true; install-methods: cdrom,nfs,http,ftp; auto_poweron: true
                                                  dom-id ( RO): -1
                                         recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472" /><restriction field="vcpus-max" max="16" /><restriction property="number-of-vbds" max="7" /><restriction property="number-of-vifs" max="7" /></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): 20200401T19:18:08Z
                                            install-time ( RO): 19700101T00:00:00Z
                                            VCPUs-number ( RO): 2
                                       VCPUs-utilisation (MRO):
                                              os-version (MRO): name: CentOS release 6.10 (Final); uname: 2.6.32-754.28.1.el6.x86_64; distro: centos; major: 6; minor: 10
                                      PV-drivers-version (MRO): major: 6; minor: 2; micro: 0; build: 70442
                      PV-drivers-up-to-date ( RO) [DEPRECATED]: true
                                                  memory (MRO):
                                                   disks (MRO):
                                                    VBDs (SRO): 8025ece8-5d5b-43da-4bcb-cee8f7847312; 40bc5cf3-381c-1119-70c2-6749062fc93a
                                                networks (MRO): 1/ip: 70.47.94.71; 1/ipv4/0: 70.47.94.71; 1/ipv6/0: fe80::20a1:89ff:feef:2145; 0/ip: 192.168.2.14; 0/ipv4/0: 192.168.2.14; 0/ipv6/0: fe80::487a:26ff:fe45:e37f
                                     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; feature-balloon: 1
                                                    live ( RO): true
                              guest-metrics-last-updated ( RO): 20200401T19:18:46Z
                                     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):
                                            bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d
                  

                  This is the snap with XOA

                  xe vm-param-list uuid=05847d68-ae1f-c06b-c05f-aeff2ca5c6fe
                  uuid ( RO)                                  : 05847d68-ae1f-c06b-c05f-aeff2ca5c6fe
                                              name-label ( RW): Snap with XOA
                                        name-description ( RW): Had to change to HVM and remove "console=hvc0" from kernel line
                                            user-version ( RW): 1
                                           is-a-template ( RW): false
                                     is-default-template ( RW): false
                                           is-a-snapshot ( RO): true
                                             snapshot-of ( RO): ac2cf595-b577-901a-5176-321a5ed81713
                                               snapshots ( RO):
                                           snapshot-time ( RO): 20200401T20:13:08Z
                                           snapshot-info ( RO): disk-snapshot-type: crash_consistent; power-state-at-snapshot: Running
                                                  parent ( RO): 13a6127c-59ab-1da2-1f2c-50fae29b5775
                                                children ( RO): ac2cf595-b577-901a-5176-321a5ed81713
                                       is-control-domain ( RO): false
                                             power-state ( RO): halted
                                           memory-actual ( RO): 805302272
                                           memory-target ( RO): 0
                                         memory-overhead ( RO): 10485760
                                       memory-static-max ( RW): 805306368
                                      memory-dynamic-max ( RW): 805306368
                                      memory-dynamic-min ( RW): 536870912
                                       memory-static-min ( RW): 536870912
                                        suspend-VDI-uuid ( RW): <not in database>
                                         suspend-SR-uuid ( RW): <not in database>
                                            VCPUs-params (MRW): weight: 256
                                               VCPUs-max ( RW): 2
                                        VCPUs-at-startup ( RW): 2
                                  actions-after-shutdown ( RW): Destroy
                                    actions-after-reboot ( RW): Restart
                                     actions-after-crash ( RW): Restart
                                           console-uuids (SRO):
                                                     hvm ( RO): true
                                                platform (MRW): timeoffset: 0; viridian: false; device-model: qemu-upstream-compat; nx: true; acpi: 1; apic: true; pae: true; cores-per-socket: 1
                                      allowed-operations (SRO): destroy; export; revert; clone; copy
                                      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): 2; 3; 4; 5; 6
                                          possible-hosts ( RO): 9f4998bb-a8ec-411d-8f8a-37aaa624731f
                                             domain-type ( RW): hvm
                                     current-domain-type ( RO): hvm
                                         HVM-boot-policy ( RW): BIOS Order
                                         HVM-boot-params (MRW): order: cdn
                                   HVM-shadow-multiplier ( RW): 1.000
                                               PV-kernel ( RW):
                                              PV-ramdisk ( RW):
                                                 PV-args ( RW):
                                          PV-legacy-args ( RW):
                                           PV-bootloader ( RW): pygrub
                                      PV-bootloader-args ( RW):
                                     last-boot-CPU-flags ( RO): vendor: AuthenticAMD; features: 178bfbff-f6f83203-2fd3fbff-040005f7-0000000f-219c01a9-00400004-00000000-00001005-00000000-00000000-00000000-00000000-00000000-00000000
                                        last-boot-record ( RO): '('struct' ('uuid' 'ac2cf595-b577-901a-5176-321a5ed81713') ('allowed_operations' ('array' 'changing_dynamic_range' 'changing_shadow_memory' 'changing_static_range' 'make_into_template' 'migrate_send' 'destroy' 'export' 'start_on' 'start' 'clone' 'copy' 'snapshot')) ('current_operations' ('struct')) ('power_state' 'Halted') ('name_label' 'Ansible') ('name_description' '') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:c1cb9672-f979-9187-fdfb-b8dac743f0c5') ('memory_overhead' '9437184') ('memory_target' '805306368') ('memory_static_max' '805306368') ('memory_dynamic_max' '805306368') ('memory_dynamic_min' '536870912') ('memory_static_min' '536870912') ('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:0f9aa2b3-e016-829d-2aaf-abf91948db87' 'OpaqueRef:e9f78326-81e2-d910-ee10-7b3e10269b51')) ('VBDs' ('array' 'OpaqueRef:df50dc48-1074-a2e6-00cf-cd67e7fa0e0b' 'OpaqueRef:d685ebf9-e289-7ce5-d053-368f5c448042')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' 'graphical utf8 vnc') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('nx' 'true') ('acpi' '1') ('apic' 'true') ('pae' 'true') ('viridian' 'true') ('cores-per-socket' '1'))) ('PCI_bus' '') ('other_config' ('struct' ('import_task' 'OpaqueRef:8a335f29-8caa-0a29-cc3f-bf1a0770bfc8') ('vgpu_pci' '') ('instant' 'true') ('base_template_name' 'CentOS 6 (64-bit)') ('install-repository' 'cdrom') ('linux_template' 'true') ('mac_seed' '8f5c7676-803e-bc1a-1179-a03f3d1c4dba') ('rhel6' 'true') ('install-methods' 'cdrom,nfs,http,ftp'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct' ('vendor' 'GenuineIntel') ('features' '0000e3bd-bfebfbff-00000001-20000800'))) ('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:5f279975-1592-941f-e9a7-1147bcd19969') ('guest_metrics' 'OpaqueRef:47854fb7-fc77-7d61-73ef-20db6ecf857d') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"137438953472\" /><restriction field=\"vcpus-max\" max=\"16\" /><restriction property=\"number-of-vbds\" max=\"7\" /><restriction property=\"number-of-vifs\" max=\"7\" /></restrictions>') ('xenstore_data' ('struct' ('vm-data' ''))) ('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:9d96d61b-c00a-1e28-24e1-dc808080d989') ('version' '0') ('generation_id' '') ('hardware_platform_version' '0') ('has_vendor_device' ('boolean' '0')) ('requires_reboot' ('boolean' '0')) ('reference_label' ''))'
                                             resident-on ( RO): <not in database>
                                                affinity ( RW): <not in database>
                                            other-config (MRW): import_task: OpaqueRef:7cad0252-3d5a-48f9-bade-d29eddb43e2f; vgpu_pci: ; instant: true; base_template_name: CentOS 6 (64-bit); install-repository: cdrom; linux_template: true; mac_seed: 8f5c7676-803e-bc1a-1179-a03f3d1c4dba; rhel6: true; install-methods: cdrom,nfs,http,ftp; auto_poweron: true
                                                  dom-id ( RO): -1
                                         recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472" /><restriction field="vcpus-max" max="16" /><restriction property="number-of-vbds" max="7" /><restriction property="number-of-vifs" max="7" /></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): 20200401T19:18:08Z
                                            install-time ( RO): 20200401T20:13:09Z
                                            VCPUs-number ( RO): 2
                                       VCPUs-utilisation (MRO):
                                              os-version (MRO): name: CentOS release 6.10 (Final); uname: 2.6.32-754.28.1.el6.x86_64; distro: centos; major: 6; minor: 10
                                      PV-drivers-version (MRO): major: 6; minor: 2; micro: 0; build: 70442
                      PV-drivers-up-to-date ( RO) [DEPRECATED]: true
                                                  memory (MRO):
                                                   disks (MRO):
                                                    VBDs (SRO): 42cd13eb-2c57-e125-dabc-03a565a53b9d; 12603443-32bd-2bd1-44b7-dcfb08b6e659
                                                networks (MRO): 1/ip: 70.47.94.71; 1/ipv4/0: 70.47.94.71; 1/ipv6/0: fe80::20a1:89ff:feef:2145; 0/ip: 192.168.2.14; 0/ipv4/0: 192.168.2.14; 0/ipv6/0: fe80::487a:26ff:fe45:e37f
                                     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; feature-balloon: 1
                                                    live ( RO): true
                              guest-metrics-last-updated ( RO): 20200401T19:18:46Z
                                     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):
                                            bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d
                  
                  DanpD 1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team @hvilches
                    last edited by

                    @hvilches said in XCP-ng Center 20.03.00 released:

                    is-a-template ( RW): true

                    Looks like this is the culprit...

                    H 1 Reply Last reply Reply Quote 1
                    • H Offline
                      hvilches
                      last edited by hvilches

                      I am learning so much... thank you.

                      The issue probably here, the flags:

                      uuid ( RO)                                  : 13a6127c-59ab-1da2-1f2c-50fae29b5775
                                                  name-label ( RW): Snap with Center
                                            name-description ( RW):
                                                user-version ( RW): 1
                                               is-a-template ( RW): true
                                         is-default-template ( RW): false
                                               is-a-snapshot ( RO): true
                      
                      uuid ( RO)                                  : 05847d68-ae1f-c06b-c05f-aeff2ca5c6fe
                                                  name-label ( RW): Snap with XOA
                                            name-description ( RW): Had to change to HVM and remove "console=hvc0" from kernel line
                                                user-version ( RW): 1
                                               is-a-template ( RW): false
                                         is-default-template ( RW): false
                                               is-a-snapshot ( RO): true
                      
                      1 Reply Last reply Reply Quote 1
                      • H Offline
                        hvilches @Danp
                        last edited by

                        @Danp said in XCP-ng Center 20.03.00 released:

                        @hvilches said in XCP-ng Center 20.03.00 released:

                        is-a-template ( RW): true

                        Looks like this is the culprit...

                        You beat me to it.

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          hvilches
                          last edited by hvilches

                          Also worth noting is that Center isn't adding the name-description string, whereas XOA is.

                          No... XOA is defaulting to the name-description (as expected.) and Center is asking for one, and I left it blank... No issue here.

                          1 Reply Last reply Reply Quote 0
                          • borzelB Offline
                            borzel XCP-ng Center Team
                            last edited by

                            So it's clear to me (as thinking of inside Center): it is not a "template", so the snapshot is not working in the VM creation wizard. That's also the case with XOA snaps from backups, you can not create a VM from that in Center.. I always wondered about that, but as you found the flag it seems clear to me.

                            We could fix it in two ways:

                            • let Center create VMs from also from snapshot that are not "a template"
                            • don't show the menu entry in Center on the snapshot list if it is not "is-template"

                            I wonder why this flag is important, what was the reason to program Center this way 🤔

                            H 1 Reply Last reply Reply Quote 0
                            • H Offline
                              hvilches @borzel
                              last edited by hvilches

                              @borzel

                              I would surmise, that since Center is behaving as it has for as long as I can remember, the fix should be applied to XO.

                              XO should set the template flag on a snapshot, so XenCenter and XCP-ng Center both behave as expected. The two flags I imagine are used by XenCenter and XCP-ng to build lists in the relevant dialogs that require ONLY templates, or templates and snapshots of a given VM. In this case, the dialog looks to show is-a-template (true) and is-a-snap-shot (true) and is it for the selected VM.

                              That said, I don't know enough about the implications. It may just be a flag, or there is something much deeper going on.

                              Said another way, if XO's snapshots are generated identically to Center's snapshots, then the flag is the only difference. The flag would be the only fix needed.

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

                                We won't change a behavior on XO without having a good reason to do so. Historical reason is not a good one 😛 Happy to learn more if it's relevant to anything 🙂

                                H 1 Reply Last reply Reply Quote 0
                                • H Offline
                                  hvilches @olivierlambert
                                  last edited by

                                  @olivierlambert

                                  Said another way, if XO's snapshots are generated identically to Center's snapshots, then the flag is the only difference. The flag would be the only fix needed.

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

                                    "Fix needed" from your perspective, not for mine, until there's a good reason to do so 🙂

                                    H 2 Replies Last reply Reply Quote 0
                                    • H Offline
                                      hvilches @olivierlambert
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hvilches @olivierlambert
                                        last edited by hvilches

                                        @olivierlambert

                                        Your response worries me. How many other features in Center, replicated in XO, are actually not the same feature? As a user, I trust that a snapshot in *Center or XO behave identically across both. They are both supposed to be using the same API. Why are they different? Over time, it would lead to distrust of XO.

                                        I have just learned, for example, I cannot trust XO snapshots. And what problems might I encounter with VMs created in XO today, when I try to manage them in Center, months from now?

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

                                          Ask @nikade how he feels about some differences 😉 We are trying to do things right, and with less "historical" reasons. Xen Orchestra is NOT a clone of XenCenter. And was never meant to be.

                                          If you are using XCP-ng, you should trust XO more than XCP-ng Center: because XO is actively maintained by a team of 6 dev working full time. XCP-ng Center is kindly maintained by @borzel and he's alone.

                                          Also, you can't tell us it's a move from us to make people prisoner about a product, Xen Orchestra is fully Open Source and free.

                                          So if you can explain the reason why we should do otherwise about snapshot, go ahead. Otherwise, I won't change a XO behavior without any other reason that's how another client is doing: this is not enough.

                                          H 1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            hvilches @olivierlambert
                                            last edited by

                                            @olivierlambert

                                            I understand your point, but my point is just as valid: I have just learned, for example, I cannot trust XO snapshots. And what problems might I encounter with VMs created in XO today, when I try to manage them in Center, months from now?

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