Persistent storage of AssetTag

Brad Bishop bradleyb at fuzziesquirrel.com
Mon Sep 9 21:50:14 AEST 2019


at 5:28 AM, Troy.Lee at vertiv.com wrote:

> We met an issue about persistent storage of AssetTag.
> AssetTag is managed by phosphor-inventor-manager, and it was defined with  
> assettag.yaml.
> Though we could update the AssetTag with DCMI command over IPMI or DBus,  
> but the value will not retain after BMC reboot.
>
> Does this behavior work as expect in OpenBMC? (AssetTag become empty  
> string after reboot)

I don’t see how.  George does our testing framework allow us to check for  
things like this -after- rebooting the bmc?

> Does anyone have suggestion how to change the YAML to have persistent  
> storage for Asset Tag?

There should probably be a check to see if the objects exists already or  
not here:

https://github.com/openbmc/phosphor-inventory-manager/blob/master/manager.cpp#L293


More information about the openbmc mailing list