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 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 BetaFlags: pm-rhel: mirror+
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