Bug 1935241

Summary: pacemaker never promotes a bundle until another transition unblocks it [rhel-8.2.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.2CC: cfeist, cluster-maint, dabarzil, kgaillot, lmiccini, mbaldessari, msmazova, pkomarov
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: pacemaker-2.0.3-5.el8_2.4 Doc Type: Bug Fix
Doc Text:
Cause: When selecting promotable clone instances for promotion on guest nodes, Pacemaker considered whether the guest node itself could run resources, but not whether the guest resource creating it was runnable. Consequence: An unrunnable guest could be chosen for promotion, unnecessarily leaving some instances unpromoted until the next natural transition. Fix: Pacemaker now considers whether a guest node's guest resource is runnable when selecting nodes for promotion. Result: All instances that can be promoted will be.
Story Points: ---
Clone Of: 1835717 Environment:
Last Closed: 2021-04-20 12:50:51 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: 1835717    
Bug Blocks:    

Comment 4 pkomarov 2021-03-25 22:47:11 UTC
Verified,

(undercloud) [stack@undercloud-0 ~]$  ansible controller -b -mshell -a'pcs cluster status'|grep version
[WARNING]: Found both group and host with same name: undercloud
   * Current DC: controller-2 (version 2.0.3-5.el8_2.4-4b1f869f0f) - partition with quorum
   * Current DC: controller-2 (version 2.0.3-5.el8_2.4-4b1f869f0f) - partition with quorum
   * Current DC: controller-2 (version 2.0.3-5.el8_2.4-4b1f869f0f) - partition with quorum

[root@controller-0 ~]# pcs status|grep ocf::ovn
    * ovn-dbs-bundle-0  (ocf::ovn:ovndb-servers):       Master controller-2
    * ovn-dbs-bundle-1  (ocf::ovn:ovndb-servers):       Slave controller-1
    * ovn-dbs-bundle-2  (ocf::ovn:ovndb-servers):       Slave controller-0


[root@controller-0 ~]# pcs status|grep ocf::ovn
    * ovn-dbs-bundle-0  (ocf::ovn:ovndb-servers):       Stopped
    * ovn-dbs-bundle-1  (ocf::ovn:ovndb-servers):       Master controller-1
    * ovn-dbs-bundle-2  (ocf::ovn:ovndb-servers):       Slave controller-0

Comment 9 errata-xmlrpc 2021-04-20 12:50:51 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 (pacemaker 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:1278