Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1479009

Summary: [RFE] consider timestamped journal of the past pcs commands
Product: Red Hat Enterprise Linux 7 Reporter: Jan Pokorný [poki] <jpokorny>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: cfeist, cluster-maint, idevat, omular, tojeline
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-09 11:49:24 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 Jan Pokorný [poki] 2017-08-07 17:12:29 UTC
This idea arose on ML in relation to crm, but may be worth considering
for pcs nonetheless.  See the bottom part of:

http://oss.clusterlabs.org/pipermail/users/2017-August/006226.html

Technicalities:

1. I suppose such journal of what (logical, not necessarily 1:1, see
   below) pcs commands have been run would be dead-simple, local-only
   (otherwise there's this common risk pcs would need to come up with
   its own faul-tolerant cluster/peer network).  However, to allow for
   post-mortem entries correlation, there should be an extra field or two:
   - the originator of the command (user/pcsd), so that, for instance,
     a dedicated command (if any) can search back just through the real
     user entries
   - for the "execute-on-live-nodes in parallel", set an extra flag
     so that the journals can be correlated more easily, just looking
     at the entries like these

2. current accumulate-then-push method hides what really goes on when
   chunked (and possibly interleaved with custom sed commands and other
   out-of-band edits) and hence loses the continuity amongst the
   commands, should it be somehow recoverable;  alternative proposal
   from [bug 1359057] would, on the other hand, allow for much more
   solid expectation of what series of commands coupled together
   tightly (there could even be a checksuming incorporated into
   the "pipe protocol" to be 100% sure), hence these could be
   put into journal as an atomic block (compound command comprising
   particular pcs commands delimited with a pipe) at once, preserving
   readibility and (importantly) the intention

User-facing commands to work with such a journal can be added at later
stage, when it's clear what exactly would make sense.  I am currently
thinking more in the manual investigation intentions.

Comment 1 Tomas Jelinek 2018-01-09 11:49:24 UTC

*** This bug has been marked as a duplicate of bug 1427495 ***