Closed crgeddes closed 3 years ago
Updates are a lot faster on our AST2600 systems, you sure the update didn't complete before you started looking for progress? @anoo1 I assume the ActivationProgress is still valid with latest code?
Yeah ActivationProgress is still created including the mmc layout (the hardware management console for p10bmc systems currently shows the progress values during an update), just like Andrew mentioned, this interface is deleted once the update is completed. If the progress of the update is queried some time after it started (when it may had already finished), another option is to query the Activation property (described in the step 6 of the doc), which would show a value of Activating (in progresss), Active (completed successfully), or Failed. Ex:
busctl get-property xyz.openbmc_project.Software.BMC.Updater /xyz/openbmc_project/software/40789442 xyz.openbmc_project.Software.Activation Activation
I was attempting to follow optional step 5 listed in https://github.com/openbmc/docs/blob/master/architecture/code-update/code-update.md and I hit got these errors :