[ovirt-users] Disk move failures

Nir Soffer nsoffer at redhat.com
Sat Jan 7 22:31:40 UTC 2017


On Sat, Jan 7, 2017 at 11:36 AM, Pavel Gashev <Pax at acronis.com> wrote:
> The same is here. Upgrade vdsm to 4.17.35.
>
> -----Original Message-----
> From: <users-bounces at ovirt.org> on behalf of Michael Watters <Michael.Watters at dart.biz>
> Date: Saturday 7 January 2017 at 00:04
> To: "Users at ovirt.org" <Users at ovirt.org>
> Subject: [ovirt-users] Disk move failures
>
> I am receiving several LVM errors when attempting to move a disk from
> one storage domain to another.
>
>> VDSM ovirt-node-production2 command failed: Logical Volume extend
> failed
>
> vdsm.log shows a failure message as follows.
>
>> d6d4529e-db0d-49ac-a0c3-ee9d2e8cc9bb::ERROR::2017-01-06
> 15:05:54,926::image::405::Storage.Image::(_createTargetImage)
> Unexpected error
> Traceback (most recent call last):
>   File "/usr/share/vdsm/storage/image.py", line 394, in
> _createTargetImage
>     dstVol.extend((volParams['apparentsize'] + 511) / 512)
>   File "/usr/share/vdsm/storage/blockVolume.py", line 310, in extend
>     lvm.extendLV(self.sdUUID, self.volUUID, sizemb)
>   File "/usr/share/vdsm/storage/lvm.py", line 1179, in extendLV
>     _resizeLV("lvextend", vgName, lvName, size)
>   File "/usr/share/vdsm/storage/lvm.py", line 1175, in _resizeLV
>     raise se.LogicalVolumeExtendError(vgName, lvName, "%sM" % (size, ))
> LogicalVolumeExtendError: Logical Volume extend failed:
> 'vgname=32f7c737-c1ee-4d2e-82a7-1b5e6efe0cf8 lvname=7ec88b4b-e893-47dc-
> 895f-5f8e584ed2cf newsize=1024M'
>
> Does anybody know what would cause this?  I am able to create volumes
> and extend them from the command line without any issues.

Sounds like lvm changing exit code in backward incompatible way, revealing
incorrect error handling in vdsm:
https://github.com/oVirt/vdsm/commit/6fbdbe9e797733e4615cf33cd222ef9b0aae3158

Fixed in 4.17.35.

Nir

> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


More information about the Users mailing list