Bug 1735475

Summary: [RFE] Dump Startis Configuration on Demand or in Debug
Product: Red Hat Enterprise Linux 8 Reporter: Dennis Keefe <dkeefe>
Component: stratisdAssignee: mulhern <amulhern>
Status: CLOSED ERRATA QA Contact: Filip Suba <fsuba>
Severity: low Docs Contact: Marek Suchánek <msuchane>
Priority: unspecified    
Version: 8.5CC: amulhern, bgurney, dkeefe, rhandlin
Target Milestone: rcKeywords: FutureFeature, Reopened, Triaged
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: stratisd-2.4.0-1.el8 Doc Type: Enhancement
Doc Text:
Feature: Add a cli command to print out the configuration Reason: Informational purposes used for development and support as a means of verifying or troubleshooting an issue Result: running the command "stratis report engine_state_report" will get a report from the daemon regarding its internal state. The output is in JSON.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 18:16:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dennis Keefe 2019-07-31 21:48:13 UTC
Stratis dumps its configuration into the system logs periodically.  This is working as expected.  However, this behavior seems to be unwanted.  This ticket is being created to propose an enhancement, which will make Stratis less noisy in the common logs.

The change could provide an option to output Stratis' configuration on demand or 
maybe only output the configuration when in debug.

Comment 1 Jakub Krysl 2019-10-02 11:32:58 UTC
Mass migration to Guangwu.

Comment 3 mulhern 2020-05-04 03:40:14 UTC
Upstream: https://github.com/stratis-storage/project/issues/93

Comment 5 mulhern 2020-12-16 19:01:06 UTC
We could, in a sense, consider this adequately handled w/ our Report interface. If so, then we can close it out in the next release.

Comment 8 mulhern 2021-01-07 14:52:55 UTC
Upstream issue: https://github.com/stratis-storage/project/issues/255

Comment 9 mulhern 2021-01-20 23:00:09 UTC
Work for upstream issue has been completed, the name 'engine_state_report' will be supported in stratis-cli 2.4.0 and the necessary D-Bus interface changes have been made in stratisd 2.4.0.

Comment 10 mulhern 2021-01-20 23:33:45 UTC
Dennis, can you set up the flags so that this bz is queued up for the next release?

Comment 11 Dennis Keefe 2021-01-21 14:23:13 UTC
(In reply to mulhern from comment #10)
> Dennis, can you set up the flags so that this bz is queued up for the next
> release?

Done.

Comment 12 RHEL Program Management 2021-02-01 07:44:16 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 13 Dennis Keefe 2021-02-01 14:00:26 UTC
the evaluation is limited, re-opening bug

Comment 15 Dennis Keefe 2021-02-01 14:04:18 UTC
this bug has been fixed.  Stop closing

Comment 21 Filip Suba 2021-05-27 15:27:44 UTC
Verified with stratisd-2.4.0-3.el8.

Comment 24 errata-xmlrpc 2021-11-09 18:16:03 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 (stratis-cli bug fix and enhancement update), 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/RHBA-2021:4217