RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1580989 - [RFE] Add watchdog plugin for sosreport
Summary: [RFE] Add watchdog plugin for sosreport
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sos
Version: 7.5
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-21 23:09 UTC by Reid Wahl
Modified: 2018-10-30 10:33 UTC (History)
8 users (show)

Fixed In Version: sos-3.6-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:31:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed watchdog.py plugin (2.73 KB, patch)
2018-05-22 05:17 UTC, Reid Wahl
no flags Details | Diff
test case with defaults (2.14 KB, application/octet-stream)
2018-05-22 05:20 UTC, Reid Wahl
no flags Details
test case with non-default log directory (2.16 KB, application/octet-stream)
2018-05-22 05:21 UTC, Reid Wahl
no flags Details
test case with missing watchdog.conf (1.42 KB, application/octet-stream)
2018-05-22 05:22 UTC, Reid Wahl
no flags Details
Proposed watchdog.py plugin (2.96 KB, patch)
2018-05-22 07:13 UTC, Reid Wahl
no flags Details | Diff
test case with defaults (2.29 KB, application/octet-stream)
2018-05-22 07:14 UTC, Reid Wahl
no flags Details
test case with non-default log directory (2.30 KB, application/octet-stream)
2018-05-22 07:14 UTC, Reid Wahl
no flags Details
test case with missing watchdog.conf (1.60 KB, application/octet-stream)
2018-05-22 07:15 UTC, Reid Wahl
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sos pull 1305 0 None closed [watchdog] Add watchdog plugin 2020-11-09 14:54:53 UTC
Red Hat Product Errata RHEA-2018:3144 0 None None None 2018-10-30 10:33:12 UTC

Description Reid Wahl 2018-05-21 23:09:24 UTC
1. Proposed title of this feature request

Add watchdog plugin for sosreport


--------------------

2. Who is the customer behind the request?

Red Hat internal


--------------------

3. What is the nature and description of the request?

Add a plugin to gather configurations and logs for the watchdog service.


--------------------

4. Why does the customer need this? (List the business requirements here)

This will assist support in providing RCA for why a reboot occurred or, conversely, why an expected reboot did not occur after cluster SCSI fencing.


--------------------

5. How would the customer like to achieve this? (List the functional requirements here)

Collect /etc/watchdog.conf, /etc/watchdog.d/, and the contents of the log directory configured in /etc/watchdog.conf (default: /var/log/watchdog).


--------------------

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

Run a sosreport on a node with watchdog installed and some contents in /var/log/watchdog. Confirm that all the required files are in the resulting sosreport.

Configure log-dir to something other than /var/log/watchdog and repeat.


--------------------

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

No

--------------------

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

No

--------------------

9. Is the sales team involved in this request and do they have any additional input?

No

--------------------

10. List any affected packages or components.

sos

--------------------

11. Would the customer be able to assist in testing this functionality if implemented?

Yes

Comment 4 Reid Wahl 2018-05-22 05:17:11 UTC
Created attachment 1439844 [details]
Proposed watchdog.py plugin

Comment 5 Reid Wahl 2018-05-22 05:20:58 UTC
Created attachment 1439845 [details]
test case with defaults

Comment 6 Reid Wahl 2018-05-22 05:21:35 UTC
Created attachment 1439846 [details]
test case with non-default log directory

Comment 7 Reid Wahl 2018-05-22 05:22:03 UTC
Created attachment 1439847 [details]
test case with missing watchdog.conf

Comment 8 Reid Wahl 2018-05-22 07:13:26 UTC
Created attachment 1439875 [details]
Proposed watchdog.py plugin

Comment 9 Reid Wahl 2018-05-22 07:14:10 UTC
Created attachment 1439877 [details]
test case with defaults

Comment 10 Reid Wahl 2018-05-22 07:14:40 UTC
Created attachment 1439878 [details]
test case with non-default log directory

Comment 11 Reid Wahl 2018-05-22 07:15:09 UTC
Created attachment 1439879 [details]
test case with missing watchdog.conf

Comment 12 Reid Wahl 2018-05-22 07:16:20 UTC
Created upstream PR:
https://github.com/sosreport/sos/pull/1305

Comment 13 Pavel Moravec 2018-05-22 07:49:16 UTC
Thanks for the PR and/or patch that speeds up a lot of things.

Comment 18 errata-xmlrpc 2018-10-30 10:31:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3144


Note You need to log in before you can comment on or make changes to this bug.