: How to get the update progress when flashing BMC firmware?
hi,
How to get the update progress when BMC is flashing. It can be displayed on webui.
thanks,
Byron
From: www <[email protected]>
To: [email protected]
Date: 28-02-2020 13:27
Subject: [EXTERNAL] [OpenBMC]: How to get the update progress when
flashing BMC firmware?
Sent by: "openbmc" <openbmc-bounces
[email protected]>
hi,
How to get the update progress when BMC is flashing. It can be displayed on webui.
thanks,
Byron
------------------------------------------
Byron,
From webUI
you should see the update status
https://xx.xx.xx.xx/#/configuration/firmware page
From REST,
Do REST GET of /redfish/v1/UpdateService/FirmwareInventory/14fd4427
status:
[Health]: OK
[HealthRollup]: OK
[State]: Updating
Where 14fd4427is the image id which you are activating, you'll can use the state progress which will tell if update is in progress.
or Alternately, do REST GET
request /xyz/openbmc_project/software/14fd4427
Response code:200, Content:{
"data": {
"Activation":
"xyz.openbmc_project.Software.Activation.Activations.Activating",
"Associations": [
[
"inventory",
"activation",
""
]
],
"Path": "/tmp/images/14fd4427",
"Progress": 30,
"Purpose": "xyz.openbmc_project.Software.Version.VersionPurpose.BMC",
"RequestedActivation":
"xyz.openbmc_project.Software.Activation.RequestedActivations.Active",
"Version": "2.8.0-dev-1283-g30989759c" },
"message": "200 OK",
"status": "ok"
}
Thanks and Regards,
George Keishing
I don’t think there is much to show as progress when bmc upgrade happens. Because actual flash write happens during reboot and that time every other process would be down I guess.
From: openbmc <[email protected]> on behalf of www <[email protected]>
Date: Thursday, February 27, 2020 at 11:57 PM
To: "[email protected]" <[email protected]>
Subject: [OpenBMC]: How to get the update progress when flashing BMC firmware?
hi,
How to get the update progress when BMC is flashing. It can be displayed on webui.
thanks,
Byron
yes, I just want to tell the user the progress of the update and whether the update is complete.
thanks,
Byron
At 2020-02-29 01:30:01, "Vijay Khemka" <[email protected]> wrote:
I don’t think there is much to show as progress when bmc upgrade happens. Because actual flash write happens during reboot and that time every other process would be down I guess.
From: openbmc <[email protected]> on behalf of www <[email protected]>
Date: Thursday, February 27, 2020 at 11:57 PM
To: "[email protected]" <[email protected]>
Subject: [OpenBMC]: How to get the update progress when flashing BMC firmware?
hi,
How to get the update progress when BMC is flashing. It can be displayed on webui.
thanks,
Byron