opencomputeproject / OSF-OSFCI

Open Source Firmware Continuous Integration source code
MIT License
22 stars 11 forks source link

Add support to get the bios serial boot logs #57

Closed susmithp closed 2 years ago

susmithp commented 2 years ago

We need to provide an option for users to download the bios serial logs.

ssh into an openbmc @port 2200 and reboot server

arunkoshy commented 2 years ago

work on this kicked off today. Basic pathway is clear re manual steps to retrieve these logs.

gregg-shick commented 2 years ago

A request has come in to also grab the openbmc console output as well.

arunkoshy commented 2 years ago

thanks @gregg-shick - we will add.

arunkoshy commented 2 years ago

based on internal discussions, we will tackle the openbmc console requirement seperately.

arunkoshy commented 2 years ago

status: tackling some debug issues on collection sequence that is beyond the scope of this ticket.

arunkoshy commented 2 years ago

status: issue is facing a blocker due to collection reliability. Will resolve once we clear that out.

gregg-shick commented 2 years ago

My thoughts

  1. As soon as connect power is done and BMC has booted, begin logging the 2200 session.
  2. Present the user with an interface option to download the bios serial log once session is established.
  3. User can do whatever he chooses in the session, including powering on the unit from the openbmc web interface.
  4. It is then up to the user to download bios serial log before sessions times out or session is ended by user.
  5. Clean up logs at session closure.
arunkoshy commented 2 years ago

yep, agreed @gregg-shick - we now no longer worry about anything beyond logging the 2200 session.