Bug 1036631

Summary: cloned group constraints are not respected on disable
Product: Red Hat Enterprise Linux 6 Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: pacemakerAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: cluster-maint, dvossel, jharriga, jkortus
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pacemaker-1.1.12-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:33:28 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:
Attachments:
Description Flags
Test case none

Description Fabio Massimo Di Nitto 2013-12-02 11:33:45 UTC
[root@rhos4-node3 ~]# pcs constraint order start mysql-group then qpidd
Adding mysql-group qpidd (kind: Mandatory) (Options: first-action=start then-action=start)
[root@rhos4-node3 ~]# pcs constraint order start qpidd then keystone
Adding qpidd keystone (kind: Mandatory) (Options: first-action=start then-action=start)
[root@rhos4-node3 ~]# pcs constraint order start keystone then glance
Adding keystone glance (kind: Mandatory) (Options: first-action=start then-action=start)
[root@rhos4-node3 ~]# pcs constraint order start glance then cinder
Adding glance cinder (kind: Mandatory) (Options: first-action=start then-action=start)

Last updated: Mon Dec  2 12:02:47 2013
Last change: Mon Dec  2 12:02:46 2013 via crm_resource on rhos4-node4
Stack: cman
Current DC: rhos4-node4 - partition with quorum
Version: 1.1.10-14.el6-368c726
2 Nodes configured
30 Resources configured


Online: [ rhos4-node3 rhos4-node4 ]

virt-fencing    (stonith:fence_xvm):    Started rhos4-node3
 Resource Group: mysql-group
     mysql-vip  (ocf::heartbeat:IPaddr2):       Started rhos4-node3
     mysql-fs   (ocf::heartbeat:Filesystem):    Started rhos4-node3
     mysql-db   (ocf::heartbeat:mysql): Started rhos4-node3
 Clone Set: qpidd-clone [qpidd]
     Started: [ rhos4-node3 rhos4-node4 ]
 Clone Set: keystone-clone [keystone]
     Started: [ rhos4-node3 rhos4-node4 ]
 Clone Set: glance-clone [glance]
     Started: [ rhos4-node3 rhos4-node4 ]
 Clone Set: cinder-clone [cinder]
     Started: [ rhos4-node3 rhos4-node4 ]

pcs resource disable qpidd will not shutdown glance/cinder.

Comment 1 Andrew Beekhof 2013-12-02 11:35:30 UTC
Created attachment 831546 [details]
Test case

Comment 2 Andrew Beekhof 2014-02-18 09:23:52 UTC
Upstream patches:

+ Andrew Beekhof (4 days ago) df01c89: Test: Bug rhbz#1036631 - Stop members of cloned groups when dependancies are stopped 
+ Andrew Beekhof (4 days ago) fc0408e: Fix: Bug rhbz#1036631 - Stop members of cloned groups when dependancies are stopped

Comment 6 errata-xmlrpc 2014-10-14 07:33:28 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.

http://rhn.redhat.com/errata/RHBA-2014-1544.html