Project

General

Profile

Actions

Feature #8524

open

Enable/disable UID led/lamp/light via BMC

Added by Joshua Hoblitt over 9 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
BMC
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Blade/micro servers are often located within a cabinet only by the UID light. It would be very convient to be able to enable/disable a host's UID lights via the foreman UI. In particular, it would be great if this could be done on multiple hosts at once.

IPMI allows identity lights to be turned on unconditionally or for a time period. It would be nice if a default value could be set or if the default was not "infinity" but there was a drop down button to allow that value. This would be most useful if multiple hosts could be selected and identified at once.

Unfortunately, there's not a standard ipmi command to determine the current UID light status. Some BMCs expose it as an sdr and others require an oem command. Checking the uid status would be useful but isn't a reason to hold up basic enable/disable functionality. If the proxy was extended to allow a bmc "type" to be passed, per vendor bmc plugins could be developed to handle uid status checking along with other functions.


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Feature #15884: Foreman API: smart proxy, identify actionDuplicate07/28/2016Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Category set to BMC
Actions #2

Updated by Daniel Lobato Garcia over 9 years ago

https://github.com/theforeman/smart-proxy/blob/develop/modules/bmc/bmc_api.rb#L196 does this, although it's not used by Foreman, we use the SmartProxy BMC extensively there, so it should be relatively simple to implement.

Actions #3

Updated by Corey Osman about 9 years ago

i wonder if we could just make a plugin to use some of the other BMC capability that the smart-proxy has. Then we could inlay some buttons on the host to make the lights go on/off.

Actions #4

Updated by Dominic Cleal over 7 years ago

  • Has duplicate Feature #15884: Foreman API: smart proxy, identify action added
Actions #5

Updated by Nacho Barrientos over 7 years ago

Hi,

We (CERN IT) wouldn't actually care if it was not possible to see/query the current state of the LED if that's harder to implement as it's BMC-dependant. We'd be happy for the moment to just have a Foreman API entrypoint to turn the LED on and off :)

Actions

Also available in: Atom PDF