Bug 1327268

Summary: Add pcs option to modify an existing operation
Product: Red Hat Enterprise Linux 7 Reporter: Ken Gaillot <kgaillot>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED WONTFIX QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: medium    
Version: 7.2CC: cfeist, cluster-maint, idevat, omular, tojeline
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:41:00 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 Ken Gaillot 2016-04-14 15:49:35 UTC
With the underlying CIB XML, it is possible to modify the properties of an existing operation -- for example, to change the interval from 30s to 10s, or the timeout from 15s to 60s. A common usage is to temporarily disable an operation on an unmanaged resource (via enabled=true/false).

However, pcs can only remove the operation and add a new one.

This could be implemented as a general "pcs resource op update" command, or, since the enable/disable usage would have the most benefit, we could support just that, via "pcs resource op enable/disable" or via an "--include-monitors" option to "pcs resource manage/unmanage".

Comment 4 RHEL Program Management 2020-12-15 07:41:00 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.