Bug 1245201

Summary: Multipath devices not displayed in GUI (filtered out because of reporting zero size)
Product: Red Hat Enterprise Linux 7 Reporter: Radek Vykydal <rvykydal>
Component: python-blivetAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: jstodola, mkovarik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-blivet-0.61.15.14-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 08:48:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1186677    
Attachments:
Description Flags
storage.log none

Description Radek Vykydal 2015-07-21 13:09:59 UTC
Created attachment 1054358 [details]
storage.log

http://download.englab.brq.redhat.com/pub/rhel/rel-eng/RHEL-7.2-20150708.1/compose/Server/x86_64/os/
anaconda-21.48.22.16-1
python-blivet 0.61.15.10

from attached syslog:

12:58:44,324 INFO blivet: scanning mpatha (/sys/devices/virtual/block/dm-5)...
12:58:44,325 DEBUG blivet:               DeviceTree.getDeviceByName: hidden: False ; name: mpatha ; incomplete: False ;
12:58:44,327 DEBUG blivet:               DeviceTree.getDeviceByName returned None
12:58:44,328 INFO blivet: mpatha is a multipath device
12:58:44,329 DEBUG blivet:               DeviceTree.addUdevMultiPathDevice: name: mpatha ;
12:58:44,331 DEBUG blivet:                DeviceTree.getDeviceByName: hidden: False ; name: sdf ; incomplete: False ;
12:58:44,333 DEBUG blivet:                DeviceTree.getDeviceByName returned sdf
12:58:44,336 DEBUG blivet:                DeviceTree.getDeviceByName: hidden: False ; name: sdh ; incomplete: False ;
12:58:44,338 DEBUG blivet:                DeviceTree.getDeviceByName returned sdh
12:58:44,341 DEBUG blivet:                       iScsiDiskDevice.addChild: kids: 0 ; name: sdf ;
12:58:44,343 DEBUG blivet:                       iScsiDiskDevice.addChild: kids: 0 ; name: sdh ;
12:58:44,344 DEBUG blivet: getFormat('None') returning DeviceFormat instance with object id 110
12:58:44,346 DEBUG blivet:                    MultipathDevice._setFormat: mpatha ; current: None ; type: None ;
12:58:44,349 DEBUG blivet:                     MultipathDevice.readCurrentSize: path: /dev/mapper/mpatha ; sysfsPath:  ; exists: True ;
12:58:44,349 DEBUG blivet: updated mpatha size to 0 B (0 B)

Comment 2 David Lehman 2015-07-22 14:55:29 UTC
Needs commit d2a272 from blivet master.

Comment 3 Radek Vykydal 2015-07-30 10:31:20 UTC
(In reply to David Lehman from comment #2)
> Needs commit d2a272 from blivet master.

The fix works for me, I think we should get this in 7.2. I made a PR.

Comment 6 errata-xmlrpc 2015-11-19 08:48:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2232.html