Bug 1996062

Summary: Make `pcs resource move --autodelete` default in RHEL 9
Product: Red Hat Enterprise Linux 9 Reporter: Ondrej Mular <omular>
Component: pcsAssignee: Ondrej Mular <omular>
Status: CLOSED CURRENTRELEASE QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact: Steven J. Levine <slevine>
Priority: high    
Version: 9.0CC: cfeist, cluster-maint, idevat, mlisik, mmazoure, mpospisi, nhostako, omular, sbradley, slevine, tojeline
Target Milestone: betaKeywords: Triaged
Target Release: 9.0 Beta   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.11.1-1.el9 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1999020 (view as bug list) Environment:
Last Closed: 2021-12-07 21:20:54 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:
Bug Depends On:    
Bug Blocks: 1999020    

Description Ondrej Mular 2021-08-20 12:53:20 UTC
Make `pcs resource move --autodelete` functionality default for `pcs resource move` command in RHEL 9.

Comment 3 Miroslav Lisik 2021-08-24 14:34:53 UTC
DevTestResults:

[root@r90-node-01 ~]# rpm -q pcs
pcs-0.11.0.alpha.1-1.el9.x86_64

[root@r90-node-01 ~]# pcs resource
  * p-01        (ocf:pacemaker:Dummy):   Started r90-node-01
  * p-02        (ocf:pacemaker:Dummy):   Started r90-node-02
  * p-03        (ocf:pacemaker:Dummy):   Started r90-node-01
  * p-04        (ocf:pacemaker:Dummy):   Started r90-node-02
[root@r90-node-01 ~]# pcs constraint
Location Constraints:
Ordering Constraints:
Colocation Constraints:
Ticket Constraints:


[root@r90-node-01 ~]# pcs resource move p-01 --strict
Location constraint to move resource 'p-01' has been created
Waiting for the cluster to apply configuration changes...
Location constraint created to move resource 'p-01' has been removed
Waiting for the cluster to apply configuration changes...
resource 'p-01' is running on node 'r90-node-02'
[root@r90-node-01 ~]# pcs resource
  * p-01        (ocf:pacemaker:Dummy):   Started r90-node-02
  * p-02        (ocf:pacemaker:Dummy):   Started r90-node-02
  * p-03        (ocf:pacemaker:Dummy):   Started r90-node-01
  * p-04        (ocf:pacemaker:Dummy):   Started r90-node-02
[root@r90-node-01 ~]# pcs constraint 
Location Constraints:
Ordering Constraints:
Colocation Constraints:
Ticket Constraints:

Comment 7 Michal Mazourek 2021-08-30 09:20:52 UTC
Marking as Verified SanityOnly based on comment 4.
New TestOnly bz was created - bz1999020