Closed solairen closed 8 months ago
After adding domain to my xcp-ng server and setting SSL certificate I got this error:
HTTP handler of vm.import
undefined
{
"code": "ECONNRESET",
"pool_master": {
"uuid": "[989c8ac4-aa55-42db-9c1c-040ef15df085](https://xen-1.techniczna.eu/#/hosts/989c8ac4-aa55-42db-9c1c-040ef15df085)",
"name_label": "weles",
"name_description": "Default install",
"memory_overhead": 1057234944,
"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": "2023-10-18",
"dbv": "0.0.1",
"xapi": "1.20",
"xen": "4.13.5-9.39",
"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": "1711005855.",
"boot_time": "1711005793.",
"rpm_patch_installation_time": "1710587164.478",
"iscsi_iqn": "iqn.2024-03.com.example:d8f9e372"
},
"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:62d141ce-ac89-4183-a129-177dc1db0446](https://xen-1.techniczna.eu/#/vms/590e07f1-8c35-49db-06b3-f8c4f4d4cc09)",
"OpaqueRef:f4c45bb0-7804-42b5-85fd-871257a9239d"
],
"logging": {},
"PIFs": [
"OpaqueRef:7000e898-cbf0-4a6a-a3c5-a803de2f3403"
],
"suspend_image_sr": "[OpaqueRef:2cbf97c5-9ac1-4941-9bdc-3ef7f39a8cb3](https://xen-1.techniczna.eu/#/srs/bda82467-8fd9-0fc4-6ff5-c24d71e50f42)",
"crash_dump_sr": "[OpaqueRef:2cbf97c5-9ac1-4941-9bdc-3ef7f39a8cb3](https://xen-1.techniczna.eu/#/srs/bda82467-8fd9-0fc4-6ff5-c24d71e50f42)",
"crashdumps": [],
"patches": [],
"updates": [],
"PBDs": [
"OpaqueRef:d43edf0b-7e02-42dc-b85d-2bfcdb6d3172",
"OpaqueRef:bf3c3f84-1307-409f-8e6b-3f5ee998ed09",
"OpaqueRef:aab49ae8-e56f-4eb2-b8fe-56eb5b685192",
"OpaqueRef:a3586caf-d4cc-4110-93a8-2aea34ea8345",
"OpaqueRef:74227419-3cb7-40c8-b268-d1c623029d85",
"OpaqueRef:5620ea8d-3fce-42d3-821f-075babd19aa3",
"OpaqueRef:32a59489-f8b7-4276-a960-9679fdd7013b"
],
"host_CPUs": [
"OpaqueRef:cfe3a53b-2fa9-4787-ab96-f3059824f279",
"OpaqueRef:1428fc09-6d40-4c04-afc8-0ec56dc4551f",
"OpaqueRef:76c6061c-43b3-4c44-b0a3-6439180f5628",
"OpaqueRef:33331813-4245-435e-9ecf-e9da7dd3292c",
"OpaqueRef:fd7b52e8-9bf0-40ce-b7ef-f77081fa4fca",
"OpaqueRef:194c5dff-52bf-49df-b2e9-4ec8fea12a72",
"OpaqueRef:216c612e-9b9f-473e-9162-ba4c92fb6640",
"OpaqueRef:61642436-b198-4128-b4a9-87b68e20fb14",
"OpaqueRef:2db2b9d9-7468-4036-aa99-96db3fd88f58",
"OpaqueRef:8677007a-adef-47d5-b14b-44ccccf0f6e0",
"OpaqueRef:59c00db8-a978-4309-bc15-488e29c193f0",
"OpaqueRef:daa3e3b8-6684-4781-837e-ca7e94f07ce0"
],
"cpu_info": {
"cpu_count": "12",
"socket_count": "1",
"vendor": "AuthenticAMD",
"speed": "3599.736",
"modelname": "AMD Ryzen 5 1600X Six-Core Processor",
"family": "23",
"model": "1",
"stepping": "1",
"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 cpb ssbd ibpb vmmcall fsgsbase bmi1 avx2 bmi2 rdseed adx clflushopt sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat",
"features_pv": "1789c3f5-f6f83203-2bd1cbf5-040001e3-00000007-208c0129-00000000-00000000-00001005-00000000-00000000-10000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
"features_hvm": "178bfbff-f6f83203-2fd3fbff-040085f7-0000000f-209c01a9-00000000-00000000-00001005-00000000-00000000-10000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
"features_hvm_host": "178bfbff-f6d83203-2e500800-040001f7-0000000f-209c01a9-00000000-00000000-00001005-00000000-00000000-10000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
"features_pv_host": "1789c3f5-f6d83203-2a500800-040001e3-00000007-208c0129-00000000-00000000-00001005-00000000-00000000-10000004-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000"
},
"hostname": "weles",
"address": "10.11.0.137",
"metrics": "OpaqueRef:ced873bf-5fde-40fd-b44a-3a5da01a8f05",
"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": "1.K0",
"system-manufacturer": "Micro-Star International Co., Ltd.",
"system-product-name": "MS-7A37",
"system-version": "1.0",
"system-serial-number": "To be filled by O.E.M.",
"baseboard-manufacturer": "MSI",
"baseboard-product-name": "B350M MORTAR (MS-7A37)",
"baseboard-version": "1.0",
"baseboard-serial-number": "H416687422",
"oem-1": "Xen",
"oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d",
"oem-3": "To be filled by O.E.M.",
"hp-rombios": ""
},
"power_on_mode": "",
"power_on_config": {},
"local_cache_sr": "[OpaqueRef:2cbf97c5-9ac1-4941-9bdc-3ef7f39a8cb3](https://xen-1.techniczna.eu/#/srs/bda82467-8fd9-0fc4-6ff5-c24d71e50f42)",
"chipset_info": {
"iommu": "true"
},
"PCIs": [
"OpaqueRef:d33e2256-ddab-47cb-aca1-cbf262f74d38",
"OpaqueRef:cd60b6e3-2d4f-4752-b7d1-94f3c9f6cd75",
"OpaqueRef:88bde296-c7fb-41e1-bc9d-a1bf32ccdec2",
"OpaqueRef:5f649662-8b85-4e30-841e-fdfa264df817",
"OpaqueRef:5cb12e64-d357-4ef7-a4c6-8e4534c4cef0",
"OpaqueRef:4f7c3233-2853-42f8-b4aa-6c8d164646dd",
"OpaqueRef:414e5fa3-f8cb-4b63-88f0-5aff4719c2b6",
"OpaqueRef:3d0a26a0-b971-4bac-b44c-febca107b309",
"OpaqueRef:260a01b6-4894-4866-9b01-e62ce382a366"
],
"PGPUs": [
"OpaqueRef:c0737c52-9a1c-41a1-b293-664405e4108a"
],
"PUSBs": [],
"ssl_legacy": false,
"guest_VCPUs_params": {},
"display": "enabled",
"virtual_hardware_platform_versions": [
0,
1,
2
],
"control_domain": "OpaqueRef:f4c45bb0-7804-42b5-85fd-871257a9239d",
"updates_requiring_reboot": [],
"features": [],
"iscsi_iqn": "iqn.2024-03.com.example:d8f9e372",
"multipathing": false,
"uefi_certificates": "",
"certificates": [],
"editions": [
"xcp-ng"
],
"https_only": false
},
"SR": {
"uuid": "[bda82467-8fd9-0fc4-6ff5-c24d71e50f42](https://xen-1.techniczna.eu/#/srs/bda82467-8fd9-0fc4-6ff5-c24d71e50f42)",
"name_label": "Local storage",
"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": [
"OpaqueRef:c5c0a175-44c5-485d-9ca3-aceea3228d3a"
],
"PBDs": [
"OpaqueRef:32a59489-f8b7-4276-a960-9679fdd7013b"
],
"virtual_allocation": 10737418240,
"physical_utilisation": 2154496,
"physical_size": 113051586560,
"type": "ext",
"content_type": "user",
"shared": false,
"other_config": {
"i18n-original-value-name_label": "Local storage",
"i18n-key": "local-storage"
},
"tags": [],
"sm_config": {
"devserial": "scsi-35000c5002a7e5955"
},
"blobs": {},
"local_cache_enabled": true,
"introduced_by": "OpaqueRef:NULL",
"clustered": false,
"is_tools_sr": false
},
"VDI": {
"uuid": "1f8043d3-bd77-4058-b725-95a18cf64e21",
"name_label": "ubuntu-jammy-22.04-cloudimg",
"name_description": "No description",
"allowed_operations": [
"generate_config",
"update",
"forget",
"destroy",
"snapshot",
"resize",
"copy",
"clone"
],
"current_operations": {},
"SR": "[OpaqueRef:2cbf97c5-9ac1-4941-9bdc-3ef7f39a8cb3](https://xen-1.techniczna.eu/#/srs/bda82467-8fd9-0fc4-6ff5-c24d71e50f42)",
"VBDs": [
"OpaqueRef:a659828a-b23d-4ca5-bf8f-839bba00252f"
],
"crash_dumps": [],
"virtual_size": 10737418240,
"physical_utilisation": 24064,
"type": "user",
"sharable": false,
"read_only": false,
"other_config": {},
"storage_lock": false,
"location": "1f8043d3-bd77-4058-b725-95a18cf64e21",
"managed": true,
"missing": false,
"parent": "OpaqueRef:NULL",
"xenstore_data": {},
"sm_config": {},
"is_a_snapshot": false,
"snapshot_of": "OpaqueRef:NULL",
"snapshots": [],
"snapshot_time": "19700101T00:00:00Z",
"tags": [],
"allow_caching": false,
"on_boot": "persist",
"metadata_of_pool": "",
"metadata_latest": false,
"is_tools_iso": false,
"cbt_enabled": false
},
"message": "aborted",
"name": "Error",
"stack": "Error: aborted
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketCloseListener (node:_http_client:461:19)
at TLSSocket.emit (node:events:529:35)
at TLSSocket.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202403202037/@xen-orchestra/log/configure.js:52:17)
at node:net:350:12
at TCP.done (node:_tls_wrap:657:7)
at TCP.callbackTrampoline (node:internal/async_hooks:128:17)"
}
Looks like this commit introduced the problem: (6c16055)
I built from source on the prior commit (c6451cf) and I am able to import VM's and CloudConfig VDI's are able to import as well (Related: #7496)
@Adam8234 Thanks for the information. Built with given commit and now it works.
Are you using XOA or XO from the sources?
XO from the sources
Which release channel?
stable
Provide your commit number
b8177
Describe the bug
Hi, I have a problem with importing VM's to Xen Orchestra. During import error occurs and in logs, there is information about
self-signed certificate
. Previously it worked normally.Xen Orchestra, commit b8177 Master, commit b8177
Error message
To reproduce
Expected behavior
VM is imported correctly.
Screenshots
No response
Node
18.19.1
Hypervisor
XCP-NG 8.2.1
Additional context
No response