about the Live Storage Migration

From the document: Overview of Live Storage Migration Virtual disks can be migrated from one storage domain to another while the virtual machine to which they are attached is running. This is referred to as live storage migration. When a disk attached to a running virtual machine is migrated, a snapshot of that disk's image chain is created in the source storage domain, and the entire image chain is replicated in the destination storage domain. As such, ensure that you have sufficient storage space in both the source storage domain and the destination storage domain to host both the disk image chain and the snapshot. A new snapshot is created on each live storage migration attempt, even when the migration fails. Consider the following when using live storage migration: You can live migrate multiple disks at one time. Multiple disks for the same virtual machine can reside across more than one storage domain, but the image chain for each disk must reside on a single storage domain. You can live migrate disks between any two storage domains in the same data center. You cannot live migrate direct LUN hard disk images or disks marked as shareable. But where do users perform online storage migrations? There seems to be no interface.

when you move a disk that's attached to a running VM, live storage migration will be performed On Sun, Sep 26, 2021 at 2:08 PM Tommy Sway <sz_cuitao@163.com> wrote:
From the document:
Overview of Live Storage Migration
Virtual disks can be migrated from one storage domain to another while the virtual machine to which they are attached is running. This is referred to as live storage migration. When a disk attached to a running virtual machine is migrated, a snapshot of that disk’s image chain is created in the source storage domain, and the entire image chain is replicated in the destination storage domain. As such, ensure that you have sufficient storage space in both the source storage domain and the destination storage domain to host both the disk image chain and the snapshot. A new snapshot is created on each live storage migration attempt, even when the migration fails.
Consider the following when using live storage migration:
You can live migrate multiple disks at one time.
Multiple disks for the same virtual machine can reside across more than one storage domain, but the image chain for each disk must reside on a single storage domain.
You can live migrate disks between any two storage domains in the same data center.
You cannot live migrate direct LUN hard disk images or disks marked as shareable.
But where do users perform online storage migrations?
There seems to be no interface.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/GRFF5WF7TEWL3P...

Why always fail ? -----Original Message----- From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Benny Zlotnik Sent: Sunday, September 26, 2021 7:51 PM To: Tommy Sway <sz_cuitao@163.com> Cc: users <users@ovirt.org> Subject: [ovirt-users] Re: about the Live Storage Migration when you move a disk that's attached to a running VM, live storage migration will be performed On Sun, Sep 26, 2021 at 2:08 PM Tommy Sway < <mailto:sz_cuitao@163.com> sz_cuitao@163.com> wrote:
From the document:
Overview of Live Storage Migration
Virtual disks can be migrated from one storage domain to another while the virtual machine to which they are attached is running. This is referred to as live storage migration. When a disk attached to a running virtual machine is migrated, a snapshot of that disk’s image chain is created in the source storage domain, and the entire image chain is replicated in the destination storage domain. As such, ensure that you have sufficient storage space in both the source storage domain and the destination storage domain to host both the disk image chain and the snapshot. A new snapshot is created on each live storage migration attempt, even when the migration fails.
Consider the following when using live storage migration:
You can live migrate multiple disks at one time.
Multiple disks for the same virtual machine can reside across more than one storage domain, but the image chain for each disk must reside on a single storage domain.
You can live migrate disks between any two storage domains in the same data center.
You cannot live migrate direct LUN hard disk images or disks marked as shareable.
But where do users perform online storage migrations?
There seems to be no interface.
_______________________________________________
Users mailing list -- <mailto:users@ovirt.org> users@ovirt.org
To unsubscribe send an email to <mailto:users-leave@ovirt.org> users-leave@ovirt.org Privacy
Statement: <https://www.ovirt.org/privacy-policy.html> https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
<https://www.ovirt.org/community/about/community-guidelines/> https://www.ovirt.org/community/about/community-guidelines/
List Archives:
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRFF5WF7> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRFF5WF7
TEWL3P66LA24C5NJWDAR5JUP/
_______________________________________________ Users mailing list -- <mailto:users@ovirt.org> users@ovirt.org To unsubscribe send an email to <mailto:users-leave@ovirt.org> users-leave@ovirt.org Privacy Statement: <https://www.ovirt.org/privacy-policy.html> https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: <https://www.ovirt.org/community/about/community-guidelines/> https://www.ovirt.org/community/about/community-guidelines/ List Archives: <https://lists.ovirt.org/archives/list/users@ovirt.org/message/U4YHBCFSFBUDMUHJI7XEHJFPVZILXTHL/> https://lists.ovirt.org/archives/list/users@ovirt.org/message/U4YHBCFSFBUDMU...

