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 1465519 - Ordering constraints involving bundles don't work
Summary: Ordering constraints involving bundles don't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pacemaker
Version: 7.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 7.5
Assignee: Andrew Beekhof
QA Contact: pkomarov
URL:
Whiteboard:
Depends On:
Blocks: 1481139
TreeView+ depends on / blocked
 
Reported: 2017-06-27 14:40 UTC by Ken Gaillot
Modified: 2018-04-10 15:32 UTC (History)
9 users (show)

Fixed In Version: pacemaker-1.1.18-1.el7
Doc Type: No Doc Update
Doc Text:
(Bundles were tech preview in 7.4, so bug fixes do not need to be documented in 7.5.) 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.
Clone Of:
: 1481139 (view as bug list)
Environment:
Last Closed: 2018-04-10 15:30:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0860 0 None None None 2018-04-10 15:32:11 UTC

Description Ken Gaillot 2017-06-27 14:40:57 UTC
If a bundle resource is included in an ordering constraint, the ordering is not respected.

Comment 2 Ken Gaillot 2017-06-27 14:44:14 UTC
Fixed upstream

Comment 6 Ken Gaillot 2017-08-15 15:13:27 UTC
Testing procedure:

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 8 pkomarov 2018-01-11 13:47:57 UTC
Verified , 

tested constraints : 

Ordering Constraints:
  start ip-192.168.24.9 then start haproxy-bundle (kind:Optional)


results : crm_mon indicates correct order during cluster startup

results from the logs ;the order is preserved : 

[614489] <lrm_rsc_op id="ip-192.168.24.9_last_0" operation_key="ip-192.168.24.9_start_0" operation="start" 
...
...
[614489]  <lrm_rsc_op id="haproxy-bundle-docker-2_last_0" operation_key="haproxy-bundle-docker-2_start_0" operation="start"

Comment 11 errata-xmlrpc 2018-04-10 15:30:29 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/RHEA-2018:0860


Note You need to log in before you can comment on or make changes to this bug.