Project

General

Profile

Bug #6207

fm topo ses plugin should process enclosures in 'UNKNOWN' state

Added by Robert Mustacchi over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2015-09-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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.

Also available in: Atom PDF