XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. AlexanderK
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 6
    • Posts 63
    • Groups 0

    AlexanderK

    @AlexanderK

    16
    Reputation
    31
    Profile views
    63
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online

    AlexanderK Unfollow Follow

    Best posts made by AlexanderK

    • RE: Xcp-ng 8.2 no more recognized with Cloudstack since last update

      So happy for what happened at github

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: Nested Virtualization of Windows Hyper-V on XCP-ng

      @xcp-ng-justgreat can you make a guide? what have you done and it is working? Will save time and will be really appreciated

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: XCP-ng 8.3 public alpha 🚀

      @stormi we should inform cloudstack team about the upgrade.....

      posted in News
      AlexanderKA
      AlexanderK
    • RE: Xcp-ng 8.2 no more recognized with Cloudstack since last update

      @kurushi9000 you have added this into database cloud i suppose?
      will report to cloudstack team.

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: Cuckoo sandbox

      @olivierlambert
      https://github.com/cert-ee/cuckoo3

      you are right.
      Seems that they are preparing next version. I don't know what hypervisors will work with this.

      Edit: qemu and kvm.

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: Weird issue with PCIe passthrough and XCP-NG/Xenserver

      @fohdeesha wow!
      thanks for your help! really happy that you belong to xcp-ng pro support team!

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: Nested Virtualization of Windows Hyper-V on XCP-ng

      @xcp-ng-justgreat Title changed.

      Can you help me with the AND and what exactly have you done? Give me an example to understand.

      posted in Compute
      AlexanderKA
      AlexanderK
    • Cuckoo sandbox

      I want to try cuckoo sandbox.
      At the documentation of cuckoo it is written that you can use xenserver as the vm platform.
      Has anone tried it with xcp-ng?

      posted in Compute
      AlexanderKA
      AlexanderK

    Latest posts made by AlexanderK

    • RE: Xcp-ng 8.2 no more recognized with Cloudstack since last update

      @amosgiture
      xcp-ng 8.2 and 8.2.1 is working without any issue.
      Have you checked the logs?
      it is recognized as xenserver 8.2.1

      91f8952f-3e5e-4ed2-9990-2dc7ffc8a8a9-image.png

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: Xcp-ng 8.2 no more recognized with Cloudstack since last update

      @amosgiture
      check the cloudstack logs
      tail -f /var/log/cloudstack/management/management-server.log
      there will be there more info about the issue.

      always checking logs help pinpoint the issue.

      i have many deployments with cs and xcp-ng.

      posted in Compute
      AlexanderKA
      AlexanderK
    • RE: XCP-ng 8.3 updates announcements and testing

      @stormi said in XCP-ng 8.3 updates announcements and testing:

      Indeed, we forgot to tell you about this temporary regression. They're coming back in the next batch of updates, as soon as CI is green!

      what is CI ?

      posted in News
      AlexanderKA
      AlexanderK
    • RE: Error importing vhd or VM

      came across this topic..
      i have exported a vm and trying to import it to another xcp.
      I had issues with the migration so i tried export and import
      and i have this error

      
      HTTP handler of vm.import
      undefined
      {
        "code": "IMPORT_ERROR_PREMATURE_EOF",
        "params": [],
        "url": "",
        "task": {
          "uuid": "efbc0249-0825-8465-5c4d-639609790062
      
      ",
          "name_label": "[XO] VM import",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20250121T22:23:40Z",
          "finished": "20250121T22:35:37Z",
          "status": "failure",
          "resident_on": "OpaqueRef:58799ebc-692a-4b39-a70c-fb97e63bcde7",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "IMPORT_ERROR_PREMATURE_EOF"
          ],
          "other_config": {
            "object_creation": "complete"
          },
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename lib/backtrace.ml)(line 210))((process xapi)(filename ocaml/xapi/import.ml)(line 2021))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 92)))"
        },
        "pool_master": {
          "uuid": "700a5902-5b1d-49ec-a7c7-7be348163ff7",
          "name_label": "xcpbackup",
          "name_description": "Default install",
          "memory_overhead": 1160454144,
          "allowed_operations": [
            "vm_migrate",
            "provision",
            "vm_resume",
            "evacuate",
            "vm_start"
          ],
          "current_operations": {},
          "API_version_major": 2,
          "API_version_minor": 16,
          "API_version_vendor": "XenSource",
          "API_version_vendor_implementation": {},
          "enabled": true,
          "software_version": {
            "product_version": "8.2.1",
            "product_version_text": "8.2",
            "product_version_text_short": "8.2",
            "platform_name": "XCP",
            "platform_version": "3.2.1",
            "product_brand": "XCP-ng",
            "build_number": "release/yangtze/master/58",
            "hostname": "localhost",
            "date": "2024-10-30",
            "dbv": "0.0.1",
            "xapi": "1.20",
            "xen": "4.13.5-9.45",
            "linux": "4.19.0+1",
            "xencenter_min": "2.16",
            "xencenter_max": "2.16",
            "network_backend": "openvswitch",
            "db_schema": "5.603"
          },
          "other_config": {
            "agent_start_time": "1737493713.",
            "boot_time": "1737493639.",
            "iscsi_iqn": "iqn.2025-01.com.example:a784a28f"
          },
          "capabilities": [
            "xen-3.0-x86_64",
            "hvm-3.0-x86_32",
            "hvm-3.0-x86_32p",
            "hvm-3.0-x86_64",
            ""
          ],
          "cpu_configuration": {},
          "sched_policy": "credit",
          "supported_bootloaders": [
            "pygrub",
            "eliloader"
          ],
          "resident_VMs": [
            "OpaqueRef:509e3b3e-4d43-452d-9225-6cbf2d0b9585
      
      "
          ],
          "logging": {},
          "PIFs": [
            "OpaqueRef:d73acec0-8a55-4d47-a4ed-49472ca30f49
      
      ",
            "OpaqueRef:cc001aea-f916-46af-ba42-d8b1c58e3cc3
      
      ",
            "OpaqueRef:263afb14-5bba-4611-8bdc-898659169f3b
      
      "
          ],
          "suspend_image_sr": "OpaqueRef:NULL",
          "crash_dump_sr": "OpaqueRef:NULL",
          "crashdumps": [],
          "patches": [],
          "updates": [],
          "PBDs": [
            "OpaqueRef:ed0b0406-bef6-4a40-8d64-238bef7af985
      
      ",
            "OpaqueRef:94c58c56-e969-4d20-a890-0670509a7880
      
      ",
            "OpaqueRef:4c7b2f97-ba37-476f-9d4d-bd54d73a60f6
      
      ",
            "OpaqueRef:1e0af0c7-c567-491c-9be6-66a7fe8853b7
      
      "
          ],
          "host_CPUs": [
            "OpaqueRef:b51387c3-2a44-43dc-b56c-4d387e1abb42
      
      ",
            "OpaqueRef:e72cc2ac-aa1a-4d39-bbff-bf2cddbe22a9
      
      ",
            "OpaqueRef:11d9e571-e47a-4a2a-8426-00340c21ad9c
      
      ",
            "OpaqueRef:5f9d380b-3cd6-4166-885c-6b7cb80bebd1
      
      ",
            "OpaqueRef:05ddf831-24d0-4f4c-947c-dfd9d8f333f5
      
      ",
            "OpaqueRef:d6649684-128f-4d6f-b0d5-f28cbf0f2f47
      
      ",
            "OpaqueRef:5b642435-ae8a-4547-b829-3cfba9c07da3
      
      ",
            "OpaqueRef:8d3673c0-79ff-487a-a3f5-a7ab8c5998b4
      
      ",
            "OpaqueRef:71534d89-5285-479a-ae63-66dea811a802
      
      ",
            "OpaqueRef:4ec5fb6e-dac9-42d4-99c9-96144c72a4c4
      
      ",
            "OpaqueRef:fcd181d8-7f5c-4585-b77a-bfe09de9e0be
      
      ",
            "OpaqueRef:6d29fc54-c0f7-4201-ae59-c5a173cee4fa
      
      ",
            "OpaqueRef:487834e7-cdb0-4e54-95ed-92655eff15ed
      
      ",
            "OpaqueRef:115458a5-4223-40ad-9a54-2fe0b3c05181
      
      ",
            "OpaqueRef:e7df3acc-db7f-4635-8fc5-5167405db947
      
      ",
            "OpaqueRef:747e9266-558b-44c0-855a-62936d004e56
      
      "
          ],
          "cpu_info": {
            "cpu_count": "16",
            "socket_count": "1",
            "vendor": "AuthenticAMD",
            "speed": "3792.912",
            "modelname": "AMD Ryzen 7 5700G with Radeon Graphics",
            "family": "25",
            "model": "80",
            "stepping": "0",
            "flags": "fpu de tsc msr pae mce cx8 apic mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy abm sse4a misalignsse 3dnowprefetch bpext ibpb vmmcall fsgsbase bmi1 avx2 bmi2 erms rdseed adx clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat vaes vpclmulqdq rdpid",
            "features_pv": "1789c3f5-f6f83203-2bd1cbf5-040001e3-00000007-218c0329-00400600-00000000-20001005-00000000-00000000-00000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
            "features_hvm": "178bfbff-f6f83203-2fd3fbff-040085f7-0000000f-219c07a9-0040060c-00000000-310ed005-00000000-00000000-00000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
            "features_hvm_host": "178bfbff-f6d83203-2e500800-040001f7-0000000f-219c07a9-0040060c-00000000-310ed005-00000000-00000000-00000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
            "features_pv_host": "1789c3f5-f6d83203-2a500800-040001e3-00000007-218c0329-00400600-00000000-20001005-00000000-00000000-00000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000"
          },
          "hostname": "xcpbackup",
          "address": "192.168.200.7",
          "metrics": "OpaqueRef:339bb82d-61a2-4597-8cd2-42451863e251
      
      ",
          "license_params": {
            "restrict_vswitch_controller": "false",
            "restrict_lab": "false",
            "restrict_stage": "false",
            "restrict_storagelink": "false",
            "restrict_storagelink_site_recovery": "false",
            "restrict_web_selfservice": "false",
            "restrict_web_selfservice_manager": "false",
            "restrict_hotfix_apply": "false",
            "restrict_export_resource_data": "false",
            "restrict_read_caching": "false",
            "restrict_cifs": "false",
            "restrict_health_check": "false",
            "restrict_xcm": "false",
            "restrict_vm_memory_introspection": "false",
            "restrict_batch_hotfix_apply": "false",
            "restrict_management_on_vlan": "false",
            "restrict_ws_proxy": "false",
            "restrict_vlan": "false",
            "restrict_qos": "false",
            "restrict_pool_attached_storage": "false",
            "restrict_netapp": "false",
            "restrict_equalogic": "false",
            "restrict_pooling": "false",
            "enable_xha": "true",
            "restrict_marathon": "false",
            "restrict_email_alerting": "false",
            "restrict_historical_performance": "false",
            "restrict_wlb": "false",
            "restrict_rbac": "false",
            "restrict_dmc": "false",
            "restrict_checkpoint": "false",
            "restrict_cpu_masking": "false",
            "restrict_connection": "false",
            "platform_filter": "false",
            "regular_nag_dialog": "false",
            "restrict_vmpr": "false",
            "restrict_vmss": "false",
            "restrict_intellicache": "false",
            "restrict_gpu": "false",
            "restrict_dr": "false",
            "restrict_vif_locking": "false",
            "restrict_storage_xen_motion": "false",
            "restrict_vgpu": "false",
            "restrict_integrated_gpu_passthrough": "false",
            "restrict_vss": "false",
            "restrict_guest_agent_auto_update": "false",
            "restrict_pci_device_for_auto_update": "false",
            "restrict_xen_motion": "false",
            "restrict_guest_ip_setting": "false",
            "restrict_ad": "false",
            "restrict_nested_virt": "false",
            "restrict_live_patching": "false",
            "restrict_set_vcpus_number_live": "false",
            "restrict_pvs_proxy": "false",
            "restrict_igmp_snooping": "false",
            "restrict_rpu": "false",
            "restrict_pool_size": "false",
            "restrict_cbt": "false",
            "restrict_usb_passthrough": "false",
            "restrict_network_sriov": "false",
            "restrict_corosync": "true",
            "restrict_zstd_export": "false",
            "restrict_pool_secret_rotation": "false"
          },
          "ha_statefiles": [],
          "ha_network_peers": [],
          "blobs": {},
          "tags": [],
          "external_auth_type": "",
          "external_auth_service_name": "",
          "external_auth_configuration": {},
          "edition": "xcp-ng",
          "license_server": {
            "address": "localhost",
            "port": "27000"
          },
          "bios_strings": {
            "bios-vendor": "American Megatrends Inc.",
            "bios-version": "2424",
            "system-manufacturer": "ASUS",
            "system-product-name": "System Product Name",
            "system-version": "System Version",
            "system-serial-number": "System Serial Number",
            "baseboard-manufacturer": "ASUSTeK COMPUTER INC.",
            "baseboard-product-name": "PRIME A520M-A",
            "baseboard-version": "Rev X.0x",
            "baseboard-serial-number": "200975064800511",
            "oem-1": "Xen",
            "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d",
            "oem-3": "Default string",
            "oem-4": "Default string",
            "oem-5": "DOLPHIN",
            "oem-6": "Default string",
            "oem-7": "Default string",
            "oem-8": "Default string",
            "oem-9": "Default string",
            "oem-10": "Default string",
            "hp-rombios": ""
          },
          "power_on_mode": "",
          "power_on_config": {},
          "local_cache_sr": "OpaqueRef:NULL",
          "chipset_info": {
            "iommu": "true"
          },
          "PCIs": [
            "OpaqueRef:e331e96d-25d0-4666-af9a-d66f613013ed
      
      ",
            "OpaqueRef:d53ccca2-932f-4981-9503-b51d7ee9d50b
      
      ",
            "OpaqueRef:ba20e488-e336-4b5f-b52d-66b6f63d59e0
      
      ",
            "OpaqueRef:968c0ab8-3241-40c0-94ab-c632e0dfdf50
      
      ",
            "OpaqueRef:7fe746b7-84cf-4540-93f1-de64469728db
      
      ",
            "OpaqueRef:75892aac-bc8b-4c02-b07d-b8f62d36c87e
      
      ",
            "OpaqueRef:61aeefda-e7d4-4b44-b6b7-43eac4d13bf6
      
      ",
            "OpaqueRef:53537c6c-d240-4d23-bb77-39646f0cd71f
      
      ",
            "OpaqueRef:40f3f11b-b456-41af-96d3-f7d1ad70eab1
      
      ",
            "OpaqueRef:1b7e67eb-ebd0-4460-8fea-4290926cd59f
      
      ",
            "OpaqueRef:1578400f-8d5c-4cb4-bd99-f913756b44ed
      
      ",
            "OpaqueRef:007e2815-d7a3-49cf-98d1-aef3c1cf029e
      
      "
          ],
          "PGPUs": [
            "OpaqueRef:bf271c11-501f-467a-a9a7-74fe0be51aa5
      
      "
          ],
          "PUSBs": [],
          "ssl_legacy": false,
          "guest_VCPUs_params": {},
          "display": "enabled",
          "virtual_hardware_platform_versions": [
            0,
            1,
            2
          ],
          "control_domain": "OpaqueRef:509e3b3e-4d43-452d-9225-6cbf2d0b9585
      
      ",
          "updates_requiring_reboot": [],
          "features": [],
          "iscsi_iqn": "iqn.2025-01.com.example:a784a28f",
          "multipathing": false,
          "uefi_certificates": "",
          "certificates": [],
          "editions": [
            "xcp-ng"
          ]
        },
        "SR": {
          "uuid": "fbf160ab-cbfb-0504-6c7d-a159839c5bd4",
          "name_label": "16tb",
          "name_description": "",
          "allowed_operations": [
            "vdi_enable_cbt",
            "vdi_list_changed_blocks",
            "unplug",
            "plug",
            "pbd_create",
            "vdi_disable_cbt",
            "update",
            "pbd_destroy",
            "vdi_resize",
            "vdi_clone",
            "vdi_data_destroy",
            "scan",
            "vdi_snapshot",
            "vdi_mirror",
            "vdi_create",
            "vdi_destroy",
            "vdi_set_on_boot"
          ],
          "current_operations": {},
          "VDIs": [],
          "PBDs": [
            "OpaqueRef:1e0af0c7-c567-491c-9be6-66a7fe8853b7
      
      "
          ],
          "virtual_allocation": 0,
          "physical_utilisation": 2125824,
          "physical_size": 15873616670720,
          "type": "ext",
          "content_type": "user",
          "shared": false,
          "other_config": {},
          "tags": [],
          "sm_config": {
            "devserial": "scsi-35000cca2c1e707a0"
          },
          "blobs": {},
          "local_cache_enabled": false,
          "introduced_by": "OpaqueRef:NULL",
          "clustered": false,
          "is_tools_sr": false
        },
        "message": "IMPORT_ERROR_PREMATURE_EOF()",
        "name": "XapiError",
        "stack": "XapiError: IMPORT_ERROR_PREMATURE_EOF()
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1068:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1102:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1092:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1265:14)"
      }
      
      posted in Xen Orchestra
      AlexanderKA
      AlexanderK
    • RE: Incompatible CPU features on live migrations

      @olivierlambert
      can memory size difference being showed as different cpu?
      tried both commands

      Screenshot 2025-01-22 005049.png

      Screenshot 2025-01-22 005412.png

      posted in Management
      AlexanderKA
      AlexanderK
    • RE: Incompatible CPU features on live migrations

      @olivierlambert
      i have two pcs with the same cpu and i am receiving this error.
      How i can check what is the issue?

      migrate from

      d5eb95c5-2728-48e9-89b2-674f0844cfb9-image.png

      To

      d221081f-af11-4e4c-9608-c7f4e53570b2-image.png

      posted in Management
      AlexanderKA
      AlexanderK
    • RE: Mirror failed

      @olivierlambert said in Mirror failed:

      @AlexanderK said in Mirror failed:

      "OLD_447ff17a-82bc-4d49-a177-02f9086e9a04

      That's the missing bit reported by XAPI/SM, indeed.

      Does this mean it is a bug?

      posted in Xen Orchestra
      AlexanderKA
      AlexanderK
    • RE: Mirror failed

      i started searching logs.
      and i have found at xensource.log something about a uuid that is missing from a db something.

      Jan 20 08:29:44 r5700g xapi: [debug||26 |sm_events D:4663d9557151|storage_access] sm event on mirror: 7df83df8-cec3-85ae-fe89-e046962e44fc/447ff17a-82bc-4d49-a177-02f9086e9a04
      Jan 20 08:29:44 r5700g xapi: [debug||417814 ||storage_access] Received update: ["Mirror","7df83df8-cec3-85ae-fe89-e046962e44fc/447ff17a-82bc-4d49-a177-02f9086e9a04"]
      Jan 20 08:29:44 r5700g xapi: [debug||417814 ||storage_access] Calling UPDATES.get Async.VM.migrate_send R:5802f743fd80 5819 30
      Jan 20 08:29:44 r5700g xapi: [ info||26 |sm_events D:4663d9557151|storage_impl] DATA.MIRROR.stat dbg:sm_events D:4663d9557151 id:7df83df8-cec3-85ae-fe89-e046962e44fc/447ff17a-82bc-4d49-a177-02f9086e9a04
      Jan 20 08:29:44 r5700g xapi: [debug||26 |sm_events D:4663d9557151|storage_access] Mirror 7df83df8-cec3-85ae-fe89-e046962e44fc/447ff17a-82bc-4d49-a177-02f9086e9a04 has failed
      Jan 20 08:29:44 r5700g xapi: [debug||26 |sm_events D:4663d9557151|storage_access] Mirror associated with task: OpaqueRef:5802f743-fd80-428b-b958-54a3356e0d45
      Jan 20 08:29:44 r5700g xapi: [debug||538435 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.slave_login D:60aac40fd05a created by task D:4663d9557151
      Jan 20 08:29:44 r5700g xapi: [ info||538435 /var/lib/xcp/xapi|session.slave_login D:d6baad700c72|xapi_session] Session.create trackid=0a8831f8101cac2c3ea301dfc55c7287 pool=true uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
      Jan 20 08:29:44 r5700g xapi: [debug||538436 /var/lib/xcp/xapi||api_effect] VDI.remove_from_sm_config
      Jan 20 08:29:44 r5700g xapi: [debug||538437 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:abede6dff903 created by task D:d6baad700c72
      Jan 20 08:29:44 r5700g xapi: [debug||538439 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:task.cancel D:a952ceb453f4 created by task D:4663d9557151
      Jan 20 08:29:44 r5700g xapi: [ info||538439 /var/lib/xcp/xapi|task.cancel D:9b9c2df87a6d|storage_access] storage_access: TASK.cancel 64
      Jan 20 08:29:44 r5700g xapi: [debug||538440 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.logout D:f8b332f41f0d created by task D:4663d9557151
      Jan 20 08:29:44 r5700g xapi: [ info||538440 /var/lib/xcp/xapi|session.logout D:2413f5ba515c|xapi_session] Session.destroy trackid=0a8831f8101cac2c3ea301dfc55c7287
      Jan 20 08:29:44 r5700g xapi: [error||537909 ||sparse_dd_wrapper] Failure from sparse_dd: Using protocol: nbd\x0A raising End_of_file
      Jan 20 08:29:44 r5700g xapi: [ info||537721 |Async.VM.migrate_send R:5802f743fd80|task_server] Task 64 has been cancelled: raising Cancelled exception
      Jan 20 08:29:44 r5700g xapi: [ info||538444 HTTP 127.0.0.1->:::80|session.slave_login D:8701fa8c7182|xapi_session] Session.create trackid=01b5ed95bc6e2739654f111dda914de8 pool=true uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
      Jan 20 08:29:44 r5700g xapi: [debug||538445 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:9b894b8793d5 created by task D:8701fa8c7182
      Jan 20 08:29:44 r5700g xapi: [ info||538442 HTTP 127.0.0.1->:::80|Querying services D:c11c1df69605|storage_impl] VDI.deactivate dbg:Async.VM.migrate_send R:5802f743fd80 dp:7a3bc730-ff9f-8330-6703-a4262b45a87a sr:7df83df8-cec3-85ae-fe89-e046962e44fc vdi:a36e4cfc-0752-4e9a-a406-3ca2591842d4 vm:0
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] VDI.get_by_uuid D:d32e2301995c failed with exception Db_exn.Read_missing_uuid("VDI", "", "OLD_447ff17a-82bc-4d49-a177-02f9086e9a04")
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] Raised Db_exn.Read_missing_uuid("VDI", "", "OLD_447ff17a-82bc-4d49-a177-02f9086e9a04")
      Jan 20 08:29:44 r5700g xapi: [debug||538447 ||dummytaskhelper] task VDI.deactivate D:9d7c5e51800d created by task O:Async.VM.mig
      Jan 20 08:29:44 r5700g xapi: [debug||538447 |VDI.deactivate D:9d7c5e51800d|dummytaskhelper] task VDI.deactivate D:cfe816796d8c created by task O:Async.VM.mig
      Jan 20 08:29:44 r5700g xapi: [debug||538447 ||sm] SM zfs vdi_deactivate sr=OpaqueRef:8a3e83cf-edcd-4245-bae3-c7e9a1b82f52 vdi=OpaqueRef:18bc6036-965a-4b2f-916d-0e63af3b4c47
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 1/9 xapi Raised at file ocaml/database/db_cache_impl.ml, line 237
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 2/9 xapi Called from file ocaml/xapi/db_actions.ml, line 14236
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 3/9 xapi Called from file ocaml/xapi/rbac.ml, line 197
      Jan 20 08:29:44 r5700g xapi: [ info||538447 |sm_exec D:cb10c59db6fb|xapi_session] Session.create trackid=649de188b31f824f116654cb9e48b1f1 pool=false uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 4/9 xapi Called from file ocaml/xapi/rbac.ml, line 205
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 5/9 xapi Called from file ocaml/xapi/server_helpers.ml, line 92
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 6/9 xapi Called from file ocaml/xapi/server_helpers.ml, line 113
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 7/9 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 8/9 xapi Called from file map.ml, line 135
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace] 9/9 xapi Called from file src/sexp_conv.ml, line 156
      Jan 20 08:29:44 r5700g xapi: [error||538446 /var/lib/xcp/xapi||backtrace]
      Jan 20 08:29:44 r5700g xapi: [debug||538448 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:862d88832033 created by task D:cb10c59db6fb
      Jan 20 08:29:44 r5700g xapi: [debug||538449 /var/lib/xcp/xapi||api_effect] VDI.remove_from_other_config
      Jan 20 08:29:44 r5700g xapi: [ info||538451 |Async.SR.update R:b8c9a436a67e|dispatcher] spawning a new thread to handle the current task (trackid=7292f93df5ef9dcea30043b9e9ee9d0d)
      Jan 20 08:29:44 r5700g xapi: [debug||538451 |Async.SR.update R:b8c9a436a67e|audit] SR.update: SR = '7df83df8-cec3-85ae-fe89-e046962e44fc (zfs8tbN)'
      Jan 20 08:29:44 r5700g xapi: [ info||538451 |Async.SR.update R:b8c9a436a67e|storage_impl] SR.stat dbg:OpaqueRef:b8c9a436-a67e-44f8-baf5-2c57507b5fcf sr:7df83df8-cec3-85ae-fe89-e046962e44fc
      Jan 20 08:29:44 r5700g xapi: [debug||538453 ||dummytaskhelper] task SR.stat D:1b9aca2ed792 created by task R:b8c9a436a67e
      Jan 20 08:29:44 r5700g xapi: [debug||538453 |SR.stat D:1b9aca2ed792|sm] SM zfs sr_update sr=OpaqueRef:8a3e83cf-edcd-4245-bae3-c7e9a1b82f52
      Jan 20 08:29:44 r5700g xapi: [ info||538453 |sm_exec D:785e90c63116|xapi_session] Session.create trackid=da9f0ee8b310ded041f35c0f3a2077d3 pool=false uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
      Jan 20 08:29:44 r5700g xapi: [debug||538454 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:e0adb632a6e7 created by task D:785e90c63116
      Jan 20 08:29:44 r5700g xapi: [debug||538455 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:d96016a921ae created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538457 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:4051952cabd6 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538456 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_other_config D:08532c8dce21 created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538458 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_other_config D:131315f131e8 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538459 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_virtual_allocation D:3372be18b899 created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538460 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid D:26c5cf78e11a created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538461 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_virtual_allocation D:87f1d70b5c67 created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538462 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_size D:406d9faba266 created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538463 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_utilisation D:693779743b34 created by task D:1b9aca2ed792
      Jan 20 08:29:44 r5700g xapi: [debug||538464 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_by_uuid D:6bd34c8274fb created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538465 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_sm_config D:f023160b240c created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [ info||538453 |sm_exec D:785e90c63116|xapi_session] Session.destroy trackid=da9f0ee8b310ded041f35c0f3a2077d3
      Jan 20 08:29:44 r5700g xapi: [debug||538468 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_by_uuid D:004985ae55e3 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538469 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_SR D:453f5a0a6250 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538470 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_uuid D:ca13ec8d52d6 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538471 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid D:0e572ba88be3 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538472 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_type D:c59d1842ed93 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538473 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SM.get_all_records_where D:647e1bf6220d created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538474 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SM.get_driver_filename D:cb57b02c8a4a created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538475 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VM.get_all_records_where D:2b914e27a456 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538476 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:PBD.get_all_records_where D:5e8bf1ad7394 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538477 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:PBD.get_device_config D:88a9dc144eba created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [ info||538480 /var/lib/xcp/xapi|session.login_with_password D:3bd414ecb223|xapi_session] Session.create trackid=8d3463a90979acea8829effb2ccc222b pool=false uname=root originator=SM is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
      Jan 20 08:29:44 r5700g xapi: [debug||538481 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:fff533196eb7 created by task D:3bd414ecb223
      Jan 20 08:29:44 r5700g xapi: [ info||538489 /var/lib/xcp/xapi|session.logout D:73e6f6349afa|xapi_session] Session.destroy trackid=8d3463a90979acea8829effb2ccc222b
      Jan 20 08:29:44 r5700g xapi: [debug||538490 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_by_uuid D:3978732c426b created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538491 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_by_uuid D:f5698a8adb36 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538492 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_sm_config D:c6032cef5383 created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538493 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.remove_from_sm_config D:c124551af92c created by task D:9d7c5e51800d
      Jan 20 08:29:44 r5700g xapi: [debug||538493 /var/lib/xcp/xapi||api_effect] VDI.remove_from_sm_config
      Jan 20 08:29:44 r5700g xapi: [ info||538447 |sm_exec D:cb10c59db6fb|xapi_session] Session.destroy trackid=649de188b31f824f116654cb9e48b1f1
      
      
      posted in Xen Orchestra
      AlexanderKA
      AlexanderK
    • RE: Mirror failed

      @olivierlambert
      Tried with vm powered off and again the same results.
      How can i check what was the error?

      {
        "vm": "9e4fcc69-e775-bea9-b594-f240349f51c9",
        "mapVifsNetworks": {
          "98153036-d104-153d-ccfc-bb42bc5b1f29
      
      ": "4031637d-4e28-1283-d507-3309ca111d21
      
      "
        },
        "migrationNetwork": "02c65c2f-5e03-6f57-bf24-f6c4e9e37ea1
      
      ",
        "sr": "5308a7b4-4a93-ec6a-c7c2-5deae25da964",
        "targetHost": "77e49410-ce48-4cba-bc5c-64e5e0e95854"
      }
      {
        "code": "MIRROR_FAILED",
        "params": [
          "OpaqueRef:67ec3260-50c1-43f4-9eef-3faa7f5c5963
      
      "
        ],
        "task": {
          "uuid": "c326ee2d-8aa3-b6e1-f855-d397bafbf646
      
      ",
          "name_label": "Async.VM.migrate_send",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {
            "DummyRef:|9b9c2df8-7a6d-4647-93a2-41939e9ce5dc
      
      |task.cancel": "cancel"
          },
          "created": "20250119T14:41:54Z",
          "finished": "20250120T06:29:55Z",
          "status": "failure",
          "resident_on": "OpaqueRef:49f0db32-a775-4d37-83a0-b20a996bbb9d",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "MIRROR_FAILED",
            "OpaqueRef:67ec3260-50c1-43f4-9eef-3faa7f5c5963
      
      "
          ],
          "other_config": {
            "mirror_failed": "447ff17a-82bc-4d49-a177-02f9086e9a04
      
      "
          },
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 1556))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 131))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
        },
        "message": "MIRROR_FAILED(OpaqueRef:67ec3260-50c1-43f4-9eef-3faa7f5c5963
      
      )",
        "name": "XapiError",
        "stack": "XapiError: MIRROR_FAILED(OpaqueRef:67ec3260-50c1-43f4-9eef-3faa7f5c5963
      
      )
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1068:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1102:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1092:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202501180626/packages/xen-api/index.mjs:1265:14)"
      }
      
      
      posted in Xen Orchestra
      AlexanderKA
      AlexanderK
    • RE: Mirror failed

      @olivierlambert so it is recommended to migrate a vm while being powered off?

      posted in Xen Orchestra
      AlexanderKA
      AlexanderK