phosphor-ipmi-flash state recovery

William Kennington wak at google.com
Sat May 23 08:15:04 AEST 2020


I was working on a change to fix this a couple of weeks ago and implement
the needed expiry / cancellation mechanisms to make everything happy. Right
now the easiest thing you can is reset the BMC or just the ipmi daemon.

On Fri, May 22, 2020 at 3:06 PM Patrick Voelker <Patrick_Voelker at phoenix.com>
wrote:

> When running burn_my_bmc, if I exit the program during image upload with
> ctrl-c, it seems that the bmc gets left in a state that is difficult to
> recover from.
>
>
>
> When attempting to run the update again I can see that the
> /flash/active/image blob is present.  burn_my_bmc opens the cleanup blob,
> commits it, and then closes it but the state doesn’t change. I don’t have
> the cleanup-delete option enabled but it doesn’t look like that cleans up
> the state anyhow.
>
>
>
> Internally, it looks like I need to get to abortProcess() but to do that I
> need to close the current session but I don’t have a way to obtain the
> sessionID after the fact.  Also the stale session doesn’t seem to expire
> (as mentioned in the readme.md) and I can’t find the support for that in
> the code.
>
>
>
> Can you give me a pointer on the best known way to recover from this
> scenario without rebooting the BMC?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200522/484d0db3/attachment-0001.htm>


More information about the openbmc mailing list