Sadly, libgfapi has some limits and some of them are like your case.
If it's a linux VM, you can create new disk from the Gluster Storage and then 
attach and clone/pvmove it from within the guest.

Another approach is to disable libgfapi, shutdown the vm, power on the VM, 
migrate the disk and later again enable libgfapi and restart the VM (power off 
and power on cycle).

Best Regards,
Strahil Nikolov






В понеделник, 27 септември 2021 г., 14:57:48 ч. Гринуич+3, Tommy Sway 
<sz_cui...@163.com> написа: 






Yes.
 
The source image is on iSCSI domain, and the target one is on Gluster Domain.
 
 
 
 
 
From: users-boun...@ovirt.org <users-boun...@ovirt.org> On Behalf Of Benny 
ZlotnikSent: Monday, September 27, 2021 7:49 PMTo: Tommy Sway 
<sz_cui...@163.com>Cc: users <users@ovirt.org>Subject: [ovirt-users] Re: about 
the Live Storage Migration
 
are you using libgfapi? LSM is not supported for it
 
On Mon, Sep 27, 2021 at 2:25 PM Tommy Sway <sz_cui...@163.com> wrote:
> The qemu and libvirtd on the KVM hosts has no error.
>  
> The attached files are engine.log on the engine and vdsm.log on KVM 
> host(where the vm is running), please refer.
>  
> Thanks.
>  
>  
> 
>  
> 
>  
>  
>  
> -----Original Message-----From: users-boun...@ovirt.org 
> <users-boun...@ovirt.org> On Behalf Of Vojtech JuranekSent: Monday, September 
> 27, 2021 6:38 PMTo: users@ovirt.org; Tommy Sway <sz_cui...@163.com>Subject: 
> [ovirt-users] Re: about the Live Storage Migration
>  
> On Monday, 27 September 2021 10:32:26 CEST Tommy Sway wrote:
>> Engine:
>> 
>> 2021-09-27 16:26:40,363+08 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCo
>> mmand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-90) [] Failed in 
>> 'HSMGetAllTasksStatusesVDS' method
>> 2021-09-27 16:26:40,390+08 ERROR
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-90) [] EVENT_ID:
>> VDS_BROKER_COMMAND_FAILURE(10,802), VDSM olvms2 command 
>> HSMGetAllTasksStatusesVDS failed: low level Image copy failed: ()
>> 2021-09-27 16:26:40,390+08 INFO
>> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-90) []
>> SPMAsyncTask::PollTask: Polling task '46aa9508-1029-4d8f-8840-d2c23041a6eb'
>> (Parent Command 'SyncImageGroupData', Parameters Type
>> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') 
>> returned status 'finished', result 'cleanSuccess'.
>> 2021-09-27 16:26:40,394+08 ERROR
>> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-90) []
>> BaseAsyncTask::logEndTaskFailure: Task 
>> '46aa9508-1029-4d8f-8840-d2c23041a6eb' (Parent Command 
>> 'SyncImageGroupData', Parameters Type
>> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended 
>> with
>> failure:
>> -- Result: 'cleanSuccess'
>> -- Message: 'VDSGenericException: VDSErrorException: Failed to 
>> HSMGetAllTasksStatusesVDS, error = low level Image copy failed: (), 
>> code = 261',
>> -- Exception: 'VDSGenericException: VDSErrorException: Failed to 
>> HSMGetAllTasksStatusesVDS, error = low level Image copy failed: (), 
>> code = 261'
>> 2021-09-27 16:26:40,396+08 INFO
>> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-90) []
>> CommandAsyncTask::endActionIfNecessary: All tasks of command 
>> '40bd5b89-54cd-4d6f-aa18-69747241eed0' has ended -> executing 'endAction'
>> 2021-09-27 16:26:40,396+08 INFO
>> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-90) []
>> CommandAsyncTask::endAction: Ending action for '1' tasks (command ID:
>> '40bd5b89-54cd-4d6f-aa18-69747241eed0'): calling endAction '.
>> 2021-09-27 16:26:40,397+08 INFO
>> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
>> (EE-ManagedThreadFactory-engine-Thread-452957) [] 
>> CommandAsyncTask::endCommandAction [within thread] context: Attempting 
>> to endAction 'SyncImageGroupData',
>> 2021-09-27 16:26:40,404+08 ERROR
>> [org.ovirt.engine.core.bll.storage.lsm.SyncImageGroupDataCommand]
>> (EE-ManagedThreadFactory-engine-Thread-452957)
>> [bf830d22-1724-45fa-a3c3-6f543f331397] Ending command 
>> 'org.ovirt.engine.core.bll.storage.lsm.SyncImageGroupDataCommand' with 
>> failure.
>> 
>> 
>> VDSM.log:
>> 
>> 2021-09-27 16:26:51,609+0800 ERROR (libvirt/events) [virt.vm]
>> (vmId='3261ae19-ddb6-4d73-9e79-55530b564999') Block job COPY for drive 
>> /rhev/data-center/mnt/blockSD/41bc1316-5c1d-4836-a103-5acbbf0c47a1/ima
>> ges/0f
>> c2697b-2727-4dd2-89c4-4f3d104c1898/b3811b1e-d229-438b-9a4a-fbf5955830c
>> 6 has failed (vm:5892)
>  
>  
> Is this the only vdsm error? Based on the engine log, there should be also 
> some CopyImageError in the vdsm log - this would give us more context where 
> exactly it failed.
>  
> Also, given that libvirt block job failed, is there any error in libvirt/qemu 
> log?
>  
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> -----Original Message-----
>> From: users-boun...@ovirt.org <users-boun...@ovirt.org> On Behalf Of 
>> Vojtech Juranek
>> Sent: Monday, September 27, 2021 3:23 PM
>> To: users@ovirt.org; Tommy Sway <sz_cui...@163.com>
>> Subject: [ovirt-users] Re: about the Live Storage Migration
>> 
>> On Sunday, 26 September 2021 14:07:01 CEST Tommy Sway wrote:
>> > Why always fail ?
>> 
>> please provide relevant part of engine and vdsm logs
>  
> _______________________________________________Users mailing list -- 
> users@ovirt.orgTo unsubscribe send an email to users-leave@ovirt.orgPrivacy 
> Statement: https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/QCIHBSTVLVTCO6FLEJFSYJGQPCHPRY7X/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/J6YAKB6XAZK6FPQPMRZQOAPXVYDUSZV2/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7J4AHDMXPMPQSGEEHRGW5QXFGFVKHCNL/

Reply via email to