Bug 952099

Summary: vdsm reports I/O errors for deleted devices
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Zhukov <pzhukov>
Component: vdsmAssignee: Yeela Kaplan <ykaplan>
Status: CLOSED DUPLICATE QA Contact: Haim <hateya>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.3CC: abaron, bazulay, carlos.molina.ext, ebenahar, hateya, iheim, jkt, lpeer, lyarwood, mkalinin, nobody, oourfali, peet, pep, perobins, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-10 09:04:45 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: 631009, 1257704    
Bug Blocks: 902971    

Description Pavel Zhukov 2013-04-15 08:00:17 UTC
Description of problem:
vdsm (multipathd actually) reports I/O errors even if device has been deleted and not used anymore. 

Version-Release number of selected component (if applicable):
vdsm-4.9-45.1

How reproducible:
100%

Steps to Reproduce:
1.Remove SD
2.Remove underlying LUN from the zoning (storage)

  
Actual results:
Long unreadable messages in the vdsm.log: 
 SUCCESS: <err> = '  /dev/mapper/360050768019081acf80000000000022a: read failed after 0 of 4096 at 214748299264: Input/output error\n  /dev/mapper/360050768019081acf80000000000022a: read failed after 0 of 4096 at 214748356608: Input/output error\n  /dev/mapper/360050768019081acf80000000000023c: read failed after 0 of 4096 at 107374116864: Input/output error\n  /dev/mapper/360050768019081acf80000000000023c: read failed after 0 of 4096 at 107374174208: Input/output error\n  /dev/mapper/360050768019081acf80000000000023c: read failed after 0 of 4096 at 0: Input/output error\n  WARNING: Error counts reached a limit of 3. Device /dev/mapper/360050768019081acf80000000000023c was disabled\n  /dev/mapper/360050768019081acf80000000000023cp1: read failed after 0 of 512 at 107372675072: Input/output error\n  /dev/mapper/360050768019081acf80000000000023cp1: read failed after 0 of 512 at 107372761088: Input/output error\n  /dev/mapper/360050768019081acf80000000000023cp1: read failed after 0 of 512 at 0: Input/output error\n  WARNING: Error counts reached a limit of 3. Device /dev/mapper/360050768019081acf80000000000023cp1 was disabled\n  /dev/mapper/360050768019081acf800000000000155: read failed after 0 of 4096 at 322122481664: Input/output error\n  /dev/mapper/360050768019081acf800000000000155: read failed after 0 of 4096 at 322122539008: Input/output error\n  /dev/mapper/360050768019081acf800000000000155: read failed after 0 of 4096 at 0: Input/output error\n
........
Expected results:
Not used devices should be ignored. 

Additional info:
See depends.

Comment 1 Haim 2013-04-15 15:48:17 UTC
1) what does it mean not used?
2) please attach full logs (SOS report), we need to see the removeStorageDomain  and disconnectStorageServer commands
3) reducing severity since I don't see any functional impact on the user

Comment 6 Ayal Baron 2013-07-10 09:04:45 UTC
Wrt vdsm going on working while there are failed devices, that will be taken care of by bug 880738

Wrt the log containing messages about devices which are failing, that we are not going to remove as this information is needed many times to diagnose problems.

*** This bug has been marked as a duplicate of bug 880738 ***