Bug 2018657
Summary: | volume_raid_info detects the wrong data type when the volume created is raid10 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | ChanghuiZhong <czhong> | |
Component: | libstoragemgmt | Assignee: | Tony Asleson <tasleson> | |
Status: | CLOSED ERRATA | QA Contact: | ChanghuiZhong <czhong> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | --- | Keywords: | Triaged | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libstoragemgmt-1.9.1-3.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2023804 (view as bug list) | Environment: | ||
Last Closed: | 2022-05-10 15:21:48 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: | 1.9.3 | |
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2023804 |
Description
ChanghuiZhong
2021-10-30 07:15:04 UTC
Please let me know which version of storcli you're testing with. (In reply to Tony Asleson from comment #3) > Please let me know which version of storcli you're testing with. Hi,Tony storcli version is storcli-1.23.02-1.noarch.rpm ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: storcli noarch 1.23.02-1 Storage-QE 4.6 M Thanks I'm unable to reproduce using the exact same version or newer versions. ./megaraid_lsmplugin volume-raid-info --vol 600605b00a579620291c11cf076e92d2 Volume ID | RAID Type | Strip Size | Disk Count | Minimum I/O Size | Optimal I/O Size ------------------------------------------------------------------------------------------------------------ 600605b00a579620291c11cf076e92d2 | RAID10 | 262144 | 4 | 262144 | 524288.0 # rpm -qa | grep storcli storcli-1.23.02-1.noarch Please supply the output of /opt/MegaRAID/storcli/storcli64 /c0/v0 show all J Thanks I was able to re-create, removing request info I test on this server (storageqe-07.sqe.lab.eng.bos.redhat.com), if you want to do more investigation, I can reserve this machine for you the boot disk: [root@storageqe-07 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v0 show all J { "Controllers":[ { "Command Status" : { "Controller" : 0, "Status" : "Success", "Description" : "None" }, "Response Data" : { "/c0/v0" : [ { "DG/VD" : "0/0", "TYPE" : "RAID0", "State" : "Optl", "Access" : "RW", "Consist" : "Yes", "Cache" : "NRWTD", "Cac" : "-", "sCC" : "ON", "Size" : "135.972 GB", "Name" : "" } ], "PDs for VD 0" : [ { "EID:Slt" : "252:0", "DID" : 9, "State" : "Onln", "DG" : 0, "Size" : "135.972 GB", "Intf" : "SAS", "Med" : "HDD", "SED" : "N", "PI" : "N", "SeSz" : "512B", "Model" : "CBRCA146C3ETS0 N", "Sp" : "U", "Type" : "-" } ], "VD0 Properties" : { "Strip Size" : "128 KB", "Number of Blocks" : 285155328, "Span Depth" : 1, "Number of Drives Per Span" : 1, "Write Cache(initial setting)" : "WriteBack", "Disk Cache Policy" : "Disabled", "Encryption" : "None", "Data Protection" : "None", "Active Operations" : "None", "Exposed to OS" : "Yes", "Creation Date" : "03-03-2020", "Creation Time" : "11:08:47 PM", "Emulation type" : "default", "Is LD Ready for OS Requests" : "Yes", "SCSI NAA Id" : "600605b00281191025f19fff44047047" } } } ] } [root@storageqe-07 ~]# new craete raid10: [root@storageqe-07 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v1 show all J { "Controllers":[ { "Command Status" : { "Controller" : 0, "Status" : "Success", "Description" : "None" }, "Response Data" : { "/c0/v1" : [ { "DG/VD" : "1/1", "TYPE" : "RAID10", "State" : "Optl", "Access" : "RW", "Consist" : "No", "Cache" : "NRWTD", "Cac" : "-", "sCC" : "ON", "Size" : "271.945 GB", "Name" : "lsm_raid10" } ], "PDs for VD 1" : [ { "EID:Slt" : "252:1", "DID" : 13, "State" : "Onln", "DG" : 1, "Size" : "135.972 GB", "Intf" : "SAS", "Med" : "HDD", "SED" : "N", "PI" : "N", "SeSz" : "512B", "Model" : "CBRCA146C3ETS0 N", "Sp" : "U", "Type" : "-" }, { "EID:Slt" : "252:2", "DID" : 12, "State" : "Onln", "DG" : 1, "Size" : "135.972 GB", "Intf" : "SAS", "Med" : "HDD", "SED" : "N", "PI" : "N", "SeSz" : "512B", "Model" : "CBRCA146C3ETS0 N", "Sp" : "U", "Type" : "-" }, { "EID:Slt" : "252:3", "DID" : 8, "State" : "Onln", "DG" : 1, "Size" : "135.972 GB", "Intf" : "SAS", "Med" : "HDD", "SED" : "N", "PI" : "N", "SeSz" : "512B", "Model" : "MBD2147RC ", "Sp" : "U", "Type" : "-" }, { "EID:Slt" : "252:4", "DID" : 11, "State" : "Onln", "DG" : 1, "Size" : "135.972 GB", "Intf" : "SAS", "Med" : "HDD", "SED" : "N", "PI" : "N", "SeSz" : "512B", "Model" : "MBD2147RC ", "Sp" : "U", "Type" : "-" } ], "VD1 Properties" : { "Strip Size" : "128 KB", "Number of Blocks" : 570310656, "Span Depth" : 2, "Number of Drives Per Span" : 2, "Write Cache(initial setting)" : "WriteBack", "Disk Cache Policy" : "Disabled", "Encryption" : "None", "Data Protection" : "None", "Active Operations" : "None", "Exposed to OS" : "Yes", "Creation Date" : "09-11-2021", "Creation Time" : "03:35:34 AM", "Emulation type" : "default", "Is LD Ready for OS Requests" : "Yes", "SCSI NAA Id" : "600605b002811910291ca906595b076e" } } } ] } [root@storageqe-07 ~]# Confirm that libstoragemgmt-1.9.1-2.el8 has fixed this issue # rpm -qa | grep libstoragemgmt libstoragemgmt-megaraid-plugin-1.9.1-2.el8.noarch libstoragemgmt-1.9.1-2.el8.x86_64 python3-libstoragemgmt-1.9.1-2.el8.x86_64 # lsmcli -u megaraid:// volume-raid-info --vol=600605b002811910291fb49c702bd5ca Volume ID | RAID Type | Strip Size | Disk Count | Minimum I/O Size | Optimal I/O Size ------------------------------------------------------------------------------------------------------------ 600605b002811910291fb49c702bd5ca | RAID10 | 131072 | 4 | 131072 | 262144 test pass with libstoragemgmt-1.9.1-3.el8 # rpm -qa | grep libstoragemgmt libstoragemgmt-1.9.1-3.el8.x86_64 python3-libstoragemgmt-1.9.1-3.el8.x86_64 libstoragemgmt-megaraid-plugin-1.9.1-3.el8.noarch :: [ 22:11:49 ] :: [ PASS ] :: Command 'lsmcli -u megaraid+ssl:// volume-raid-create --name='lsm_raid10' --disk=PCYHYLVE --disk=PCYJRHBE --disk=D0A9PA8097CF --disk=D0A9PA8097EV --raid-type='RAID10'' (Expected 0, got 0) :: [ 22:11:49 ] :: [ PASS ] :: Command 'lsmcli -u megaraid+ssl:// list --type='VOLUMES'' (Expected 0, got 0) :: [ 22:11:50 ] :: [ PASS ] :: Command 'lsmcli -u megaraid+ssl:// volume-raid-info --vol=600605b002811910292597a48f26db92 ' (Expected 0, got 0) 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 (libstoragemgmt bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2022:2035 |