Engine: 2021-09-27 16:26:40,363+08 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (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/images/0f c2697b-2727-4dd2-89c4-4f3d104c1898/b3811b1e-d229-438b-9a4a-fbf5955830c6 has failed (vm:5892) -----Original Message----- From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Vojtech Juranek Sent: Monday, September 27, 2021 3:23 PM To: users@ovirt.org; Tommy Sway <sz_cuitao@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

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.HSMGetAllTasksStatusesVDSCommand] (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/images/0f c2697b-2727-4dd2-89c4-4f3d104c1898/b3811b1e-d229-438b-9a4a-fbf5955830c6 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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Vojtech Juranek Sent: Monday, September 27, 2021 3:23 PM To: users@ovirt.org; Tommy Sway <sz_cuitao@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

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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Vojtech Juranek Sent: Monday, September 27, 2021 6:38 PM To: users@ovirt.org; Tommy Sway <sz_cuitao@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: <mailto:users-bounces@ovirt.org> users-bounces@ovirt.org < <mailto:users-bounces@ovirt.org> users-bounces@ovirt.org> On Behalf Of
Vojtech Juranek
Sent: Monday, September 27, 2021 3:23 PM
To: <mailto:users@ovirt.org> users@ovirt.org; Tommy Sway < <mailto:sz_cuitao@163.com> sz_cuitao@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

are you using libgfapi? LSM is not supported for it On Mon, Sep 27, 2021 at 2:25 PM Tommy Sway <sz_cuitao@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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Vojtech Juranek Sent: Monday, September 27, 2021 6:38 PM To: users@ovirt.org; Tommy Sway <sz_cuitao@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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of
Vojtech Juranek
Sent: Monday, September 27, 2021 3:23 PM
To: users@ovirt.org; Tommy Sway <sz_cuitao@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.org To unsubscribe send an email to users-leave@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/QCIHBSTVLVTCO6...

Yes. The source image is on iSCSI domain, and the target one is on Gluster Domain. From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Benny Zlotnik Sent: Monday, September 27, 2021 7:49 PM To: Tommy Sway <sz_cuitao@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_cuitao@163.com <mailto:sz_cuitao@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-bounces@ovirt.org <mailto:users-bounces@ovirt.org> <users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> > On Behalf Of Vojtech Juranek Sent: Monday, September 27, 2021 6:38 PM To: users@ovirt.org <mailto:users@ovirt.org> ; Tommy Sway <sz_cuitao@163.com <mailto:sz_cuitao@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: <mailto:users-bounces@ovirt.org> users-bounces@ovirt.org < <mailto:users-bounces@ovirt.org> users-bounces@ovirt.org> On Behalf Of
Vojtech Juranek
Sent: Monday, September 27, 2021 3:23 PM
To: <mailto:users@ovirt.org> users@ovirt.org; Tommy Sway < <mailto:sz_cuitao@163.com> sz_cuitao@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.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@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/QCIHBSTVLVTCO6...

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_cuitao@163.com> написа: Yes. The source image is on iSCSI domain, and the target one is on Gluster Domain. From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Benny ZlotnikSent: Monday, September 27, 2021 7:49 PMTo: Tommy Sway <sz_cuitao@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_cuitao@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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Vojtech JuranekSent: Monday, September 27, 2021 6:38 PMTo: users@ovirt.org; Tommy Sway <sz_cuitao@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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Vojtech Juranek Sent: Monday, September 27, 2021 3:23 PM To: users@ovirt.org; Tommy Sway <sz_cuitao@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/QCIHBSTVLVTCO6...
Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/J6YAKB6XAZK6FP...

Admin Portal -> Storage -> Disks -> Select Disk -> upper right corner -> Move -> follow the wizard Best Regards, Strahil Nikolov В неделя, 26 септември 2021 г., 14:06:23 ч. Гринуич+3, Tommy Sway <sz_cuitao@163.com> написа: From the document: Overview of Live Storage Migration Virtual disks can be migrated from one storage domain to another while the virtual machine to which they are attached is running. This is referred to as live storage migration. When a disk attached to a running virtual machine is migrated, a snapshot of that disk’s image chain is created in the source storage domain, and the entire image chain is replicated in the destination storage domain. As such, ensure that you have sufficient storage space in both the source storage domain and the destination storage domain to host both the disk image chain and the snapshot. A new snapshot is created on each live storage migration attempt, even when the migration fails. Consider the following when using live storage migration: You can live migrate multiple disks at one time. Multiple disks for the same virtual machine can reside across more than one storage domain, but the image chain for each disk must reside on a single storage domain. You can live migrate disks between any two storage domains in the same data center. You cannot live migrate direct LUN hard disk images or disks marked as shareable. But where do users perform online storage migrations? There seems to be no interface. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/GRFF5WF7TEWL3P...
participants (4)
-
Benny Zlotnik
-
Strahil Nikolov
-
Tommy Sway
-
Vojtech Juranek