vm-import failing - restore VM missing
-
I am trying to do a vm-import using the vhd disks from a datto bcdr device.
Version 8.2 - latest patches applied
Using xcp-nc center 20.04.01.33I have 2 problems
When it works I get a throughput of 1.2 mbpsIts now not working
I think I might have deleted the import vm ?
The log I am seeing isApr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|VDI.create R:f7924b60b40d|audit] VDI.create: SR = 'a40180be-ee4f-819a-12ca-9319d4a73e72 (Local SSD)'; name label = 'Virtual Disk' Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|VDI.create R:f7924b60b40d|message_forwarding] Marking SR for VDI.create (task=OpaqueRef:f7924b60-b40d-4235-bb17-5e511f682822) Apr 29 17:17:24 mcs-fujitsu xapi: [ info||2167 HTTPS 192.168.1.99->:::80|VDI.create R:f7924b60b40d|storage_impl] VDI.create dbg:OpaqueRef:f7924b60-b40d-4235-bb17-5e511f682822 sr:a40180be-ee4f-819a-12ca-9319d4a73e72 vdi_info:{"sm_config":{},"sharable":false,"persistent":true,"physical_utilisation":0,"virtual_size":53695528960,"cbt_enabled":false,"read_only":false,"snapshot_of":"","snapshot_time":"19700101T00:00:00Z","is_a_snapshot":false,"metadata_of_pool":"","ty":"user","name_description":"Created by XCP-ng Center Disk Image Import","name_label":"Virtual Disk","content_id":"","vdi":""} Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2168 ||dummytaskhelper] task VDI.create D:ebee5ae08974 created by task R:f7924b60b40d Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2168 |VDI.create D:ebee5ae08974|sm] SM lvm vdi_create sr=OpaqueRef:5e63ac5c-4f32-41af-b728-39469e6b970c sm_config=[] type=[user] size=53695528960 Apr 29 17:17:24 mcs-fujitsu xapi: [ info||2168 |sm_exec D:a2434c25ab1b|xapi_session] Session.create trackid=0737194eb2e5768157d43ece022bba31 pool=false uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2169 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:0f08e9412be8 created by task D:a2434c25ab1b Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2170 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:8820b270cc0a created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2171 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_other_config D:c6881b7df563 created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2172 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_sm_config D:7e32ea2a8ffc created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2173 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.db_introduce D:317bd61f45f6 created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [ info||2173 /var/lib/xcp/xapi||taskhelper] task VDI.db_introduce R:c0aeb6ff8636 (uuid:0908be0d-209b-450e-ebfa-33e5db28c96e) created (trackid=0737194eb2e5768157d43ece022bba31) by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2173 /var/lib/xcp/xapi|VDI.db_introduce R:c0aeb6ff8636|xapi_vdi] {pool,db}_introduce uuid=9c4ede52-82bb-4fbd-b348-d2b473893c79 name_label=Virtual Disk Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2173 /var/lib/xcp/xapi|VDI.db_introduce R:c0aeb6ff8636|xapi_vdi] VDI.introduce read_only = false Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2174 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_virtual_allocation D:cd7698fe4b92 created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2175 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid D:a074a93d5da1 created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2176 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_virtual_allocation D:0b301ba6300f created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2177 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_size D:f4d70b837692 created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2178 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_utilisation D:db1c5284f66c created by task D:ebee5ae08974 Apr 29 17:17:24 mcs-fujitsu xapi: [ info||2168 |sm_exec D:a2434c25ab1b|xapi_session] Session.destroy trackid=0737194eb2e5768157d43ece022bba31 Apr 29 17:17:24 mcs-fujitsu xapi: [ info||2167 HTTPS 192.168.1.99->:::80|VDI.create R:f7924b60b40d|xapi_vdi] sr:OpaqueRef:5e63ac5c-4f32-41af-b728-39469e6b970c vdi:9c4ede52-82bb-4fbd-b348-d2b473893c79 requested virtual size 53695528960 < actual virtual size 53697576960 Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|VDI.create R:f7924b60b40d|xapi_sr] OpaqueRef:da2fd6aa-74da-4862-997d-60e582299297 snapshot_of <- OpaqueRef:NULL Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|VDI.create R:f7924b60b40d|message_forwarding] Unmarking SR after VDI.create (task=OpaqueRef:f7924b60-b40d-4235-bb17-5e511f682822) Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|host.call_plugin R:f533460fe0a5|audit] Host.call_plugin host = 'e7a91d8b-7448-4691-a26f-65c4f78e17b2 (MCS-Fujitsu)'; plugin = 'transfer'; fn = 'expose' args = [ 'hidden' ] Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] host.call_plugin R:f533460fe0a5 failed with exception Server_error(XENAPI_MISSING_PLUGIN, [ transfer ]) Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] Raised Server_error(XENAPI_MISSING_PLUGIN, [ transfer ]) Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] 1/6 xapi Raised at file ocaml/xapi/rbac.ml, line 205 Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] 2/6 xapi Called from file ocaml/xapi/server_helpers.ml, line 95 Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] 3/6 xapi Called from file ocaml/xapi/server_helpers.ml, line 113 Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] 4/6 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24 Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] 5/6 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35 Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] 6/6 xapi Called from file lib/backtrace.ml, line 177 Apr 29 17:17:24 mcs-fujitsu xapi: [error||2167 :::80||backtrace] Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|VM.destroy R:80e588021225|audit] VM.destroy: VM = '119f2fd8-d1d3-1946-2df0-07ddf1203eef (VHDG)' Apr 29 17:17:24 mcs-fujitsu xapi: [debug||2167 HTTPS 192.168.1.99->:::80|VM.destroy R:80e588021225|xapi_vm_helpers] VM.destroy: deleting DB records
Where is the import vm located ?
How can I get better throughput ?Thanks in advance
mark
-
Hi,
First, try to use a supported management tool for it (eg Xen Orchestra) to see if the import works better with it.
-
Built a new Xo server.
I have tried importing a vhd and vmdk file and I am getting about 2mbit throughput different source and xcp-ng servers
Same throuhput problemAny Ideas what I am looking for
I have to import 4 disks, the largest is ~600gb
Mark
-
It's a bit hard to tell with so little details
Could you provide more context, the network bandwidth between XO, XCP-ng, your PC where you import the drives etc.