You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to set hb_field_core_override attribute using a set-property call using following query: busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 "hb_field_core_override" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer" i 2
The busctl call above succeeds.
Observe journal log to see pldmd sets the value to 0.
pldmd[823]: BIOS attribute 'hb_field_core_override' updated to value '0' by BMC 'true'
The attribute value always gets set to 0 if we use i, regardless of the value argument given after i, but the busctl call succeeds. There is no indication to the caller that value 0 has been set.
To set the required value we need to use following query: busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 "hb_field_core_override" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer" x 2
Expectation:
busctl set-property should fail if busctl set-property call is executed using i instead of x or it should set the value specified by i argument.
The text was updated successfully, but these errors were encountered:
I debugged the today, looks like it's probably a bug in sdbusplus. The application seems to get an int64_t type with the value 0 despite providing the signature i.
Issue:
hb_field_core_override
attribute using aset-property
call using following query:busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 "hb_field_core_override" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer" i 2
The
busctl
call above succeeds.journal
log to seepldmd
sets the value to0
.pldmd[823]: BIOS attribute 'hb_field_core_override' updated to value '0' by BMC 'true'
0
if we usei
, regardless of the value argument given afteri
, but thebusctl
call succeeds. There is no indication to the caller that value0
has been set.busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 "hb_field_core_override" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer" x 2
Expectation:
busctl set-property
should fail ifbusctl set-property
call is executed usingi
instead ofx
or it should set the value specified byi
argument.The text was updated successfully, but these errors were encountered: