Bug #6207
fm topo ses plugin should process enclosures in 'UNKNOWN' state
100%
Description
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.