Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BMC capture journal #6

Open
debmc opened this issue Dec 12, 2018 · 2 comments
Open

BMC capture journal #6

debmc opened this issue Dec 12, 2018 · 2 comments

Comments

@debmc
Copy link

debmc commented Dec 12, 2018

While debugging a host checkstop we needed to review the bmc journal to see when watchdog timers were being expired and related logging to help identify root cause (still working root cause). We are having to recreate and immediately capture the journal to get the data captured at the time of the checkstop.

It would be good to 'journalctl --no-pager' and add that file to the obmc_dumps collected so we can have valuable data both during debug as well as field issues.

I do understand the concern for keeping the dump small, but helpfulness and valuable data will be good strategic objectives as well.

Maybe identify which conditions would warrant capturing the journal, etc.

@ojayanth
Copy link
Contributor

Due to space limitation, curently collecting journal log related the elog PID associated to the Checkstop.
@devenrao is working new dump type related to checkstop type.
https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-debug-collector/+/16440/

@debmc
Copy link
Author

debmc commented Dec 12, 2018

collecting journal

There are other non-checkstop paths where we are hitting the timer expired and need the journal log.

Dec 11 19:49:53 witherspoon phosphor-watchdog[982]: watchdog: Timed out

debmc added a commit to debmc/op-test-framework that referenced this issue Dec 13, 2018
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
as a component of automation.

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
debmc added a commit to debmc/op-test-framework that referenced this issue Dec 13, 2018
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
(possibly as an additional component of automation).

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
debmc added a commit to debmc/op-test-framework that referenced this issue Dec 13, 2018
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
(possibly as an additional component of automation).

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
debmc added a commit to debmc/op-test-framework that referenced this issue Feb 22, 2019
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
(possibly as an additional component of automation).

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
debmc added a commit to debmc/op-test-framework that referenced this issue Feb 25, 2019
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
(possibly as an additional component of automation).

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
debmc added a commit to debmc/op-test-framework that referenced this issue Feb 26, 2019
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
(possibly as an additional component of automation).

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
sammj pushed a commit to open-power/op-test that referenced this issue Feb 27, 2019
Download the openbmc dumps to logdir to allow for running
--run testcases.testRestAPI.HostOff.test_obmc_download_dumps
(possibly as an additional component of automation).

Additional issue opened on openbmc:

BMC Capture journal ->
openbmc/phosphor-debug-collector#6

Signed-off-by: Deb McLemore <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants