Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for smart array #90

Closed
nishant-dash opened this issue Nov 8, 2023 · 6 comments · Fixed by #169
Closed

Support for smart array #90

nishant-dash opened this issue Nov 8, 2023 · 6 comments · Fixed by #169
Labels
bug Something isn't working
Milestone

Comments

@nishant-dash
Copy link

Since hardware observer right now (edge, revision 15) looks at lshw to get raid information, this does not work with smart arrays like on HPE ProLiant DL380 Gen10 which do not show in lshw but they do show in ilorest

$ ilorest ilorest storagecontroller
iLOrest : RESTful Interface Tool version 4.2.0.0
Copyright (c) 2014-2023 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Controllers:
[0]: Slot 0 - HPE Smart Array P816i-a SR Gen10
@Pjack Pjack added the enhancement New feature or request label Nov 9, 2023
@aieri
Copy link
Contributor

aieri commented Nov 13, 2023

Interesting... does the array at least show up in lspci?

@Pjack Pjack added bug Something isn't working and removed enhancement New feature or request labels Dec 26, 2023
@Pjack Pjack added this to the 23.10.3 milestone Dec 26, 2023
@Pjack Pjack modified the milestones: 23.10.3, 23.10.4 Jan 30, 2024
@aieri
Copy link
Contributor

aieri commented Feb 8, 2024

@nishant-dash I would like to keep the hardware detection routine independent of external resources. Is there really no other way to detect the presence of a smart array? Maybe via the /sys filesystem, dmidecode, lspci, or even IPMI commands

@nishant-dash
Copy link
Author

Hi @aieri
I looked into dmidecode, and I can find it under dmidecode -t 203 since it shows up with type 203 which means its OEM specific.
I also found it under /sys/devices/pci.../.../.. or perhaps the easiest and quickest to get format would be from

hwinfo --storage

@aieri
Copy link
Contributor

aieri commented Feb 12, 2024

Thank you, we can work with that. Does hwinfo --storage-ctrl also report its presence?

@nishant-dash
Copy link
Author

it does, although I see the exact same output with hwinfo --storage-ctrl as I do with --storage

@nishant-dash
Copy link
Author

nishant-dash commented Feb 12, 2024

also I see almost the same output (but less info) with lshw -storage (it mentions Smart Storage PQI SAS but does not say HPE Smart Array...)

jneo8 added a commit to jneo8/hardware-observer-operator that referenced this issue Feb 22, 2024
Fetch hardware information from hwinfo and add support items

Fix: canonical#90
jneo8 added a commit to jneo8/hardware-observer-operator that referenced this issue Feb 22, 2024
Fetch hardware information from hwinfo and add support items

Fix: canonical#90
jneo8 added a commit that referenced this issue Feb 27, 2024
fix: support smart array

Fetch hardware information from hwinfo and add support items

Fix: #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants