BMC UUID property/object not found
CS20 CHMa0
CHMA0 at nuvoton.com
Fri Dec 27 12:38:58 AEDT 2019
Hi Raj,
Basically, if you only need ipmitool mc guid command work, you can just set up interface xyz.openbmc_project.Common.UUID.
And also you should check you already define the inventory path in association.json.
You can refer: https://github.com/Nuvoton-Israel/openbmc/blob/runbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json#L71
After you define the BMC inventory path in association.json and configuration.yaml, the you should see the D-Bus property.
Here is a command for checking the D-Bus path that IPMId would access.
dbus-send --system --print-reply --dest=xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper xyz.openbmc_project.ObjectMapper.GetSubTree string:"" int32:0 array:string:"xyz.openbmc_project.Inventory.Item.Bmc"
the return message would be like:
array [
dict entry(
string "/xyz/openbmc_project/inventory/system/chassis/motherboard/management_card/bmc"
array [
dict entry(
string "xyz.openbmc_project.Inventory.Manager"
array [
string "org.freedesktop.DBus.Introspectable"
string "org.freedesktop.DBus.Peer"
string "org.freedesktop.DBus.Properties"
string "xyz.openbmc_project.Association.Definitions"
string "xyz.openbmc_project.Common.UUID"
string "xyz.openbmc_project.Inventory.Decorator.Asset"
string "xyz.openbmc_project.Inventory.Decorator.Cacheable"
string "xyz.openbmc_project.Inventory.Decorator.Replaceable"
string "xyz.openbmc_project.Inventory.Decorator.Revision"
string "xyz.openbmc_project.Inventory.Item"
string "xyz.openbmc_project.Inventory.Item.Bmc"
string "xyz.openbmc_project.Inventory.Item.Board"
string "xyz.openbmc_project.Inventory.Item.Ethernet"
string "xyz.openbmc_project.Inventory.Item.NetworkInterface"
]
)
]
)
]
Thanks,
Brian
-----Original Message-----
From: rgrs <rgrs at protonmail.com>
Sent: Thursday, December 26, 2019 4:45 PM
To: CS20 CHMa0 <CHMA0 at nuvoton.com>
Cc: openbmc at lists.ozlabs.org
Subject: RE: BMC UUID property/object not found
Hi Brian,
You're right. Our FRU doesn't have that field.
I was under the assumption, /etc/machine-id was used instead.
I guess i need to edit my FRU.
Are all those fields in your yaml example necessary?
Thanks,
Raj
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, December 25, 2019 8:56 AM, CS20 CHMa0 <CHMA0 at nuvoton.com> wrote:
> Hi Raj,
> You can check the inventory service.
> Ipmid return BMC UUID by get D-Bus property from inventory service.
> And inventory service will read some configuration file while startup
> like
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Nuvoto
> n-2DIsrael_openbmc_blob_runbmc_meta-2Dquanta_meta-2Dolympus-2Dnuvoton_
> recipes-2Dphosphor_configuration_olympus-2Dnuvoton-2Dyaml-2Dconfig_oly
> mpus-2Dnuvoton-2Dipmi-2Dfru-2Dbmc.yaml&d=DwIFaQ&c=ue8mO8zgC4VZ4q_aNVKt
> 8G9MC01UFDmisvMR1k-EoDM&r=doNNnS6paLL-xRR9VW1GYEtYU82vPGTMv_hE5neCcWI&
> m=QfJodAVFi5A1ylygb_OpnObZ5DTkLsTuhKTQzBBYxuk&s=GzzW7nYco64ddwtZ8sgyGh
> fZ03VC4KLOJcG62yAW__8&e= If the FRU has no BMC UUID data or not
> configure BMC UUID in inventory service, the property would not exist.
>
> Thanks,
> Brian
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> From: rgrs rgrs at protonmail.com
> Sent: Tuesday, December 24, 2019 5:34 PM
> To: CS20 CHMa0 CHMA0 at nuvoton.com
> Cc: openbmc at lists.ozlabs.org
> Subject: RE: BMC UUID property/object not found
>
> Hi Brian,
>
> They are enabled, Is there anything else i should look at?
>
> $ grep -rin "CONFIG_CRYPTO_" defconfig 216:CONFIG_CRYPTO_HMAC=y
> 217:CONFIG_CRYPTO_SHA256=y 218:CONFIG_CRYPTO_USER_API_HASH=y 234:#
> CONFIG_CRYPTO_ECHAINIV is not set 235:# CONFIG_CRYPTO_HW is not set
>
> Thanks,
> Raj
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, December 24, 2019 12:59 PM, CS20 CHMa0 mailto:CHMA0 at nuvoton.com wrote:
>
> Hi Raj,
> The systemd get UUID function need Kernel API support.
> Maybe you can check Kernel configuration first.
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_system
> d_systemd_blob_master_README-23L51&d=DwMGaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9M
> C01UFDmisvMR1k-EoDM&r=doNNnS6paLL-xRR9VW1GYEtYU82vPGTMv_hE5neCcWI&m=GA
> n1kNLLvqBHRbEEYz8ClI7HQAxEgJwul4M1kCwilUY&s=iGSR2gMqcd4YzYU6wmuEirB4J8
> DvlqRsdInmsOQYFSA&e=
> Kernel crypto/hash API
> CONFIG_CRYPTO_HMAC
> CONFIG_CRYPTO_SHA256
> CONFIG_CRYPTO_USER_API_HASH
>
> Thanks,
> Brian
>
> From: openbmc
> mailto:openbmc-bounces+kwliu=nuvoton.com at lists.ozlabs.org On Behalf Of
> rgrs
> Sent: Tuesday, December 24, 2019 2:37 PM
> To: mailto:openbmc at lists.ozlabs.org
> Subject: BMC UUID property/object not found
>
> Hi,
>
> I get below error message on "ipmitool mc guid" command,
>
> Dec 24 05:09:33 obmc ipmid[1457]: Failed in reading BMC UUID property
> Dec 24 05:09:42 obmc ipmid[1457]: No Object has implemented the
> interface Dec 24 05:09:42 obmc ipmid[1457]: The operation failed internally.
>
> Is this same as
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openbm
> c_openbmc_issues_3532&d=DwMGaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1
> k-EoDM&r=7g2D1XDc1ET3CnY1ySnaWQXPxPxfpLww1MiDbLW4v8Q&m=vHWR3IU3HAh0uFy
> TmxnEwOdlONHhW3FY4FTzZ01mjRU&s=tbhwa-ghqEmw4cfgUzsf61Iq4BcoU7fM0Biw94O
> 50xQ&e=
>
> Which app/service implements this interface?
>
> Thanks
>
> Raj
>
> The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
>
> The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
________________________________
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
More information about the openbmc
mailing list