Bug 671148

Summary: 2.2.z - [vdsm] [storage] LogicalVolumeExtendError appears in log 3000 times
Product: Red Hat Enterprise Linux 5 Reporter: Haim <hateya>
Component: vdsm22Assignee: Dan Kenigsberg <danken>
Status: CLOSED DEFERRED QA Contact: Daniel Paikov <dpaikov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6CC: abaron, bazulay, danken, dnaori, ewarszaw, hateya, iheim, mgoldboi, smizrahi, syeghiay, yeylon
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-07 12:39:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log. none

Description Haim 2011-01-20 15:24:53 UTC
Created attachment 474475 [details]
vdsm log.

Description of problem:

scenario where space on vg is consumed, and extend message keeps on arriving to SPM, log is loaded with the following exception: 

dd1231db-5570-4495-9984-10beb6c6fc84::ERROR::2011-01-20 17:17:07,109::storage_mailbox::143::irs::processRequest: Exception caught while trying to extend volume
: fbf0578b-8efe-4240-b35e-7af896973928 in domain: 6f925eab-d6e1-44b3-848f-ac9342715dab, trace: Traceback (most recent call last):
  File "/usr/share/vdsm/storage/storage_mailbox.py", line 139, in processRequest
    spm.public_extendVolume(volume['domainID'], spUUID, None, volume['volumeID'], size * 2**20, None)
  File "/usr/share/vdsm/storage/spm.py", line 107, in run
    return self.func(*args, **kwargs)
  File "/usr/share/vdsm/storage/spm.py", line 769, in public_extendVolume
    pool.extendVolume(sdUUID, volumeUUID, size, isShuttingDown)
  File "/usr/share/vdsm/storage/sp.py", line 1119, in extendVolume
    isShuttingDown)
  File "/usr/share/vdsm/storage/blockSD.py", line 742, in extendVolume
    self.vg.extendLV(volumeUUID, size) #, isShuttingDown) # FIXME
  File "/usr/share/vdsm/storage/vg.py", line 470, in extendLV
    raise se.LogicalVolumeExtendError(self.name, name, newsize)
LogicalVolumeExtendError: Logical Volume extend failed: 'vgname=6f925eab-d6e1-44b3-848f-ac9342715dab lvname=fbf0578b-8efe-4240-b35e-7af896973928 newsize=94208'


number of exception in the log reach to ~3000 times. 
we should add some logic for that and block those requests till vg is extended or space is freed from it. 

vdsm22-4.5-63.11.x84_64

Comment 1 Ayal Baron 2011-04-07 12:39:15 UTC
Not important enough for z-stream.
Closing.