Symptoms
The following errors are being reported every few minutes in the Cloud Infrastructure Log:
18766 Nov-10-2015 00:10:02 The virtual machine or the source and destination servers do not comply with the migration requirements. Failed 18765 Nov-10-2015 00:10:01 The selected object was opened for editing incorrectly. Try to open the object again or contact your Parallels Server administrator for assistance.
Additional errors could be found on PACI Instance Manager node in
/var/log/IM/PACI-vm2vf.log
:2015-11-10 13:25:01,903 (e40fd12b-7f1c-40f7-916c-2a39172f9549) INFO NativeVm2VfCode [Thread-270059] - [16362:1179710] INF get_err_message() [1] error message: (The virtual machine or the source and destination servers do not comply with the migration requirements.) @[common/generic_sdk_cb.c][91][get_err_message][22232]) 2015-11-10 13:25:01,903 (e40fd12b-7f1c-40f7-916c-2a39172f9549) INFO NativeVm2VfCode [Thread-270060] - [16362:1179710] INF get_err_message() [2] error message: (Migrating this virtual machine requires 18496 MB of free disk space, while only 7631 MB are available on the destination server.) @[common/generic_sdk_cb.c][132][get_err_message][22232]) 2015-11-10 13:25:01,903 (e40fd12b-7f1c-40f7-916c-2a39172f9549) ERROR NativeVm2VfCode [Thread-270061] - [16362:1179710] ERR __PrlVm_Migrate (COPY_TEMPLATE) __wait_job_chk_result: result PRL_ERR_VM_MIGRATE_CHECKING_PRECONDITIONS_FAILED / "The virtual machine or the source and destination servers do not comply with the migration requirements." @[common/generic_sdk_cb.c][173][__wait_job_chk_result][22232])
Cause
Operation of copy OS Template to other virtualization node fails because of lack of diskspace in /vz
partition on destination node.
Resolution
Find corresponding error in
/var/log/IM/PACI-vm2vf.log
on PACI IM node. For example:2015-11-10 13:25:49,118 () DEBUG ReqIdSetter [RequestProcessor-24942] - Received CORBA request: #2589582 - copy_template_cb 2016-11-00 13:25:49,118 (e40fd12b-7f1c-40f7-916c-2a39172f9549) INFO LoggingProxy [RequestProcessor-24942] - invoked: register_callback( <Vm2VfCallback> ); reqId=1026052; corbaReqId=2589582. 2016-03-30 21:46:49,118 () INFO LoggingProxy [RequestProcessor-24942] - invoked: copy_template_cb( "10.39.87.217", "root", <hidden>, "10.39.87.218", "root", <hidden>, "windows-server-2008-x86_64", null, java.nio.DirectByteBuffer[pos=0 lim=32 cap=32] ); reqId=1026052; corbaReqId=2589582.
In the first section of the logs you can see the source and destination servers which are being used the syntax is as following:
copy_template_cb( "Source_Server_IP_Address", "Source_server_User_Name", <hidden>, "Destination_Server_IP_Address", "Destination_Server_User_Name", <hidden>, "Template_Name", null, java.nio.DirectByteBuffer[pos=0 lim=32 cap=32] );
After gathering the Source and destination server address, log into the source node and check location and size of corresponding template:
[root@node1 ~]# prlctl list -t UUID DIST T NAME {9d23b523-a799-4305-8138-7e5b675480fd} win-2008 VM windows-server-2008-x86_64 [root@pcs5 ~]# du -sh /var/parallels/windows-server-2008-x86_64.pvm/ 19G /var/parallels/windows-server-2008-x86_64.pvm/
Check available disk space on destination node:
[root@node2 ~]# df -h /var/parallels/ Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_pcs2-lv_root 24G 17G 5.7G 75% /
- In-order to fix this error message increase the disk space of the
/vz
partition on the destination server.