[EXTERNAL] Telemetry Reports dynamic update

Matuszczak, Piotr piotr.matuszczak at intel.com
Sat Dec 7 03:04:44 AEDT 2019


Hi Justin, 

You've raised an interesting topic. In current implementation, when OpenBMC boots when platform is in power off state, not all sensors are available, thus they won't appear in Redfish tree and you won't be able to configure metric report if you want to use these sensors. If BMC boots during the platform boot, all available sensors will be discovered and exposed in the Redfish tree. After this, when platform is powered off, the sensors, that are not available in this platform state shall be still available in the Redfish tree, but they won't provide valid readings. Unfortunately, such behavior is not standardized, thus if we want to be able to define metric reports when platform is powered off, we will have to make the required sensors behavior part of the design. 

Regards
Piotr


-----Original Message-----
From: Justin Thaler <thalerj at linux.vnet.ibm.com> 
Sent: Wednesday, December 4, 2019 2:28 PM
To: Neeraj Ladkani <neladk at microsoft.com>; openbmc at lists.ozlabs.org; Matuszczak, Piotr <piotr.matuszczak at intel.com>; vishwa <vishwa at linux.vnet.ibm.com>
Subject: Re: [EXTERNAL] Telemetry Reports dynamic update



On 12/4/19 12:43 AM, Neeraj Ladkani wrote:
> We don’t have telemetryservice in BMC currently so are you currently doing it using webui? Or you have written a app using redfish APIs?  I asked similar question in last week work group meeting. I think it will be useful to have ability to add new report definitions.
I have an app that uses the current websocket implementation on openBMC and have been reviewing the needs for transitioning the app to redfish when the time comes. One limitation of those is not being able to update the active subscription without tearing it down and starting it again, resulting in a few seconds of missed readings.

Being able to update the content of the subscription on the fly would be a huge value add I think.
> 
> -----Original Message-----
> From: Justin Thaler <thalerj at linux.vnet.ibm.com>
> Sent: Tuesday, December 3, 2019 3:57 PM
> To: openbmc at lists.ozlabs.org; Matuszczak, Piotr 
> <piotr.matuszczak at intel.com>; vishwa <vishwa at linux.vnet.ibm.com>; 
> Neeraj Ladkani <neladk at microsoft.com>
> Subject: [EXTERNAL] Telemetry Reports dynamic update
> 
> Hi All,
> 	I've been sort of silently reviewing the designs to telemetry reports design along with subscriptions. As I was reviewing it, I've had a couple of different design points come up and an interesting use case I've wanted to ask about. So here's my scenario:
> 
> I've set up a telemetry report to the system dynamically by querying the sensors and request the values are updated every second. The system was in a state where it was powered off, so not many sensors were available.
> After the system is powered on, more sensors are added as different devices are powered up. At this point I'd want to add the additional sensors to my report. I query the system again for all the available sensors and see thermal and power readings for the CPUs. I want updates on these every second just like my initial report.
> 
> This leads me to the following question:
> Can I push a new report definition to the TelemetryService and have the event service start providing that new definition without tearing down the subscription first, which would leave a gap in the data?
> 
> Thanks,
> Justin Thaler
> 


More information about the openbmc mailing list