Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 726410

Summary: vdsm didn't filter out partitioned devices in getDeviceList.
Product: Red Hat Enterprise Linux 6 Reporter: Guohua Ouyang <gouyang>
Component: vdsmAssignee: Saggi Mizrahi <smizrahi>
Status: CLOSED ERRATA QA Contact: Daniel Paikov <dpaikov>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: abaron, apevec, bazulay, cshao, danken, hateya, iheim, leiwang, mburns, moli, smizrahi, ycui, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vdsm-4.9-87 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 07:35:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm.log none

Description Guohua Ouyang 2011-07-28 14:17:01 UTC
Description of problem:
Add storage in rhevm, the lun which have rhev-h installed on isn't filtered out, all luns are listed there.


Version-Release number of selected component (if applicable):
rhev-hypervisor-6.2-09.el6

How reproducible:
Always.

Steps to Reproduce:
1. Register a host which have multi luns to RHEVM.
2. Approve host on RHEVM.
3. Add storage for the cluster which rhev-h node in.

Actual results:
the lun which have rhev-h installed on isn't filtered out, all luns are listed there.

Expected results:
the lun have rhev-h installed on should not list there.

Comment 1 Guohua Ouyang 2011-07-28 14:17:36 UTC
Created attachment 515729 [details]
vdsm.log

Comment 2 Saggi Mizrahi 2011-07-28 14:23:28 UTC
http://gerrit.usersys.redhat.com/#change,761

Comment 6 Daniel Paikov 2011-08-08 13:34:58 UTC
Checked on 4.9-89.

Comment 7 Guohua Ouyang 2011-08-09 06:29:07 UTC
also add my comments here, now the device which have partition is filtered out.

[root@amd-1216-8-5 ~]# multipath -ll
3600a0b80005b0acc00008c204c7744ba dm-0 IBM,1726-4xx  FAStT
size=20G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw
|-+- policy='round-robin 0' prio=6 status=active
| |- 5:0:2:1 sdd 8:48  active ready running
| `- 6:0:1:1 sdh 8:112 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
  |- 5:0:0:1 sdb 8:16  active ghost running
  `- 6:0:0:1 sdf 8:80  active ghost running
3600a0b80005b10ca00008e254c7726b1 dm-1 IBM,1726-4xx  FAStT
size=20G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw
|-+- policy='round-robin 0' prio=6 status=active
| |- 5:0:0:0 sda 8:0   active ready running
| `- 6:0:0:0 sde 8:64  active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
  |- 5:0:2:0 sdc 8:32  active ghost running
  `- 6:0:1:0 sdg 8:96  active ghost running
[root@amd-1216-8-5 ~]# pvs
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
  PV                                              VG     Fmt  Attr PSize  PFree
  /dev/mapper/3600a0b80005b10ca00008e254c7726b1p3 HostVG lvm2 a-   19.52g    0 
[root@amd-1216-8-5 ~]# vdsClient -s 0 getDeviceList
[{'GUID': '3600a0b80005b0acc00008c204c7744ba',
  'capacity': '21474836480',
  'devtype': 'FCP',
  'fwrev': '0617',
  'partitioned': False,
  'pathlist': [],
  'pathstatus': [{'lun': '1',
                  'physdev': 'sdd',
                  'state': 'active',
                  'type': 'FCP'},
                 {'lun': '1',
                  'physdev': 'sdh',
                  'state': 'active',
                  'type': 'FCP'},
                 {'lun': '1',
                  'physdev': 'sdb',
                  'state': 'active',
                  'type': 'FCP'},
                 {'lun': '1',
                  'physdev': 'sdf',
                  'state': 'active',
                  'type': 'FCP'}],
  'productID': '1726-4xx  FAStT',
  'pvUUID': '',
  'serial': 'SIBM_1726-4xx_FAStTSX90310802',
  'vendorID': 'IBM',
  'vgUUID': ''}]

Comment 8 errata-xmlrpc 2011-12-06 07:35:50 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.

http://rhn.redhat.com/errata/RHEA-2011-1782.html