Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 878955

Summary: [vdsm] [TEXT] getVSize always fails and produces IO error printed into vdsm log:No such file or directory: '/dev/$VG/$LV
Product: Red Hat Enterprise Virtualization Manager Reporter: Haim <hateya>
Component: vdsmAssignee: Eduardo Warszawski <ewarszaw>
Status: CLOSED UPSTREAM QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: abaron, acathrow, amureini, bazulay, ewarszaw, hateya, iheim, jkt, lpeer, scohen, yeylon
Target Milestone: ---Flags: scohen: Triaged+
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: v4.11.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-08 06:23:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1019461    
Attachments:
Description Flags
vdsm log none

Description Haim 2012-11-21 16:14:21 UTC
Description of problem:

the following error always appears when working with block devices:

6ead78b4-0de5-4a17-a80e-0039424076e1::WARNING::2012-11-21 19:12:32,650::blockVolume::105::Storage.Volume::(getVSize) Could not get size for vol 2365904d-f60b-4
6ee-8276-63a272a8b25e/421a7838-4cf1-43df-a36a-08397e50bf47 using optimized methods
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/blockVolume.py", line 97, in getVSize
    return _getDeviceSize(lvm.lvPath(sdobj.sdUUID, volUUID)) / bs
  File "/usr/share/vdsm/storage/blockVolume.py", line 68, in _getDeviceSize
    with open(devPath, "rb") as f:
IOError: [Errno 2] No such file or directory: '/dev/2365904d-f60b-46ee-8276-63a272a8b25e/421a7838-4cf1-43df-a36a-08397e50bf47'

this has no real affect.

Comment 1 Haim 2012-11-21 16:17:13 UTC
Created attachment 649295 [details]
vdsm log

Comment 2 Eduardo Warszawski 2012-12-09 11:29:18 UTC
http://gerrit.ovirt.org/#/c/9739/1