c23a5bef-48e0-46c7-9d5b-93c97f0240c0 is the target storage domain?
if the disk is still on the source storage domain in ovirt-engine, you
can remove the LV manually with lvremove, after making sure the source
is correct with
$ vdsm-client Volume getInfo

Do you know why the move failed? When move fails it should cleanup the
target (unless there was no access to the storage)

On Mon, Aug 23, 2021 at 10:47 PM James Wadsworth
<ja...@deanimaconsulting.com> wrote:
>
> This is the log of when it fails
>
> 2021-08-23 21:24:10,667+0200 WARN  (tasks/0) [storage.LVM] Command with 
> specific filter failed or returned no data, retrying with a wider filter: LVM 
> command failed: 'cmd=[\'/sbin/lvm\', \'lvcreate\', \'--config\', \'devices {  
> preferred_names=["^/dev/mapper/"]  ignore_suspended_devices=1  
> write_cache_state=0  disable_after_error_count=3  
> filter=["a|^/dev/mapper/36001405299f83b19569473f9c580660c$|", "r|.*|"]  
> hints="none"  obtain_device_list_from_udev=0 } global {  locking_type=1  
> prioritise_write_locks=1  wait_for_locks=1  use_lvmetad=0  use_lvmpolld=1 } 
> backup {  retain_min=50  retain_days=0 }\', \'--autobackup\', \'n\', 
> \'--contiguous\', \'n\', \'--size\', \'40960m\', \'--wipesignatures\', \'n\', 
> \'--addtag\', \'OVIRT_VOL_INITIALIZING\', \'--name\', 
> \'432ceb20-efb7-4a40-8431-1b5c825a6168\', 
> \'c23a5bef-48e0-46c7-9d5b-93c97f0240c0\'] rc=5 out=[] err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']' (l
>  vm:534)
> 2021-08-23 21:24:10,859+0200 WARN  (tasks/0) [storage.LVM] All 2 tries have 
> failed: LVM command failed: 'cmd=[\'/sbin/lvm\', \'lvcreate\', \'--config\', 
> \'devices {  preferred_names=["^/dev/mapper/"]  ignore_suspended_devices=1  
> write_cache_state=0  disable_after_error_count=3  
> filter=["a|^/dev/mapper/36001405299f83b19569473f9c580660c$|^/dev/mapper/36001405cdf35411dd040d4121d9326d1$|^/dev/mapper/36001405df393063de6f0d4451d8a61d3$|",
>  "r|.*|"]  hints="none"  obtain_device_list_from_udev=0 } global {  
> locking_type=1  prioritise_write_locks=1  wait_for_locks=1  use_lvmetad=0  
> use_lvmpolld=1 } backup {  retain_min=50  retain_days=0 }\', 
> \'--autobackup\', \'n\', \'--contiguous\', \'n\', \'--size\', \'40960m\', 
> \'--wipesignatures\', \'n\', \'--addtag\', \'OVIRT_VOL_INITIALIZING\', 
> \'--name\', \'432ceb20-efb7-4a40-8431-1b5c825a6168\', 
> \'c23a5bef-48e0-46c7-9d5b-93c97f0240c0\'] rc=5 out=[] err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-4
>  8e0-46c7-9d5b-93c97f0240c0"\']' (lvm:561)
> 2021-08-23 21:24:10,859+0200 ERROR (tasks/0) [storage.Volume] Failed to 
> create volume 
> /rhev/data-center/mnt/blockSD/c23a5bef-48e0-46c7-9d5b-93c97f0240c0/images/2172a4ac-6992-4cc2-be1b-6b9290bc9798/432ceb20-efb7-4a40-8431-1b5c825a6168:
>  Cannot create Logical Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 
> lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']' (volume:1257)
> 2021-08-23 21:24:10,860+0200 ERROR (tasks/0) [storage.Volume] Unexpected 
> error (volume:1293)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/volume.py", line 1254, 
> in create
>     add_bitmaps=add_bitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/blockVolume.py", line 
> 508, in _create
>     initialTags=(sc.TAG_VOL_UNINIT,))
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/lvm.py", line 1633, in 
> createLV
>     raise se.CannotCreateLogicalVolume(vgName, lvName, err)
> vdsm.storage.exception.CannotCreateLogicalVolume: Cannot create Logical 
> Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 
> lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']'
> 2021-08-23 21:24:10,860+0200 ERROR (tasks/0) [storage.TaskManager.Task] 
> (Task='55a4e8dc-9408-4969-b0ba-b9a556bccba1') Unexpected error (task:877)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 884, in 
> _run
>     return fn(*args, **kargs)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 350, in 
> run
>     return self.cmd(*self.argslist, **self.argsdict)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/securable.py", line 79, 
> in wrapper
>     return method(self, *args, **kwargs)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/sp.py", line 1945, in 
> createVolume
>     initial_size=initialSize, add_bitmaps=addBitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/sd.py", line 1216, in 
> createVolume
>     initial_size=initial_size, add_bitmaps=add_bitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/volume.py", line 1254, 
> in create
>     add_bitmaps=add_bitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/blockVolume.py", line 
> 508, in _create
>     initialTags=(sc.TAG_VOL_UNINIT,))
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/lvm.py", line 1633, in 
> createLV
>     raise se.CannotCreateLogicalVolume(vgName, lvName, err)
> vdsm.storage.exception.CannotCreateLogicalVolume: Cannot create Logical 
> Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 
> lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']'
>
> The logical volume it is trying to create already exists in the volume group. 
> Can anyone help me get out of this situation?
>
> Thanks, James
> _______________________________________________
> 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/CQLCRATYYT3RI7SBET24AMQQRSKYYNYG/
_______________________________________________
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/B4MY7KENQWQL3EHTNDB5ELHRVDKDBJ47/

Reply via email to