Bug 726410 - vdsm didn't filter out partitioned devices in getDeviceList.
Summary: vdsm didn't filter out partitioned devices in getDeviceList.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Saggi Mizrahi
QA Contact: Daniel Paikov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-28 14:17 UTC by Guohua Ouyang
Modified: 2013-07-04 07:49 UTC (History)
13 users (show)

Fixed In Version: vdsm-4.9-87
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:35:50 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm.log (43.23 KB, text/plain)
2011-07-28 14:17 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

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


Note You need to log in before you can comment on or make changes to this bug.