megacli doesn't work on newer Dell PERC H7* hardware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Fix Released
|
High
|
Linda Guo |
Bug Description
I'm deploying a site on Dell R640 with the following card which probes as megaraid_sas module and installs megacli via tools discovery.
18:00.0 Serial Attached SCSI controller: Broadcom / LSI MegaRAID Tri-Mode SAS3508 (rev 01)
Megacli don't appear to recognize this card and may require dell's 'perccli' which should be accounted for in tools/hwdiscovery.
Also additional information from lspci shows the subsystem as a Dell PERC controller, which we should be able to reference in Storage hardware discovery.
$ lspci -k|grep -B3 megaraid_sas
18:00.0 Serial Attached SCSI controller: Broadcom / LSI MegaRAID Tri-Mode SAS3508 (rev 01)
DeviceName: Integrated RAID
Subsystem: Dell PERC H740P Mini
Kernel driver in use: megaraid_sas
Kernel modules: megaraid_sas
We will need to update the "megaraid_sas" driver support to be more intelligent about what brand/subsystem
Related branches
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- BootStack Reviewers: Pending requested
- BootStack Reviewers: Pending requested
- Drew Freiberger: Pending requested
-
Diff: 10070 lines (+9874/-19)14 files modifiedsrc/README.md (+23/-17)
src/files/perccli/check_perccli.py (+117/-0)
src/files/perccli/cron_perccli.sh (+22/-0)
src/lib/hwhealth/discovery/supported_vendors.py (+8/-0)
src/lib/hwhealth/hwdiscovery.py (+23/-1)
src/lib/hwhealth/tools.py (+13/-0)
src/metadata.yaml (+2/-1)
src/tests/expected/lshw.py (+136/-0)
src/tests/hw-health-samples/lshw.dell.perc.json (+8914/-0)
src/tests/hw-health-samples/perccli.output.1 (+186/-0)
src/tests/hw-health-samples/perccli.output.nrpe.critical.1 (+186/-0)
src/tests/hw-health-samples/perccli.output.nrpe.critical.2 (+198/-0)
src/tests/unit/test_check_perccli.py (+45/-0)
src/tests/unit/test_hwdiscovery.py (+1/-0)
- Drew Freiberger (community): Needs Fixing
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- BootStack Reviewers: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 1150 lines (+960/-19)13 files modifiedsrc/README.md (+23/-17)
src/files/perccli/check_perccli.py (+117/-0)
src/files/perccli/cron_perccli.sh (+22/-0)
src/lib/hwhealth/discovery/supported_vendors.py (+8/-0)
src/lib/hwhealth/hwdiscovery.py (+23/-1)
src/lib/hwhealth/tools.py (+13/-0)
src/metadata.yaml (+2/-1)
src/tests/expected/lshw.py (+136/-0)
src/tests/hw-health-samples/perccli.output.1 (+186/-0)
src/tests/hw-health-samples/perccli.output.nrpe.critical.1 (+186/-0)
src/tests/hw-health-samples/perccli.output.nrpe.critical.2 (+198/-0)
src/tests/unit/test_check_perccli.py (+45/-0)
src/tests/unit/test_hwdiscovery.py (+1/-0)
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- Drew Freiberger (community): Needs Fixing
- BootStack Reviewers: Pending requested
-
Diff: 10070 lines (+9874/-19)14 files modifiedsrc/README.md (+23/-17)
src/files/perccli/check_perccli.py (+117/-0)
src/files/perccli/cron_perccli.sh (+22/-0)
src/lib/hwhealth/discovery/supported_vendors.py (+8/-0)
src/lib/hwhealth/hwdiscovery.py (+23/-1)
src/lib/hwhealth/tools.py (+13/-0)
src/metadata.yaml (+2/-1)
src/tests/expected/lshw.py (+136/-0)
src/tests/hw-health-samples/lshw.dell.perc.json (+8914/-0)
src/tests/hw-health-samples/perccli.output.1 (+186/-0)
src/tests/hw-health-samples/perccli.output.nrpe.critical.1 (+186/-0)
src/tests/hw-health-samples/perccli.output.nrpe.critical.2 (+198/-0)
src/tests/unit/test_check_perccli.py (+45/-0)
src/tests/unit/test_hwdiscovery.py (+1/-0)
Changed in charm-hw-health: | |
status: | New → In Progress |
assignee: | nobody → Linda Guo (lihuiguo) |
Changed in charm-hw-health: | |
status: | Fix Committed → Fix Released |
Reworking this bug to be related to Dell PercCLI controllers.
other issues noted in original bug description are actually open as separate bugs:
#1943736 Bad zip file is not reported to an operator
#1943738 Charm doesn't report values if megacli is installed from repository
#1943748 Missing libncurses5 for megacli when installing from tools.zip