All of lore.kernel.org
 help / color / mirror / Atom feed
* OpenBMC Logging Implementations: Interfaces and Error Messaging
@ 2021-01-24 16:38 Giles, Joshua
  2021-01-25 19:47 ` Ed Tanous
  0 siblings, 1 reply; 3+ messages in thread
From: Giles, Joshua @ 2021-01-24 16:38 UTC (permalink / raw)
  To: Ed Tanous, Brad Bishop, Gunnar Mills; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

Hello All,

We’re hoping to get clarity in two areas of Logging with the aim of proposals to benefit all.
These are interfaces and error messaging…

Logging interfaces
===============
Webui-vue appears to only display redfish Event Logging whereas “legacy” phosphor-logging is used by things such as generating SNMP traps.

Question: Will legacy event logging be deprecated in OpenBMC in favor of Redfish logging?  If not, do we merely access legacy logging out-of-band via rsyslog?

Error Messaging
=============
There appears to be some duplicate/unique error messages amongst the two implementations:

  1.  Phosphor-dbus-interfaces: e.g. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
  2.  Redfish message registry: e.g. https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/34510/4/redfish-core/include/registries/openbmc_message_registry.hpp (SensorThreshHoldCriticalGoingHigh)

Question: Will the unique “legacy” errors defined in the phosphor-dbus-interfaces be available in the redfish message registry?  Is there a plan to consolidate these moving forward?

-Josh Giles

[-- Attachment #2: Type: text/html, Size: 6231 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OpenBMC Logging Implementations: Interfaces and Error Messaging
  2021-01-24 16:38 OpenBMC Logging Implementations: Interfaces and Error Messaging Giles, Joshua
@ 2021-01-25 19:47 ` Ed Tanous
  2021-01-26 15:56   ` Matt Spinler
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Tanous @ 2021-01-25 19:47 UTC (permalink / raw)
  To: Giles, Joshua; +Cc: Brad Bishop, openbmc, Ed Tanous, Gunnar Mills

On Mon, Jan 25, 2021 at 11:05 AM Giles, Joshua <Joshua.Giles@dell.com> wrote:
>
> Hello All,
>
>
>
> We’re hoping to get clarity in two areas of Logging with the aim of proposals to benefit all.
>
> These are interfaces and error messaging…
>
>
>
> Logging interfaces
>
> ===============
>
> Webui-vue appears to only display redfish Event Logging whereas “legacy” phosphor-logging is used by things such as generating SNMP traps.
>
>
>
> Question: Will legacy event logging be deprecated in OpenBMC in favor of Redfish logging?  If not, do we merely access legacy logging out-of-band via rsyslog?
>
>
>
> Error Messaging
>
> =============
>
> There appears to be some duplicate/unique error messages amongst the two implementations:
>
> Phosphor-dbus-interfaces: e.g. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
> Redfish message registry: e.g. https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/34510/4/redfish-core/include/registries/openbmc_message_registry.hpp (SensorThreshHoldCriticalGoingHigh)
>
>
>
> Question: Will the unique “legacy” errors defined in the phosphor-dbus-interfaces be available in the redfish message registry?  Is there a plan to consolidate these moving forward?

I have no plans for this, nor have I seen a design for consolidating
the two.  Today, they're different because Redfish log endpoints have
very different requirements than phosphor-logging interfaces were able
to provide, with that said, I'm open to there being a much simpler
design that could work well here, I just haven't applied a lot of
brainpower to trying to get them consolidated.

>
>
>
> -Josh Giles

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OpenBMC Logging Implementations: Interfaces and Error Messaging
  2021-01-25 19:47 ` Ed Tanous
@ 2021-01-26 15:56   ` Matt Spinler
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Spinler @ 2021-01-26 15:56 UTC (permalink / raw)
  To: Ed Tanous, Giles, Joshua; +Cc: openbmc, Brad Bishop, Ed Tanous, Gunnar Mills



On 1/25/2021 1:47 PM, Ed Tanous wrote:
> On Mon, Jan 25, 2021 at 11:05 AM Giles, Joshua <Joshua.Giles@dell.com> wrote:
>> Hello All,
>>
>>
>>
>> We’re hoping to get clarity in two areas of Logging with the aim of proposals to benefit all.
>>
>> These are interfaces and error messaging…
>>
>>
>>
>> Logging interfaces
>>
>> ===============
>>
>> Webui-vue appears to only display redfish Event Logging whereas “legacy” phosphor-logging is used by things such as generating SNMP traps.
>>
>>
>>
>> Question: Will legacy event logging be deprecated in OpenBMC in favor of Redfish logging?  If not, do we merely access legacy logging out-of-band via rsyslog?

I'll just mention that at the very least IBM will be using the 
phosphor-logging event logs for the foreseeable future due to some 
requirements on how we handle service for HW errors.  bmcweb already has 
the ability to convert those event logs into Redfish logservice events.  
At the moment they aren't combined with a message registry, but we plan 
to eventually add that.


>>
>>
>> Error Messaging
>>
>> =============
>>
>> There appears to be some duplicate/unique error messages amongst the two implementations:
>>
>> Phosphor-dbus-interfaces: e.g. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
>> Redfish message registry: e.g. https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/34510/4/redfish-core/include/registries/openbmc_message_registry.hpp (SensorThreshHoldCriticalGoingHigh)
>>
>>
>>
>> Question: Will the unique “legacy” errors defined in the phosphor-dbus-interfaces be available in the redfish message registry?  Is there a plan to consolidate these moving forward?
> I have no plans for this, nor have I seen a design for consolidating
> the two.  Today, they're different because Redfish log endpoints have
> very different requirements than phosphor-logging interfaces were able
> to provide, with that said, I'm open to there being a much simpler
> design that could work well here, I just haven't applied a lot of
> brainpower to trying to get them consolidated.
>
>>
>>
>> -Josh Giles


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-26 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 16:38 OpenBMC Logging Implementations: Interfaces and Error Messaging Giles, Joshua
2021-01-25 19:47 ` Ed Tanous
2021-01-26 15:56   ` Matt Spinler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.