Bug 1836838 - Device blinking lights
Summary: Device blinking lights
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 6.1
Assignee: Adam King
QA Contact: Vaibhav Mahajan
URL:
Whiteboard:
Depends On:
Blocks: 2126050
TreeView+ depends on / blocked
 
Reported: 2020-05-18 09:53 UTC by Juan Miguel Olmo
Modified: 2023-05-10 06:17 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2023-05-10 06:17:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 31851 0 None closed mgr/dashboard: Add support for blinking enclosure LEDs 2020-12-16 11:11:14 UTC
Github ceph ceph pull 33366 0 None closed mgr/rook: Blinking lights 2020-12-16 11:11:44 UTC
Red Hat Issue Tracker RHCEPH-1932 0 None None None 2021-09-29 12:56:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.