Skip to content

Get Disk Health Status #67

@majst01

Description

@majst01

With redfish we can grab disk status with:

system.Storage[].Drives[].Status

But this gives:

panic: Unable to get board info via redfish for ip:10.1.1.134 user:metal error:failed to retrieve some items: [{"link":"/redfish/v1/Chassis/NVMeSSD.0.Group.0.StorageBackplane/Drives/Disk.Bay.1","error":"403: {\"error\":{\"code\":\"Base.v1_4_0.GeneralError\",\"Message\":\"A general error has occurred. See ExtendedInfo for more information.\",\"@Message.ExtendedInfo\":[{\"MessageId\":\"SMC.1.0.OemLicenseNotPassed\",\"Severity\":\"Warning\",\"Resolution\":\"Please activate at least one license in above message.\",\"Message\":\"Not licensed to perform this request. The following licenses DCMS  were needed\",\"MessageArgs\":[\"DCMS \"],\"RelatedProperties\":[\"\"]}]}}"},{"link":"/redfish/v1/Chassis/NVMeSSD.0.Group.0.StorageBackplane/Drives/Disk.Bay.0","error":"403: {\"error\":{\"code\":\"Base.v1_4_0.GeneralError\",\"Message\":\"A general error has occurred. See ExtendedInfo for more information.\",\"@Message.ExtendedInfo\":[{\"MessageId\":\"SMC.1.0.OemLicenseNotPassed\",\"Severity\":\"Warning\",\"Resolution\":\"Please activate at least one license in above message.\",\"Message\":\"Not licensed to perform this request. The following licenses DCMS  were needed\",\"MessageArgs\":[\"DCMS \"],\"RelatedProperties\":[\"\"]}]}}"}]

even with the DCMS license present.

Also see: zsrv/supermicro-product-key#2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions