Code levels in error log entries

Deepak Kodihalli dkodihal at linux.vnet.ibm.com
Tue May 1 03:31:20 AEST 2018


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




More information about the openbmc mailing list