All of lore.kernel.org
 help / color / mirror / Atom feed
* Code levels in error log entries
@ 2018-03-21 17:23 Matt Spinler
  2018-04-30 14:48 ` Matt Spinler
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Spinler @ 2018-03-21 17:23 UTC (permalink / raw)
  To: OpenBMC Maillist

For IBM systems, we need to add the current code level to each error log
object as it's created to make it easier on the lives of support
personnel.  It would be a new interface (or maybe use an existing
code version one) on the /xyz/openbmc_project/logging/entry/X objects.

Does anyone here that also uses error logs have an opinion on if they
would also be interested in this or not, so it would go into the common
logging code?

Unless others are interested in it, I plan on putting it in an IBM
specific repository.  (or maybe turn on with a configure option?)

Thanks

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

* Re: Code levels in error log entries
  2018-03-21 17:23 Code levels in error log entries Matt Spinler
@ 2018-04-30 14:48 ` Matt Spinler
  2018-04-30 17:31   ` Deepak Kodihalli
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Spinler @ 2018-04-30 14:48 UTC (permalink / raw)
  To: OpenBMC Maillist

On 2018-03-21 12:23, Matt Spinler wrote:
> For IBM systems, we need to add the current code level to each error 
> log
> object as it's created to make it easier on the lives of support
> personnel.  It would be a new interface (or maybe use an existing
> code version one) on the /xyz/openbmc_project/logging/entry/X objects.
> 
> Does anyone here that also uses error logs have an opinion on if they
> would also be interested in this or not, so it would go into the common
> logging code?
> 
> Unless others are interested in it, I plan on putting it in an IBM
> specific repository.  (or maybe turn on with a configure option?)


After some additional discussion, we decided this would be useful enough 
to
warrant putting it into the base error logging code.  I plan on adding 
the
xyz.openbmc_project.Software.Version interface to the logging objects 
and
populating it with the VERSION_ID field from /etc/os-release.



> 
> Thanks

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

* Re: Code levels in error log entries
  2018-04-30 14:48 ` Matt Spinler
@ 2018-04-30 17:31   ` Deepak Kodihalli
  2018-04-30 18:46     ` Matt Spinler
  0 siblings, 1 reply; 4+ messages in thread
From: Deepak Kodihalli @ 2018-04-30 17:31 UTC (permalink / raw)
  To: Matt Spinler, OpenBMC Maillist

On 30/04/18 8:18 pm, Matt Spinler wrote:
> On 2018-03-21 12:23, Matt Spinler wrote:
>> For IBM systems, we need to add the current code level to each error log
>> object as it's created to make it easier on the lives of support
>> personnel.  It would be a new interface (or maybe use an existing
>> code version one) on the /xyz/openbmc_project/logging/entry/X objects.
>>
>> Does anyone here that also uses error logs have an opinion on if they
>> would also be interested in this or not, so it would go into the common
>> logging code?
>>
>> Unless others are interested in it, I plan on putting it in an IBM
>> specific repository.  (or maybe turn on with a configure option?)
> 
> 
> After some additional discussion, we decided this would be useful enough to
> warrant putting it into the base error logging code.  I plan on adding the
> xyz.openbmc_project.Software.Version interface to the logging objects and
> populating it with the VERSION_ID field from /etc/os-release.

I see the Version interface also has a 'VersionPurpose' enum property. 
What would you populate that with? VersionPurpose.BMC? What if the error 
was from host and the version required was that of the host firmware?

Also, the value that gets into the /etc/os-release is known to the 
os-release recipe, so you could provide that to the logging recipe at 
build time (ipmi does something similar).

> 
> 
> 
>>
>> Thanks

Thanks,
Deepak

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

* Re: Code levels in error log entries
  2018-04-30 17:31   ` Deepak Kodihalli
@ 2018-04-30 18:46     ` Matt Spinler
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Spinler @ 2018-04-30 18:46 UTC (permalink / raw)
  To: Deepak Kodihalli; +Cc: OpenBMC Maillist

On 2018-04-30 12:31, Deepak Kodihalli wrote:
> On 30/04/18 8:18 pm, Matt Spinler wrote:
>> On 2018-03-21 12:23, Matt Spinler wrote:
>>> For IBM systems, we need to add the current code level to each error 
>>> log
>>> object as it's created to make it easier on the lives of support
>>> personnel.  It would be a new interface (or maybe use an existing
>>> code version one) on the /xyz/openbmc_project/logging/entry/X 
>>> objects.
>>> 
>>> Does anyone here that also uses error logs have an opinion on if they
>>> would also be interested in this or not, so it would go into the 
>>> common
>>> logging code?
>>> 
>>> Unless others are interested in it, I plan on putting it in an IBM
>>> specific repository.  (or maybe turn on with a configure option?)
>> 
>> 
>> After some additional discussion, we decided this would be useful 
>> enough to
>> warrant putting it into the base error logging code.  I plan on 
>> adding the
>> xyz.openbmc_project.Software.Version interface to the logging objects 
>> and
>> populating it with the VERSION_ID field from /etc/os-release.
> 
> I see the Version interface also has a 'VersionPurpose' enum property.
> What would you populate that with? VersionPurpose.BMC? What if the
> error was from host and the version required was that of the host
> firmware?

I was always planning on putting the BMC code version into this.  In the 
case of
OpenPower, the host already includes their code version in their 
embedded PEL error
I believe.

> 
> Also, the value that gets into the /etc/os-release is known to the
> os-release recipe, so you could provide that to the logging recipe at
> build time (ipmi does something similar).


Thanks.  Will look into that.


> 
>> 
>> 
>> 
>>> 
>>> Thanks
> 
> Thanks,
> Deepak

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

end of thread, other threads:[~2018-04-30 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21 17:23 Code levels in error log entries Matt Spinler
2018-04-30 14:48 ` Matt Spinler
2018-04-30 17:31   ` Deepak Kodihalli
2018-04-30 18:46     ` 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.