fm topo ses plugin should process enclosures in 'UNKNOWN' state
When processing various enclosures, we try to match them to disks. This is done in
ses_disk_create. At the beginning of the function, we try to look at the status of the enclosure, which is a SES notion.
In our case, the state which is being returned 'Unknown'. According to the SESv3 specification this means specifically:
Sensor has failed or element status is not available.
The important part here is that or portion. There are other status codes that indicate similar issues and in those cases we still process this. Based on my reading of the spec it stands distinct from the other cases where we don't process it, being the Not Available and No Access Allowed values.
We should add it to the list, even though it really is odd that these SES devices are returning this error code, though it's in their rights to do so. Really, the spec here should be better specified as to whether or not you're supposed to read anything else based on these values.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 9bd90b910ac60a25b2b3f2a00f19fca0af45b174 Author: Robert Mustacchi <email@example.com> Date: 2015-09-12T23:00:59.000Z 6207 fm topo ses plugin should process enclosures in 'UNKNOWN' state Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>