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 1481139

Summary: Ordering constraints involving bundles don't work [rhel-7.4.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: CLOSED ERRATA QA Contact: Marian Krcmarik <mkrcmari>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.4CC: abeekhof, aherr, cfeist, cluster-maint, kgaillot, michele, mjuricek, mnovacek, nbarcet, rscarazz, ushkalim
Target Milestone: rcKeywords: ZStream
Target Release: 7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pacemaker-1.1.16-12.el7_4.1 Doc Type: Bug Fix
Doc Text:
Prior to this update, Pacemaker did not correctly implement ordering constraints involving resources of the new "bundle" type. As a consequence, ordering constraints which included one or more "bundle" resources had no effect. With this update, the implementation has been improved, and the described problem no longer occurs. Note that the "bundle" type is a technology preview feature.
Story Points: ---
Clone Of: 1465519 Environment:
Last Closed: 2017-09-05 11:31:54 UTC Type: ---
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: 1465519    
Bug Blocks:    

Description Oneata Mircea Teodor 2017-08-14 08:24:35 UTC
This bug has been copied from bug #1465519 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 2 Ken Gaillot 2017-08-15 15:20:35 UTC
Testing procedure (from parent bug):

1. Configure a cluster including a bundle resource and some other resource.

2. Configure an ordering constraint between the bundle resource and the other resource.

Before the change, the ordering constraint will not work. After the change, it will.

Feel free to repeat with various types of resources (primitives, groups, other bundles) as the other resource.

Comment 4 Udi Shkalim 2017-08-27 16:03:58 UTC
Verified On: pacemaker-remote-1.1.16-12.el7_4.1.x86_64

Started the cluster and noticed via crm_mon that the ip resource start before the haproxy:

Ordering Constraints:
  start ip-192.168.24.7 then start haproxy-bundle (kind:Optional)
  start ip-10.0.0.107 then start haproxy-bundle (kind:Optional)
  start ip-172.17.1.11 then start haproxy-bundle (kind:Optional)
  start ip-172.17.1.19 then start haproxy-bundle (kind:Optional)
  start ip-172.17.3.18 then start haproxy-bundle (kind:Optional)
  start ip-172.17.4.10 then start haproxy-bundle (kind:Optional)

Comment 6 errata-xmlrpc 2017-09-05 11:31:54 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, 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-2017:2587