Bug 1836838

Summary: Device blinking lights
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Juan Miguel Olmo <jolmomar>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED NOTABUG QA Contact: Vaibhav Mahajan <vamahaja>
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: ceph-eng-bugs, cephqe-warriors, kdreyer, mlungu, rmandyam, vdas, vereddy
Target Milestone: ---   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.3-1.el9cp Doc Type: Enhancement
Doc Text:
.Device blinking lights functionality for selected physical drives added to Ceph With this release, users can now switch on or off the identification or fail lights in selected physical devices using the `cephadm orchestrator` (CLI) or Ceph Dashboard. This makes it easy for users to locate failing drives or drives to replace in big racks.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-10 06:17:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2126050    

Description Juan Miguel Olmo 2020-05-18 09:53:21 UTC
Blinking lights is  new feature present in the Ceph orchestrators (Cephadm and Rook).

This feature allows the user to switch on/off the identification/fail lights in physical devices using the following command:

> ceph device light on|off <devid> {ident|fault} {--force}

Being <devid> the UDEV device identification, that can be seen using (apart of other UDEV commands):

> ceph device ls 

The implementation used in Cephadm and Rook uses the "lsmcli" command from the libStorageMgmt library:
This library has been tested with the current set of hardware:
https://libstorage.github.io/libstoragemgmt-doc/doc/user_guide.html#supported-hardware
So what we expect is that this functionality will support the same set of devices.

A complete testing with the downstream hardware platforms will be needed in order to be sure that we fully support this functionality.

Comment 1 RHEL Program Management 2020-05-18 09:53:29 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Veera Raghava Reddy 2021-09-29 12:53:40 UTC
Hi Juan, This feature is intended for rook only or is it available in cephadm with 5.0?

Comment 3 Juan Miguel Olmo 2021-10-04 14:54:43 UTC
This feature is available in both orchestrators (cephadm , rook).( But not working properly in Rook in Pacific/RHCS5 because Physical disk management has been deprecated for the moment.)

See that in the upstream documentation:  https://docs.ceph.com/en/latest/rados/operations/devices/#identifying-physical-devices

Also it is now available from the Ceph dashboard - Physical disks - Identify


using cephadm must work without problems, but the hardware (hard disks) must be compatible:

Excerpt of my first comment in this bug:

>The implementation used in Cephadm and Rook uses the "lsmcli" command from the libStorageMgmt library:
>This library has been tested with the current set of hardware:
>https://libstorage.github.io/libstoragemgmt-doc/doc/user_guide.html#supported-hardware