fdc0c3a1 | 14-Sep-2020 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Fix shellcheck errors in dreport
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I64e9de12b9e8c71fc501936a39926388729fb370 |
9b841d0d | 15-Jul-2020 |
Artem Senichev <a.senichev@yadro.com> |
plugins/hostlogger: Replace dbus call with signal
The latest version of the Hostlogger supports multi-host mode, each host is served by a separate service instance. The service instance now uses SIG
plugins/hostlogger: Replace dbus call with signal
The latest version of the Hostlogger supports multi-host mode, each host is served by a separate service instance. The service instance now uses SIG_USR1 signal to flush collected messages to a file.
Tested: Run dreport inside the BMC console, the result dump archive contains host console logs.
Change-Id: I2ba926dad79b362d0f4abac50619d7969a4f28f7 Signed-off-by: Artem Senichev <a.senichev@yadro.com> Tested-by: Artem Senichev <a.senichev@yadro.com>
show more ...
|
a63f4a6f | 13-Jul-2020 |
Chirag Sharma <chirshar@in.ibm.com> |
Changes in dreport to accept /tmp/ as a valid dir
In the dreport script there is a condition which checks for '/tmp' only. When the user passes directory as '/tmp/' this check fails. As a result the
Changes in dreport to accept /tmp/ as a valid dir
In the dreport script there is a condition which checks for '/tmp' only. When the user passes directory as '/tmp/' this check fails. As a result the overall operation fails. This commit fixes this by treating '/tmp/' as a valid directory.
Signed-off-by: Chirag Sharma <chirshar@in.ibm.com> Change-Id: Ie11f96f0ff71bfb1fa4fedc59c40d8191116c5c6
show more ...
|
5ba7176c | 06-Jun-2019 |
Marri Devender Rao <devenrao@in.ibm.com> |
Fix dreport os-release script point to a symbolic link
The os-release file in the dump points to a symbolic link rather than the actual release details.
As "cp -r" command is used to copy the conte
Fix dreport os-release script point to a symbolic link
The os-release file in the dump points to a symbolic link rather than the actual release details.
As "cp -r" command is used to copy the contents of a symbolic link file, it copies the link rather than the actual file.
Modified to use cp command to copy the contents of the file
Tested: before fix root@witherspoon:/tmp# mkdir test1 root@witherspoon:/tmp# cp -r /etc/os-release test1/ root@witherspoon:/tmp# ls -la test1/ drwxr-xr-x 2 root root 60 Jun 6 12:27 . drwxrwxrwt 13 root root 320 Jun 6 12:26 .. lrwxrwxrwx 1 root root 21 Jun 6 12:27 os-release -> ../usr/lib/os-release
after fix root@witherspoon:/tmp# mkdir test2 root@witherspoon:/tmp# cp /etc/os-release test2/ root@witherspoon:/tmp# ls -la test2/ -rw-r--r-- 1 root root 295 Jun 6 12:27 os-release
Change-Id: I6980ffa40b925fb02be0bf53704d17ebc7995af0 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
show more ...
|
6d7f753b | 04-Dec-2018 |
Marri Devender Rao <devenrao@in.ibm.com> |
Specify plugins to be invoked for chekstop error
Set the config value for the scripts that need to be invoked during dump collection for checkstop error.
Checkstop dump enum type has value 4.
Chan
Specify plugins to be invoked for chekstop error
Set the config value for the scripts that need to be invoked during dump collection for checkstop error.
Checkstop dump enum type has value 4.
Change-Id: Ic75fa0f800ed459b8e493b191eec18f144664655 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
show more ...
|
0deb287c | 12-Nov-2018 |
Marri Devender Rao <devenrao@in.ibm.com> |
Refactor to pass errors to watch through config YAML
Add errors to watch for through error YAML file Add support for checkstop error type
Tested: Generating dumps for elog, core, checkstop type err
Refactor to pass errors to watch through config YAML
Add errors to watch for through error YAML file Add support for checkstop error type
Tested: Generating dumps for elog, core, checkstop type errors.
Change-Id: Idd00ace2e3d0c472a74ec142e6d150e55e843a6f Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
show more ...
|
e57ee762 | 13-Nov-2018 |
Artem Senichev <artemsen@gmail.com> |
Add phosphor-hostlogger plugin to dreport
phosphor-hostlogger project stores host's console output data, such as boot logs or Linux kernel messages printed to the system console. https://github.com/
Add phosphor-hostlogger plugin to dreport
phosphor-hostlogger project stores host's console output data, such as boot logs or Linux kernel messages printed to the system console. https://github.com/openbmc/phosphor-hostlogger
Tested: Run dreport inside the BMC console, the result dump archive must contains host console logs.
Change-Id: Icc45888a43b42de78c93aa0bc0ba7a295f0a76e3 Signed-off-by: Artem Senichev <artemsen@gmail.com> Tested-by: Artem Senichev <artemsen@gmail.com>
show more ...
|
b223b667 | 08-Apr-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Change-Id: I192b4
Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Change-Id: I192b40fcab98b64e39b3100d41ea025ca280d842 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
ce910e96 | 06-Feb-2018 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added altfwprintenv plugin
Plugin used for collecting alt flash U-boot environment variables.
Resolves openbmc/openbmc#2862
Change-Id: Ife6eec8e85640e1933771cd149c49f1579430473 Signed-off
dreport: Added altfwprintenv plugin
Plugin used for collecting alt flash U-boot environment variables.
Resolves openbmc/openbmc#2862
Change-Id: Ife6eec8e85640e1933771cd149c49f1579430473 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
8e29044f | 05-Feb-2018 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added fwprintenv plugin
Plugin used for collecting primary flash U-boot environment variables.
Resolves partially openbmc/openbmc#2862
Change-Id: I9cffd936575311a39d8006b84a612f0223158fbb
dreport: Added fwprintenv plugin
Plugin used for collecting primary flash U-boot environment variables.
Resolves partially openbmc/openbmc#2862
Change-Id: I9cffd936575311a39d8006b84a612f0223158fbb Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
aa146d62 | 08-Jan-2018 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Collect journal log in case PID is not present
dreport uses PID information from the elog or core file to collect PID based journal logs as part the BMC dump. Existing dreport skips journal
dreport: Collect journal log in case PID is not present
dreport uses PID information from the elog or core file to collect PID based journal logs as part the BMC dump. Existing dreport skips journal log collection in case PID information is missing in the elog or core file.
Proposed changes help to collect the last 500 journal entries when the PID is not present in the elog entry or core file.
Resolves openbmc/openbmc#2716
Change-Id: Ib3d8dfea64ea17f4b020b429267294c36530848b Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
df4cccfb | 03-Nov-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added ip link plugin
Resolves openbmc/openbmc#2537
Change-Id: Id5ce18da3652e39edf3b970a99c75424ed039c35 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
62227276 | 03-Nov-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added ip address plugin
Change-Id: I1ec3489330abf23eaf87e26a12424d1949f3bf4b Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
61b12b82 | 03-Nov-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added inventory plugin
Change-Id: Ifbb6754aa860ac2dab693c76bf14c54e1df6dc9c Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
7533eb3f | 03-Nov-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
Added GetManagedObjects based elog data collection
GetManagedObjects based elog data collection will reduce to one d-bus call, for entire elog properties dump.
Change-Id: I2d2a5922418e0c26b5cf93d94
Added GetManagedObjects based elog data collection
GetManagedObjects based elog data collection will reduce to one d-bus call, for entire elog properties dump.
Change-Id: I2d2a5922418e0c26b5cf93d94203747121910a50 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
95a72983 | 25-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Change-Id: I562cc
Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Change-Id: I562cc5b407fb2a3a728c6167aaab75acde3adfca Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
5ce15500 | 16-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: initial commit for Plugin based infrastrcture
Refactor existing dreport to support new plugin based reporting infrastructure.
Resolves openbmc/openbmc#2351
Change-Id: Ibf078cf0609e93a873d
dreport: initial commit for Plugin based infrastrcture
Refactor existing dreport to support new plugin based reporting infrastructure.
Resolves openbmc/openbmc#2351
Change-Id: Ibf078cf0609e93a873dbcb28a9bfdc25b182500f Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
6f1c4d80 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added core file plugin
Plugin used for moving dreport requestd core file into the dreport packaging.
Change-Id: I927841ac82394b8736331169d91968feec11f4d5 Signed-off-by: Jayanth Othayoth <o
dreport: Added core file plugin
Plugin used for moving dreport requestd core file into the dreport packaging.
Change-Id: I927841ac82394b8736331169d91968feec11f4d5 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
04e430c0 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added systemd failed units plugin
Plugin used for collecting systemd failed units information.
Change-Id: Icc5f910f613b78fef2e7e557ddfe85692904bce2 Signed-off-by: Jayanth Othayoth <ojayant
dreport: Added systemd failed units plugin
Plugin used for collecting systemd failed units information.
Change-Id: Icc5f910f613b78fef2e7e557ddfe85692904bce2 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|
05187a63 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added cpuinfo plugin
Plugin used for collecting BMC cpu core information.
Change-Id: I3cddd89ebe1468d131ddef8ba517ae68aa30c8ab Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
5d7e45f7 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added uptime plugin
Plugin used for collecting uptime command output data.
Change-Id: Ia6e7f815c4c8e0106cbe77c2c433ff1a01775f95 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
03409cf6 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added disk usage plugin
Plugin used for collecting BMC disk usage data.
Change-Id: I507a7516453aeff7b7675a41a52ec54b881c6ca1 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
64d6d6a5 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added osrelease plugin
Plugin used for collecting OS release information.
Change-Id: I27fcc47f3a0a1d44aa07001ec61f43d6bf523bf0 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
9586a391 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added hostnamectl plugin
Plugin used for collecting current hostname settings.
Change-Id: Ie328931a1de648649397d1525f6efaf960a0964e Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> |
8bcf49c2 | 15-Oct-2017 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added top plugin
Plugin used for collecting top command output, which provides linux process details.
Change-Id: I54633512b6b459d808379467a2f6e77c1ffb0fb8 Signed-off-by: Jayanth Othayoth <
dreport: Added top plugin
Plugin used for collecting top command output, which provides linux process details.
Change-Id: I54633512b6b459d808379467a2f6e77c1ffb0fb8 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
show more ...
|