[OpenBMC]: How to get the update progress when flashing BMC firmware?
George Keishing
gkeishin at in.ibm.com
Fri Feb 28 20:18:17 AEDT 2020
From: www <ouyangxuan10 at 163.com>
To: openbmc at lists.ozlabs.org
Date: 28-02-2020 13:27
Subject: [EXTERNAL] [OpenBMC]: How to get the update progress when
flashing BMC firmware?
Sent by: "openbmc" <openbmc-bounces
+gkeishin=in.ibm.com at lists.ozlabs.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200228/eb282b0d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200228/eb282b0d/attachment.gif>
More information about the openbmc
mailing list