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 1787532 - invalid transition produced in crm_simulate with "start A then stop B" constraint
Summary: invalid transition produced in crm_simulate with "start A then stop B" constr...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pacemaker
Version: 7.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ken Gaillot
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1782887
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-03 09:50 UTC by Nina Hostakova
Modified: 2020-06-03 21:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1782887
Environment:
Last Closed: 2020-06-03 21:02:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nina Hostakova 2020-01-03 09:50:56 UTC
The same problem to be resolved in RHEL7

Version-Release number of selected component (if applicable):
pacemaker-1.1.21-3.el7

+++ This bug was initially created as a clone of Bug #1782887 +++

Description of problem:
crm_simulate exits with "An invalid transition was produced" in the specific case described below.


Version-Release number of selected component (if applicable):
pacemaker-2.0.3-3.el8


How reproducible:
always


Steps to Reproduce:
1. Have two resources, d1 and d2.
2. Create an order constraint: start d1 then stop d2
3. Use crm_simulate to see what happens when d1 is disabled:
# pcs cluster cib > cib.xml
# pcs -f cib.xml resource disable d1
# crm_simulate --simulate --xml-file=cib.xml


Actual results:
crm_simulate returns 1 and exits with:
Executing cluster transition:
Transition failed: terminated
An invalid transition was produced

--- Additional comment from Tomas Jelinek on 2019-12-12 15:06:55 UTC ---

this is the configuration of a cluster before disabling a resource

--- Additional comment from Tomas Jelinek on 2019-12-12 15:08:09 UTC ---

this cib contains the change to be simulated against the running cluster - d1 is disabled

--- Additional comment from Tomas Jelinek on 2019-12-12 15:08:45 UTC ---



--- Additional comment from Tomas Jelinek on 2019-12-12 15:10:11 UTC ---

This issue has been discovered when testing the safe-disable feature in pcs, see bz1631519#c17 and following comments there for more details.

Comment 2 Ken Gaillot 2020-06-03 21:02:10 UTC
Leaving this as RHEL 8 only since it will not be fixed in RHEL 7.9 time frame


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