Bug 1238582

Summary: libstoragemgmt: listing volumes does not show volume name with megaraid plugin
Product: Red Hat Enterprise Linux 7 Reporter: Bruno Goncalves <bgoncalv>
Component: libstoragemgmtAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Bruno Goncalves <bgoncalv>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: tasleson
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:46:22 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:

Description Bruno Goncalves 2015-07-02 08:22:51 UTC
Description of problem:
libstoragemgmt does not show volume name when using megaraid plugin.


Version-Release number of selected component (if applicable):
libstoragemgmt-megaraid-plugin-1.2.3-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.Create RAID volume
# lsmcli -u megaraid:// volume-raid-create --name lsm_test --disk <DISK1_ID> --disk <DISK2_ID> --raid-type RAID1 --sys <SYSTEM_ID>

2.List al lvolumes
# lsmcli -u megaraid:// list --type volumes


Actual results:
the name given to the volume is not shown

Expected results:
The name should be shown at the output

Comment 2 Gris Ge 2015-07-02 08:24:55 UTC
Patch posted to upstream https://github.com/libstorage/libstoragemgmt/pull/34

devel_ack+

Comment 4 Bruno Goncalves 2015-09-02 08:17:23 UTC
Verified with libstoragemgmt-1.2.3-3.el7

# lsmcli -u megaraid:// list --type volumes
ID             | Name           | SCSI VPD 0x83 | Size         | Disabled | Pool ID        | System ID 
-------------------------------------------------------------------------------------------------------
SV03104747:VD0 | VD 0           |               | 145999527936 | No       | SV03104747:DG0 | SV03104747
SV03104747:VD2 | VD 2           |               | 145999527936 | No       | SV03104747:DG2 | SV03104747
SV03104747:VD4 | VD 4           |               | 145999527936 | No       | SV03104747:DG4 | SV03104747
SV03104747:VD1 | VD 1           |               | 145999527936 | No       | SV03104747:DG1 | SV03104747
SV03104747:VD3 | VD 3           |               | 145999527936 | No       | SV03104747:DG3 | SV03104747
SV32402879:VD0 | VD 0: lsm_test |               | 299439751168 | No       | SV32402879:DG0 | SV32402879

Comment 6 errata-xmlrpc 2015-11-19 11:46:22 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/RHEA-2015-2342.html