diff --git a/pengine/regression.sh b/pengine/regression.sh index 88ae884b5c..81afcbdadb 100755 --- a/pengine/regression.sh +++ b/pengine/regression.sh @@ -1,868 +1,874 @@ #!/bin/bash # Copyright (C) 2004 Andrew Beekhof # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This software is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # core=`dirname $0` . $core/regression.core.sh || exit 1 create_mode="true" info Generating test outputs for these tests... # do_test file description info Done. echo "" info Performing the following tests from $io_dir create_mode="false" echo "" do_test simple1 "Offline " do_test simple2 "Start " do_test simple3 "Start 2 " do_test simple4 "Start Failed" do_test simple6 "Stop Start " do_test simple7 "Shutdown " #do_test simple8 "Stonith " #do_test simple9 "Lower version" #do_test simple10 "Higher version" do_test simple11 "Priority (ne)" do_test simple12 "Priority (eq)" do_test simple8 "Stickiness" echo "" do_test group1 "Group " do_test group2 "Group + Native " do_test group3 "Group + Group " do_test group4 "Group + Native (nothing)" do_test group5 "Group + Native (move) " do_test group6 "Group + Group (move) " do_test group7 "Group colocation" do_test group13 "Group colocation (cant run)" do_test group8 "Group anti-colocation" do_test group9 "Group recovery" do_test group10 "Group partial recovery" do_test group11 "Group target_role" do_test group14 "Group stop (graph terminated)" do_test group15 "-ve group colocation" do_test bug-1573 "Partial stop of a group with two children" do_test bug-1718 "Mandatory group ordering - Stop group_FUN" do_test bug-lf-2613 "Move group on failure" do_test bug-lf-2619 "Move group on clone failure" do_test group-fail "Ensure stop order is preserved for partially active groups" do_test group-unmanaged "No need to restart r115 because r114 is unmanaged" do_test group-unmanaged-stopped "Make sure r115 is stopped when r114 fails" do_test group-dependents "Account for the location preferences of things colocated with a group" echo "" do_test rsc_dep1 "Must not " do_test rsc_dep3 "Must " do_test rsc_dep5 "Must not 3 " do_test rsc_dep7 "Must 3 " do_test rsc_dep10 "Must (but cant)" do_test rsc_dep2 "Must (running) " do_test rsc_dep8 "Must (running : alt) " do_test rsc_dep4 "Must (running + move)" do_test asymmetric "Asymmetric - require explicit location constraints" echo "" do_test orphan-0 "Orphan ignore" do_test orphan-1 "Orphan stop" do_test orphan-2 "Orphan stop, remove failcount" echo "" do_test params-0 "Params: No change" do_test params-1 "Params: Changed" do_test params-2 "Params: Resource definition" do_test params-4 "Params: Reload" do_test params-5 "Params: Restart based on probe digest" do_test novell-251689 "Resource definition change + target_role=stopped" do_test bug-lf-2106 "Restart all anonymous clone instances after config change" do_test params-6 "Params: Detect reload in previously migrated resource" do_test nvpair-id-ref "Support id-ref in nvpair with optional name" do_test not-reschedule-unneeded-monitor "Do not reschedule unneeded monitors while resource definitions have changed" echo "" do_test target-0 "Target Role : baseline" do_test target-1 "Target Role : master" do_test target-2 "Target Role : invalid" echo "" do_test base-score "Set a node's default score for all nodes" echo "" do_test date-1 "Dates" -t "2005-020" do_test date-2 "Date Spec - Pass" -t "2005-020T12:30" do_test date-3 "Date Spec - Fail" -t "2005-020T11:30" do_test origin "Timing of recurring operations" -t "2014-05-07 00:28:00" do_test probe-0 "Probe (anon clone)" do_test probe-1 "Pending Probe" do_test probe-2 "Correctly re-probe cloned groups" do_test probe-3 "Probe (pending node)" do_test probe-4 "Probe (pending node + stopped resource)" do_test standby "Standby" do_test comments "Comments" echo "" do_test one-or-more-0 "Everything starts" do_test one-or-more-1 "Nothing starts because of A" do_test one-or-more-2 "D can start because of C" do_test one-or-more-3 "D cannot start because of B and C" do_test one-or-more-4 "D cannot start because of target-role" do_test one-or-more-5 "Start A and F even though C and D are stopped" do_test one-or-more-6 "Leave A running even though B is stopped" do_test one-or-more-7 "Leave A running even though C is stopped" do_test bug-5140-require-all-false "Allow basegrp:0 to stop" do_test clone-require-all-1 "clone B starts node 3 and 4" do_test clone-require-all-2 "clone B remains stopped everywhere" do_test clone-require-all-3 "clone B stops everywhere because A stops everywhere" do_test clone-require-all-4 "clone B remains on node 3 and 4 with only one instance of A remaining." do_test clone-require-all-5 "clone B starts on node 1 3 and 4" do_test clone-require-all-6 "clone B remains active after shutting down instances of A" do_test clone-require-all-7 "clone A and B both start at the same time. all instances of A start before B." do_test clone-require-all-no-interleave-1 "C starts everywhere after A and B" do_test clone-require-all-no-interleave-2 "C starts on nodes 1, 2, and 4 with only one active instance of B" do_test clone-require-all-no-interleave-3 "C remains active when instance of B is stopped on one node and started on another." do_test one-or-more-unrunnnable-instances "Avoid dependencies on instances that won't ever be started" echo "" do_test order1 "Order start 1 " do_test order2 "Order start 2 " do_test order3 "Order stop " do_test order4 "Order (multiple) " do_test order5 "Order (move) " do_test order6 "Order (move w/ restart) " do_test order7 "Order (mandatory) " do_test order-optional "Order (score=0) " do_test order-required "Order (score=INFINITY) " do_test bug-lf-2171 "Prevent group start when clone is stopped" do_test order-clone "Clone ordering should be able to prevent startup of dependent clones" do_test order-sets "Ordering for resource sets" do_test order-serialize "Serialize resources without inhibiting migration" do_test order-serialize-set "Serialize a set of resources without inhibiting migration" do_test clone-order-primitive "Order clone start after a primitive" do_test clone-order-16instances "Verify ordering of 16 cloned resources" do_test order-optional-keyword "Order (optional keyword)" do_test order-mandatory "Order (mandatory keyword)" do_test bug-lf-2493 "Don't imply colocation requirements when applying ordering constraints with clones" do_test ordered-set-basic-startup "Constraint set with default order settings." do_test ordered-set-natural "Allow natural set ordering" do_test order-wrong-kind "Order (error)" echo "" do_test coloc-loop "Colocation - loop" do_test coloc-many-one "Colocation - many-to-one" do_test coloc-list "Colocation - many-to-one with list" do_test coloc-group "Colocation - groups" do_test coloc-slave-anti "Anti-colocation with slave shouldn't prevent master colocation" do_test coloc-attr "Colocation based on node attributes" do_test coloc-negative-group "Negative colocation with a group" do_test coloc-intra-set "Intra-set colocation" do_test bug-lf-2435 "Colocation sets with a negative score" do_test coloc-clone-stays-active "Ensure clones don't get stopped/demoted because a dependent must stop" do_test coloc_fp_logic "Verify floating point calculations in colocation are working" do_test colo_master_w_native "cl#5070 - Verify promotion order is affected when colocating master to native rsc." do_test colo_slave_w_native "cl#5070 - Verify promotion order is affected when colocating slave to native rsc." do_test anti-colocation-order "cl#5187 - Prevent resources in an anti-colocation from even temporarily running on a same node" do_test anti-colocation-master "Organize order of actions for master resources in anti-colocations" do_test anti-colocation-slave "Organize order of actions for slave resources in anti-colocations" do_test enforce-colo1 "Always enforce B with A INFINITY." do_test complex_enforce_colo "Always enforce B with A INFINITY. (make sure heat-engine stops)" echo "" do_test rsc-sets-seq-true "Resource Sets - sequential=false" do_test rsc-sets-seq-false "Resource Sets - sequential=true" do_test rsc-sets-clone "Resource Sets - Clone" do_test rsc-sets-master "Resource Sets - Master" do_test rsc-sets-clone-1 "Resource Sets - Clone (lf#2404)" #echo "" #do_test agent1 "version: lt (empty)" #do_test agent2 "version: eq " #do_test agent3 "version: gt " echo "" do_test attrs1 "string: eq (and) " do_test attrs2 "string: lt / gt (and)" do_test attrs3 "string: ne (or) " do_test attrs4 "string: exists " do_test attrs5 "string: not_exists " do_test attrs6 "is_dc: true " do_test attrs7 "is_dc: false " do_test attrs8 "score_attribute " do_test per-node-attrs "Per node resource parameters" echo "" do_test mon-rsc-1 "Schedule Monitor - start" do_test mon-rsc-2 "Schedule Monitor - move " do_test mon-rsc-3 "Schedule Monitor - pending start " do_test mon-rsc-4 "Schedule Monitor - move/pending start" echo "" do_test rec-rsc-0 "Resource Recover - no start " do_test rec-rsc-1 "Resource Recover - start " do_test rec-rsc-2 "Resource Recover - monitor " do_test rec-rsc-3 "Resource Recover - stop - ignore" do_test rec-rsc-4 "Resource Recover - stop - block " do_test rec-rsc-5 "Resource Recover - stop - fence " do_test rec-rsc-6 "Resource Recover - multiple - restart" do_test rec-rsc-7 "Resource Recover - multiple - stop " do_test rec-rsc-8 "Resource Recover - multiple - block " do_test rec-rsc-9 "Resource Recover - group/group" do_test monitor-recovery "on-fail=block + resource recovery detected by recurring monitor" do_test stop-failure-no-quorum "Stop failure without quorum" do_test stop-failure-no-fencing "Stop failure without fencing available" do_test stop-failure-with-fencing "Stop failure with fencing available" do_test multiple-active-block-group "Support of multiple-active=block for resource groups" do_test multiple-monitor-one-failed "Consider resource failed if any of the configured monitor operations failed" echo "" do_test quorum-1 "No quorum - ignore" do_test quorum-2 "No quorum - freeze" do_test quorum-3 "No quorum - stop " do_test quorum-4 "No quorum - start anyway" do_test quorum-5 "No quorum - start anyway (group)" do_test quorum-6 "No quorum - start anyway (clone)" do_test bug-cl-5212 "No promotion with no-quorum-policy=freeze" echo "" do_test rec-node-1 "Node Recover - Startup - no fence" do_test rec-node-2 "Node Recover - Startup - fence " do_test rec-node-3 "Node Recover - HA down - no fence" do_test rec-node-4 "Node Recover - HA down - fence " do_test rec-node-5 "Node Recover - CRM down - no fence" do_test rec-node-6 "Node Recover - CRM down - fence " do_test rec-node-7 "Node Recover - no quorum - ignore " do_test rec-node-8 "Node Recover - no quorum - freeze " do_test rec-node-9 "Node Recover - no quorum - stop " do_test rec-node-10 "Node Recover - no quorum - stop w/fence" do_test rec-node-11 "Node Recover - CRM down w/ group - fence " do_test rec-node-12 "Node Recover - nothing active - fence " do_test rec-node-13 "Node Recover - failed resource + shutdown - fence " do_test rec-node-15 "Node Recover - unknown lrm section" do_test rec-node-14 "Serialize all stonith's" echo "" do_test multi1 "Multiple Active (stop/start)" echo "" do_test migrate-begin "Normal migration" do_test migrate-success "Completed migration" do_test migrate-partial-1 "Completed migration, missing stop on source" do_test migrate-partial-2 "Successful migrate_to only" do_test migrate-partial-3 "Successful migrate_to only, target down" do_test migrate-partial-4 "Migrate from the correct host after migrate_to+migrate_from" do_test bug-5186-partial-migrate "Handle partial migration when src node loses membership" do_test migrate-fail-2 "Failed migrate_from" do_test migrate-fail-3 "Failed migrate_from + stop on source" do_test migrate-fail-4 "Failed migrate_from + stop on target - ideally we wouldn't need to re-stop on target" do_test migrate-fail-5 "Failed migrate_from + stop on source and target" do_test migrate-fail-6 "Failed migrate_to" do_test migrate-fail-7 "Failed migrate_to + stop on source" do_test migrate-fail-8 "Failed migrate_to + stop on target - ideally we wouldn't need to re-stop on target" do_test migrate-fail-9 "Failed migrate_to + stop on source and target" do_test migrate-stop "Migration in a stopping stack" do_test migrate-start "Migration in a starting stack" do_test migrate-stop_start "Migration in a restarting stack" do_test migrate-stop-complex "Migration in a complex stopping stack" do_test migrate-start-complex "Migration in a complex starting stack" do_test migrate-stop-start-complex "Migration in a complex moving stack" do_test migrate-shutdown "Order the post-migration 'stop' before node shutdown" do_test migrate-1 "Migrate (migrate)" do_test migrate-2 "Migrate (stable)" do_test migrate-3 "Migrate (failed migrate_to)" do_test migrate-4 "Migrate (failed migrate_from)" do_test novell-252693 "Migration in a stopping stack" do_test novell-252693-2 "Migration in a starting stack" do_test novell-252693-3 "Non-Migration in a starting and stopping stack" do_test bug-1820 "Migration in a group" do_test bug-1820-1 "Non-migration in a group" do_test migrate-5 "Primitive migration with a clone" do_test migrate-fencing "Migration after Fencing" do_test migrate-both-vms "Migrate two VMs that have no colocation" do_test 1-a-then-bm-move-b "Advanced migrate logic. A then B. migrate B." do_test 2-am-then-b-move-a "Advanced migrate logic, A then B, migrate A without stopping B" do_test 3-am-then-bm-both-migrate "Advanced migrate logic. A then B. migrate both" do_test 4-am-then-bm-b-not-migratable "Advanced migrate logic, A then B, B not migratable" do_test 5-am-then-bm-a-not-migratable "Advanced migrate logic. A then B. move both, a not migratable" do_test 6-migrate-group "Advanced migrate logic, migrate a group" do_test 7-migrate-group-one-unmigratable "Advanced migrate logic, migrate group mixed with allow-migrate true/false" do_test 8-am-then-bm-a-migrating-b-stopping "Advanced migrate logic, A then B, A migrating, B stopping" do_test 9-am-then-bm-b-migrating-a-stopping "Advanced migrate logic, A then B, B migrate, A stopping" do_test 10-a-then-bm-b-move-a-clone "Advanced migrate logic, A clone then B, migrate B while stopping A" do_test 11-a-then-bm-b-move-a-clone-starting "Advanced migrate logic, A clone then B, B moving while A is start/stopping" do_test a-promote-then-b-migrate "A promote then B start. migrate B" do_test a-demote-then-b-migrate "A demote then B stop. migrate B" do_test migrate-versioned "Disable migration for versioned resources" #echo "" #do_test complex1 "Complex " do_test bug-lf-2422 "Dependency on partially active group - stop ocfs:*" echo "" do_test clone-anon-probe-1 "Probe the correct (anonymous) clone instance for each node" do_test clone-anon-probe-2 "Avoid needless re-probing of anonymous clones" do_test clone-anon-failcount "Merge failcounts for anonymous clones" do_test inc0 "Incarnation start" do_test inc1 "Incarnation start order" do_test inc2 "Incarnation silent restart, stop, move" do_test inc3 "Inter-incarnation ordering, silent restart, stop, move" do_test inc4 "Inter-incarnation ordering, silent restart, stop, move (ordered)" do_test inc5 "Inter-incarnation ordering, silent restart, stop, move (restart 1)" do_test inc6 "Inter-incarnation ordering, silent restart, stop, move (restart 2)" do_test inc7 "Clone colocation" do_test inc8 "Clone anti-colocation" do_test inc9 "Non-unique clone" do_test inc10 "Non-unique clone (stop)" do_test inc11 "Primitive colocation with clones" do_test inc12 "Clone shutdown" do_test cloned-group "Make sure only the correct number of cloned groups are started" do_test cloned-group-stop "Ensure stopping qpidd also stops glance and cinder" do_test clone-no-shuffle "Don't prioritize allocation of instances that must be moved" do_test clone-max-zero "Orphan processing with clone-max=0" do_test clone-anon-dup "Bug LF#2087 - Correctly parse the state of anonymous clones that are active more than once per node" do_test bug-lf-2160 "Don't shuffle clones due to colocation" do_test bug-lf-2213 "clone-node-max enforcement for cloned groups" do_test bug-lf-2153 "Clone ordering constraints" do_test bug-lf-2361 "Ensure clones observe mandatory ordering constraints if the LHS is unrunnable" do_test bug-lf-2317 "Avoid needless restart of primitive depending on a clone" do_test clone-colocate-instance-1 "Colocation with a specific clone instance (negative example)" do_test clone-colocate-instance-2 "Colocation with a specific clone instance" do_test clone-order-instance "Ordering with specific clone instances" do_test bug-lf-2453 "Enforce mandatory clone ordering without colocation" do_test bug-lf-2508 "Correctly reconstruct the status of anonymous cloned groups" do_test bug-lf-2544 "Balanced clone placement" do_test bug-lf-2445 "Redistribute clones with node-max > 1 and stickiness = 0" do_test bug-lf-2574 "Avoid clone shuffle" do_test bug-lf-2581 "Avoid group restart due to unrelated clone (re)start" do_test bug-cl-5168 "Don't shuffle clones" do_test bug-cl-5170 "Prevent clone from starting with on-fail=block" do_test clone-fail-block-colocation "Move colocated group when failed clone has on-fail=block" do_test clone-interleave-1 "Clone-3 cannot start on pcmk-1 due to interleaved ordering (no colocation)" do_test clone-interleave-2 "Clone-3 must stop on pcmk-1 due to interleaved ordering (no colocation)" do_test clone-interleave-3 "Clone-3 must be recovered on pcmk-1 due to interleaved ordering (no colocation)" echo "" do_test cloned_start_one "order first clone then clone... first clone_min=2" do_test cloned_start_two "order first clone then clone... first clone_min=2" do_test cloned_stop_one "order first clone then clone... first clone_min=2" do_test cloned_stop_two "order first clone then clone... first clone_min=2" do_test clone_min_interleave_start_one "order first clone then clone... first clone_min=2 and then has interleave=true" do_test clone_min_interleave_start_two "order first clone then clone... first clone_min=2 and then has interleave=true" do_test clone_min_interleave_stop_one "order first clone then clone... first clone_min=2 and then has interleave=true" do_test clone_min_interleave_stop_two "order first clone then clone... first clone_min=2 and then has interleave=true" do_test clone_min_start_one "order first clone then primitive... first clone_min=2" do_test clone_min_start_two "order first clone then primitive... first clone_min=2" do_test clone_min_stop_all "order first clone then primitive... first clone_min=2" do_test clone_min_stop_one "order first clone then primitive... first clone_min=2" do_test clone_min_stop_two "order first clone then primitive... first clone_min=2" echo "" do_test unfence-startup "Clean unfencing" do_test unfence-definition "Unfencing when the agent changes" do_test unfence-parameters "Unfencing when the agent parameters changes" echo "" do_test master-0 "Stopped -> Slave" do_test master-1 "Stopped -> Promote" do_test master-2 "Stopped -> Promote : notify" do_test master-3 "Stopped -> Promote : master location" do_test master-4 "Started -> Promote : master location" do_test master-5 "Promoted -> Promoted" do_test master-6 "Promoted -> Promoted (2)" do_test master-7 "Promoted -> Fenced" do_test master-8 "Promoted -> Fenced -> Moved" do_test master-9 "Stopped + Promotable + No quorum" do_test master-10 "Stopped -> Promotable : notify with monitor" do_test master-11 "Stopped -> Promote : colocation" do_test novell-239082 "Demote/Promote ordering" do_test novell-239087 "Stable master placement" do_test master-12 "Promotion based solely on rsc_location constraints" do_test master-13 "Include preferences of colocated resources when placing master" do_test master-demote "Ordering when actions depends on demoting a slave resource" do_test master-ordering "Prevent resources from starting that need a master" do_test bug-1765 "Master-Master Colocation (dont stop the slaves)" do_test master-group "Promotion of cloned groups" do_test bug-lf-1852 "Don't shuffle master/slave instances unnecessarily" do_test master-failed-demote "Don't retry failed demote actions" do_test master-failed-demote-2 "Don't retry failed demote actions (notify=false)" do_test master-depend "Ensure resources that depend on the master don't get allocated until the master does" do_test master-reattach "Re-attach to a running master" do_test master-allow-start "Don't include master score if it would prevent allocation" do_test master-colocation "Allow master instances placemaker to be influenced by colocation constraints" do_test master-pseudo "Make sure promote/demote pseudo actions are created correctly" do_test master-role "Prevent target-role from promoting more than master-max instances" do_test bug-lf-2358 "Master-Master anti-colocation" do_test master-promotion-constraint "Mandatory master colocation constraints" do_test unmanaged-master "Ensure role is preserved for unmanaged resources" do_test master-unmanaged-monitor "Start the correct monitor operation for unmanaged masters" do_test master-demote-2 "Demote does not clear past failure" do_test master-move "Move master based on failure of colocated group" do_test master-probed-score "Observe the promotion score of probed resources" do_test colocation_constraint_stops_master "cl#5054 - Ensure master is demoted when stopped by colocation constraint" do_test colocation_constraint_stops_slave "cl#5054 - Ensure slave is not demoted when stopped by colocation constraint" do_test order_constraint_stops_master "cl#5054 - Ensure master is demoted when stopped by order constraint" do_test order_constraint_stops_slave "cl#5054 - Ensure slave is not demoted when stopped by order constraint" do_test master_monitor_restart "cl#5072 - Ensure master monitor operation will start after promotion." do_test bug-rh-880249 "Handle replacement of an m/s resource with a primitive" do_test bug-5143-ms-shuffle "Prevent master shuffling due to promotion score" do_test master-demote-block "Block promotion if demote fails with on-fail=block" do_test master-dependent-ban "Don't stop instances from being active because a dependent is banned from that host" do_test master-stop "Stop instances due to location constraint with role=Started" do_test master-partially-demoted-group "Allow partially demoted group to finish demoting" do_test bug-cl-5213 "Ensure role colocation with -INFINITY is enforced" do_test bug-cl-5219 "Allow unrelated resources with a common colocation target to remain promoted" do_test master-asymmetrical-order "Fix the behaviors of multi-state resources with asymmetrical ordering" do_test master-notify "Master promotion with notifies" echo "" do_test history-1 "Correctly parse stateful-1 resource state" echo "" do_test managed-0 "Managed (reference)" do_test managed-1 "Not managed - down " do_test managed-2 "Not managed - up " do_test bug-5028 "Shutdown should block if anything depends on an unmanaged resource" do_test bug-5028-detach "Ensure detach still works" do_test bug-5028-bottom "Ensure shutdown still blocks if the blocked resource is at the bottom of the stack" do_test unmanaged-stop-1 "cl#5155 - Block the stop of resources if any depending resource is unmanaged " do_test unmanaged-stop-2 "cl#5155 - Block the stop of resources if the first resource in a mandatory stop order is unmanaged " do_test unmanaged-stop-3 "cl#5155 - Block the stop of resources if any depending resource in a group is unmanaged " do_test unmanaged-stop-4 "cl#5155 - Block the stop of resources if any depending resource in the middle of a group is unmanaged " do_test unmanaged-block-restart "Block restart of resources if any dependent resource in a group is unmanaged" echo "" do_test interleave-0 "Interleave (reference)" do_test interleave-1 "coloc - not interleaved" do_test interleave-2 "coloc - interleaved " do_test interleave-3 "coloc - interleaved (2)" do_test interleave-pseudo-stop "Interleaved clone during stonith" do_test interleave-stop "Interleaved clone during stop" do_test interleave-restart "Interleaved clone during dependency restart" echo "" do_test notify-0 "Notify reference" do_test notify-1 "Notify simple" do_test notify-2 "Notify simple, confirm" do_test notify-3 "Notify move, confirm" do_test novell-239079 "Notification priority" #do_test notify-2 "Notify - 764" echo "" do_test 594 "OSDL #594 - Unrunnable actions scheduled in transition" do_test 662 "OSDL #662 - Two resources start on one node when incarnation_node_max = 1" do_test 696 "OSDL #696 - CRM starts stonith RA without monitor" do_test 726 "OSDL #726 - Attempting to schedule rsc_posic041_monitor_5000 _after_ a stop" do_test 735 "OSDL #735 - Correctly detect that rsc_hadev1 is stopped on hadev3" do_test 764 "OSDL #764 - Missing monitor op for DoFencing:child_DoFencing:1" do_test 797 "OSDL #797 - Assert triggered: task_id_i > max_call_id" do_test 829 "OSDL #829" do_test 994 "OSDL #994 - Stopping the last resource in a resource group causes the entire group to be restarted" do_test 994-2 "OSDL #994 - with a dependent resource" do_test 1360 "OSDL #1360 - Clone stickiness" do_test 1484 "OSDL #1484 - on_fail=stop" do_test 1494 "OSDL #1494 - Clone stability" do_test unrunnable-1 "Unrunnable" do_test unrunnable-2 "Unrunnable 2" do_test stonith-0 "Stonith loop - 1" do_test stonith-1 "Stonith loop - 2" do_test stonith-2 "Stonith loop - 3" do_test stonith-3 "Stonith startup" do_test stonith-4 "Stonith node state" do_test bug-1572-1 "Recovery of groups depending on master/slave" do_test bug-1572-2 "Recovery of groups depending on master/slave when the master is never re-promoted" do_test bug-1685 "Depends-on-master ordering" do_test bug-1822 "Don't promote partially active groups" do_test bug-pm-11 "New resource added to a m/s group" do_test bug-pm-12 "Recover only the failed portion of a cloned group" do_test bug-n-387749 "Don't shuffle clone instances" do_test bug-n-385265 "Don't ignore the failure stickiness of group children - resource_idvscommon should stay stopped" do_test bug-n-385265-2 "Ensure groups are migrated instead of remaining partially active on the current node" do_test bug-lf-1920 "Correctly handle probes that find active resources" do_test bnc-515172 "Location constraint with multiple expressions" do_test colocate-primitive-with-clone "Optional colocation with a clone" do_test use-after-free-merge "Use-after-free in native_merge_weights" do_test bug-lf-2551 "STONITH ordering for stop" do_test bug-lf-2606 "Stonith implies demote" do_test bug-lf-2474 "Ensure resource op timeout takes precedence over op_defaults" do_test bug-suse-707150 "Prevent vm-01 from starting due to colocation/ordering" do_test bug-5014-A-start-B-start "Verify when A starts B starts using symmetrical=false" do_test bug-5014-A-stop-B-started "Verify when A stops B does not stop if it has already started using symmetric=false" do_test bug-5014-A-stopped-B-stopped "Verify when A is stopped and B has not started, B does not start before A using symmetric=false" do_test bug-5014-CthenAthenB-C-stopped "Verify when C then A is symmetrical=true, A then B is symmetric=false, and C is stopped that nothing starts." do_test bug-5014-CLONE-A-start-B-start "Verify when A starts B starts using clone resources with symmetric=false" do_test bug-5014-CLONE-A-stop-B-started "Verify when A stops B does not stop if it has already started using clone resources with symmetric=false." do_test bug-5014-GROUP-A-start-B-start "Verify when A starts B starts when using group resources with symmetric=false." do_test bug-5014-GROUP-A-stopped-B-started "Verify when A stops B does not stop if it has already started using group resources with symmetric=false." do_test bug-5014-GROUP-A-stopped-B-stopped "Verify when A is stopped and B has not started, B does not start before A using group resources with symmetric=false." do_test bug-5014-ordered-set-symmetrical-false "Verify ordered sets work with symmetrical=false" do_test bug-5014-ordered-set-symmetrical-true "Verify ordered sets work with symmetrical=true" do_test bug-5007-masterslave_colocation "Verify use of colocation scores other than INFINITY and -INFINITY work on multi-state resources." do_test bug-5038 "Prevent restart of anonymous clones when clone-max decreases" do_test bug-5025-1 "Automatically clean up failcount after resource config change with reload" do_test bug-5025-2 "Make sure clear failcount action isn't set when config does not change." do_test bug-5025-3 "Automatically clean up failcount after resource config change with restart" do_test bug-5025-4 "Clear failcount when last failure is a start op and rsc attributes changed." do_test failcount "Ensure failcounts are correctly expired" do_test failcount-block "Ensure failcounts are not expired when on-fail=block is present" do_test per-op-failcount "Ensure per-operation failcount is handled and not passed to fence agent" do_test monitor-onfail-restart "bug-5058 - Monitor failure with on-fail set to restart" do_test monitor-onfail-stop "bug-5058 - Monitor failure wiht on-fail set to stop" do_test bug-5059 "No need to restart p_stateful1:*" do_test bug-5069-op-enabled "Test on-fail=ignore with failure when monitor is enabled." do_test bug-5069-op-disabled "Test on-fail-ignore with failure when monitor is disabled." do_test obsolete-lrm-resource "cl#5115 - Do not use obsolete lrm_resource sections" do_test expire-non-blocked-failure "Ignore failure-timeout only if the failed operation has on-fail=block" do_test asymmetrical-order-move "Respect asymmetrical ordering when trying to move resources" do_test start-then-stop-with-unfence "Avoid graph loop with start-then-stop constraint plus unfencing" do_test ignore_stonith_rsc_order1 "cl#5056- Ignore order constraint between stonith and non-stonith rsc." do_test ignore_stonith_rsc_order2 "cl#5056- Ignore order constraint with group rsc containing mixed stonith and non-stonith." do_test ignore_stonith_rsc_order3 "cl#5056- Ignore order constraint, stonith clone and mixed group" do_test ignore_stonith_rsc_order4 "cl#5056- Ignore order constraint, stonith clone and clone with nested mixed group" do_test honor_stonith_rsc_order1 "cl#5056- Honor order constraint, stonith clone and pure stonith group(single rsc)." do_test honor_stonith_rsc_order2 "cl#5056- Honor order constraint, stonith clone and pure stonith group(multiple rsc)" do_test honor_stonith_rsc_order3 "cl#5056- Honor order constraint, stonith clones with nested pure stonith group." do_test honor_stonith_rsc_order4 "cl#5056- Honor order constraint, between two native stonith rscs." do_test probe-timeout "cl#5099 - Default probe timeout" do_test concurrent-fencing "Allow performing fencing operations in parallel" echo "" do_test systemhealth1 "System Health () #1" do_test systemhealth2 "System Health () #2" do_test systemhealth3 "System Health () #3" do_test systemhealthn1 "System Health (None) #1" do_test systemhealthn2 "System Health (None) #2" do_test systemhealthn3 "System Health (None) #3" do_test systemhealthm1 "System Health (Migrate On Red) #1" do_test systemhealthm2 "System Health (Migrate On Red) #2" do_test systemhealthm3 "System Health (Migrate On Red) #3" do_test systemhealtho1 "System Health (Only Green) #1" do_test systemhealtho2 "System Health (Only Green) #2" do_test systemhealtho3 "System Health (Only Green) #3" do_test systemhealthp1 "System Health (Progessive) #1" do_test systemhealthp2 "System Health (Progessive) #2" do_test systemhealthp3 "System Health (Progessive) #3" echo "" do_test utilization "Placement Strategy - utilization" do_test minimal "Placement Strategy - minimal" do_test balanced "Placement Strategy - balanced" echo "" do_test placement-stickiness "Optimized Placement Strategy - stickiness" do_test placement-priority "Optimized Placement Strategy - priority" do_test placement-location "Optimized Placement Strategy - location" do_test placement-capacity "Optimized Placement Strategy - capacity" echo "" do_test utilization-order1 "Utilization Order - Simple" do_test utilization-order2 "Utilization Order - Complex" do_test utilization-order3 "Utilization Order - Migrate" do_test utilization-order4 "Utilization Order - Live Mirgration (bnc#695440)" do_test utilization-shuffle "Don't displace prmExPostgreSQLDB2 on act2, Start prmExPostgreSQLDB1 on act3" do_test load-stopped-loop "Avoid transition loop due to load_stopped (cl#5044)" do_test load-stopped-loop-2 "cl#5235 - Prevent graph loops that can be introduced by load_stopped -> migrate_to ordering" echo "" do_test colocated-utilization-primitive-1 "Colocated Utilization - Primitive" do_test colocated-utilization-primitive-2 "Colocated Utilization - Choose the most capable node" do_test colocated-utilization-group "Colocated Utilization - Group" do_test colocated-utilization-clone "Colocated Utilization - Clone" do_test utilization-check-allowed-nodes "Only check the capacities of the nodes that can run the resource" echo "" do_test reprobe-target_rc "Ensure correct target_rc for reprobe of inactive resources" do_test node-maintenance-1 "cl#5128 - Node maintenance" do_test node-maintenance-2 "cl#5128 - Node maintenance (coming out of maintenance mode)" do_test shutdown-maintenance-node "Do not fence a maintenance node if it shuts down cleanly" do_test rsc-maintenance "Per-resource maintenance" echo "" do_test not-installed-agent "The resource agent is missing" do_test not-installed-tools "Something the resource agent needs is missing" echo "" do_test stopped-monitor-00 "Stopped Monitor - initial start" do_test stopped-monitor-01 "Stopped Monitor - failed started" do_test stopped-monitor-02 "Stopped Monitor - started multi-up" do_test stopped-monitor-03 "Stopped Monitor - stop started" do_test stopped-monitor-04 "Stopped Monitor - failed stop" do_test stopped-monitor-05 "Stopped Monitor - start unmanaged" do_test stopped-monitor-06 "Stopped Monitor - unmanaged multi-up" do_test stopped-monitor-07 "Stopped Monitor - start unmanaged multi-up" do_test stopped-monitor-08 "Stopped Monitor - migrate" do_test stopped-monitor-09 "Stopped Monitor - unmanage started" do_test stopped-monitor-10 "Stopped Monitor - unmanaged started multi-up" do_test stopped-monitor-11 "Stopped Monitor - stop unmanaged started" do_test stopped-monitor-12 "Stopped Monitor - unmanaged started multi-up (targer-role="Stopped")" do_test stopped-monitor-20 "Stopped Monitor - initial stop" do_test stopped-monitor-21 "Stopped Monitor - stopped single-up" do_test stopped-monitor-22 "Stopped Monitor - stopped multi-up" do_test stopped-monitor-23 "Stopped Monitor - start stopped" do_test stopped-monitor-24 "Stopped Monitor - unmanage stopped" do_test stopped-monitor-25 "Stopped Monitor - unmanaged stopped multi-up" do_test stopped-monitor-26 "Stopped Monitor - start unmanaged stopped" do_test stopped-monitor-27 "Stopped Monitor - unmanaged stopped multi-up (target-role="Started")" do_test stopped-monitor-30 "Stopped Monitor - new node started" do_test stopped-monitor-31 "Stopped Monitor - new node stopped" echo"" do_test ticket-primitive-1 "Ticket - Primitive (loss-policy=stop, initial)" do_test ticket-primitive-2 "Ticket - Primitive (loss-policy=stop, granted)" do_test ticket-primitive-3 "Ticket - Primitive (loss-policy-stop, revoked)" do_test ticket-primitive-4 "Ticket - Primitive (loss-policy=demote, initial)" do_test ticket-primitive-5 "Ticket - Primitive (loss-policy=demote, granted)" do_test ticket-primitive-6 "Ticket - Primitive (loss-policy=demote, revoked)" do_test ticket-primitive-7 "Ticket - Primitive (loss-policy=fence, initial)" do_test ticket-primitive-8 "Ticket - Primitive (loss-policy=fence, granted)" do_test ticket-primitive-9 "Ticket - Primitive (loss-policy=fence, revoked)" do_test ticket-primitive-10 "Ticket - Primitive (loss-policy=freeze, initial)" do_test ticket-primitive-11 "Ticket - Primitive (loss-policy=freeze, granted)" do_test ticket-primitive-12 "Ticket - Primitive (loss-policy=freeze, revoked)" do_test ticket-primitive-13 "Ticket - Primitive (loss-policy=stop, standby, granted)" do_test ticket-primitive-14 "Ticket - Primitive (loss-policy=stop, granted, standby)" do_test ticket-primitive-15 "Ticket - Primitive (loss-policy=stop, standby, revoked)" do_test ticket-primitive-16 "Ticket - Primitive (loss-policy=demote, standby, granted)" do_test ticket-primitive-17 "Ticket - Primitive (loss-policy=demote, granted, standby)" do_test ticket-primitive-18 "Ticket - Primitive (loss-policy=demote, standby, revoked)" do_test ticket-primitive-19 "Ticket - Primitive (loss-policy=fence, standby, granted)" do_test ticket-primitive-20 "Ticket - Primitive (loss-policy=fence, granted, standby)" do_test ticket-primitive-21 "Ticket - Primitive (loss-policy=fence, standby, revoked)" do_test ticket-primitive-22 "Ticket - Primitive (loss-policy=freeze, standby, granted)" do_test ticket-primitive-23 "Ticket - Primitive (loss-policy=freeze, granted, standby)" do_test ticket-primitive-24 "Ticket - Primitive (loss-policy=freeze, standby, revoked)" echo"" do_test ticket-group-1 "Ticket - Group (loss-policy=stop, initial)" do_test ticket-group-2 "Ticket - Group (loss-policy=stop, granted)" do_test ticket-group-3 "Ticket - Group (loss-policy-stop, revoked)" do_test ticket-group-4 "Ticket - Group (loss-policy=demote, initial)" do_test ticket-group-5 "Ticket - Group (loss-policy=demote, granted)" do_test ticket-group-6 "Ticket - Group (loss-policy=demote, revoked)" do_test ticket-group-7 "Ticket - Group (loss-policy=fence, initial)" do_test ticket-group-8 "Ticket - Group (loss-policy=fence, granted)" do_test ticket-group-9 "Ticket - Group (loss-policy=fence, revoked)" do_test ticket-group-10 "Ticket - Group (loss-policy=freeze, initial)" do_test ticket-group-11 "Ticket - Group (loss-policy=freeze, granted)" do_test ticket-group-12 "Ticket - Group (loss-policy=freeze, revoked)" do_test ticket-group-13 "Ticket - Group (loss-policy=stop, standby, granted)" do_test ticket-group-14 "Ticket - Group (loss-policy=stop, granted, standby)" do_test ticket-group-15 "Ticket - Group (loss-policy=stop, standby, revoked)" do_test ticket-group-16 "Ticket - Group (loss-policy=demote, standby, granted)" do_test ticket-group-17 "Ticket - Group (loss-policy=demote, granted, standby)" do_test ticket-group-18 "Ticket - Group (loss-policy=demote, standby, revoked)" do_test ticket-group-19 "Ticket - Group (loss-policy=fence, standby, granted)" do_test ticket-group-20 "Ticket - Group (loss-policy=fence, granted, standby)" do_test ticket-group-21 "Ticket - Group (loss-policy=fence, standby, revoked)" do_test ticket-group-22 "Ticket - Group (loss-policy=freeze, standby, granted)" do_test ticket-group-23 "Ticket - Group (loss-policy=freeze, granted, standby)" do_test ticket-group-24 "Ticket - Group (loss-policy=freeze, standby, revoked)" echo"" do_test ticket-clone-1 "Ticket - Clone (loss-policy=stop, initial)" do_test ticket-clone-2 "Ticket - Clone (loss-policy=stop, granted)" do_test ticket-clone-3 "Ticket - Clone (loss-policy-stop, revoked)" do_test ticket-clone-4 "Ticket - Clone (loss-policy=demote, initial)" do_test ticket-clone-5 "Ticket - Clone (loss-policy=demote, granted)" do_test ticket-clone-6 "Ticket - Clone (loss-policy=demote, revoked)" do_test ticket-clone-7 "Ticket - Clone (loss-policy=fence, initial)" do_test ticket-clone-8 "Ticket - Clone (loss-policy=fence, granted)" do_test ticket-clone-9 "Ticket - Clone (loss-policy=fence, revoked)" do_test ticket-clone-10 "Ticket - Clone (loss-policy=freeze, initial)" do_test ticket-clone-11 "Ticket - Clone (loss-policy=freeze, granted)" do_test ticket-clone-12 "Ticket - Clone (loss-policy=freeze, revoked)" do_test ticket-clone-13 "Ticket - Clone (loss-policy=stop, standby, granted)" do_test ticket-clone-14 "Ticket - Clone (loss-policy=stop, granted, standby)" do_test ticket-clone-15 "Ticket - Clone (loss-policy=stop, standby, revoked)" do_test ticket-clone-16 "Ticket - Clone (loss-policy=demote, standby, granted)" do_test ticket-clone-17 "Ticket - Clone (loss-policy=demote, granted, standby)" do_test ticket-clone-18 "Ticket - Clone (loss-policy=demote, standby, revoked)" do_test ticket-clone-19 "Ticket - Clone (loss-policy=fence, standby, granted)" do_test ticket-clone-20 "Ticket - Clone (loss-policy=fence, granted, standby)" do_test ticket-clone-21 "Ticket - Clone (loss-policy=fence, standby, revoked)" do_test ticket-clone-22 "Ticket - Clone (loss-policy=freeze, standby, granted)" do_test ticket-clone-23 "Ticket - Clone (loss-policy=freeze, granted, standby)" do_test ticket-clone-24 "Ticket - Clone (loss-policy=freeze, standby, revoked)" echo"" do_test ticket-master-1 "Ticket - Master (loss-policy=stop, initial)" do_test ticket-master-2 "Ticket - Master (loss-policy=stop, granted)" do_test ticket-master-3 "Ticket - Master (loss-policy-stop, revoked)" do_test ticket-master-4 "Ticket - Master (loss-policy=demote, initial)" do_test ticket-master-5 "Ticket - Master (loss-policy=demote, granted)" do_test ticket-master-6 "Ticket - Master (loss-policy=demote, revoked)" do_test ticket-master-7 "Ticket - Master (loss-policy=fence, initial)" do_test ticket-master-8 "Ticket - Master (loss-policy=fence, granted)" do_test ticket-master-9 "Ticket - Master (loss-policy=fence, revoked)" do_test ticket-master-10 "Ticket - Master (loss-policy=freeze, initial)" do_test ticket-master-11 "Ticket - Master (loss-policy=freeze, granted)" do_test ticket-master-12 "Ticket - Master (loss-policy=freeze, revoked)" do_test ticket-master-13 "Ticket - Master (loss-policy=stop, standby, granted)" do_test ticket-master-14 "Ticket - Master (loss-policy=stop, granted, standby)" do_test ticket-master-15 "Ticket - Master (loss-policy=stop, standby, revoked)" do_test ticket-master-16 "Ticket - Master (loss-policy=demote, standby, granted)" do_test ticket-master-17 "Ticket - Master (loss-policy=demote, granted, standby)" do_test ticket-master-18 "Ticket - Master (loss-policy=demote, standby, revoked)" do_test ticket-master-19 "Ticket - Master (loss-policy=fence, standby, granted)" do_test ticket-master-20 "Ticket - Master (loss-policy=fence, granted, standby)" do_test ticket-master-21 "Ticket - Master (loss-policy=fence, standby, revoked)" do_test ticket-master-22 "Ticket - Master (loss-policy=freeze, standby, granted)" do_test ticket-master-23 "Ticket - Master (loss-policy=freeze, granted, standby)" do_test ticket-master-24 "Ticket - Master (loss-policy=freeze, standby, revoked)" echo "" do_test ticket-rsc-sets-1 "Ticket - Resource sets (1 ticket, initial)" do_test ticket-rsc-sets-2 "Ticket - Resource sets (1 ticket, granted)" do_test ticket-rsc-sets-3 "Ticket - Resource sets (1 ticket, revoked)" do_test ticket-rsc-sets-4 "Ticket - Resource sets (2 tickets, initial)" do_test ticket-rsc-sets-5 "Ticket - Resource sets (2 tickets, granted)" do_test ticket-rsc-sets-6 "Ticket - Resource sets (2 tickets, granted)" do_test ticket-rsc-sets-7 "Ticket - Resource sets (2 tickets, revoked)" do_test ticket-rsc-sets-8 "Ticket - Resource sets (1 ticket, standby, granted)" do_test ticket-rsc-sets-9 "Ticket - Resource sets (1 ticket, granted, standby)" do_test ticket-rsc-sets-10 "Ticket - Resource sets (1 ticket, standby, revoked)" do_test ticket-rsc-sets-11 "Ticket - Resource sets (2 tickets, standby, granted)" do_test ticket-rsc-sets-12 "Ticket - Resource sets (2 tickets, standby, granted)" do_test ticket-rsc-sets-13 "Ticket - Resource sets (2 tickets, granted, standby)" do_test ticket-rsc-sets-14 "Ticket - Resource sets (2 tickets, standby, revoked)" do_test cluster-specific-params "Cluster-specific instance attributes based on rules" do_test site-specific-params "Site-specific instance attributes based on rules" echo "" do_test template-1 "Template - 1" do_test template-2 "Template - 2" do_test template-3 "Template - 3 (merge operations)" do_test template-coloc-1 "Template - Colocation 1" do_test template-coloc-2 "Template - Colocation 2" do_test template-coloc-3 "Template - Colocation 3" do_test template-order-1 "Template - Order 1" do_test template-order-2 "Template - Order 2" do_test template-order-3 "Template - Order 3" do_test template-ticket "Template - Ticket" do_test template-rsc-sets-1 "Template - Resource Sets 1" do_test template-rsc-sets-2 "Template - Resource Sets 2" do_test template-rsc-sets-3 "Template - Resource Sets 3" do_test template-rsc-sets-4 "Template - Resource Sets 4" do_test template-clone-primitive "Cloned primitive from template" do_test template-clone-group "Cloned group from template" do_test location-sets-templates "Resource sets and templates - Location" do_test tags-coloc-order-1 "Tags - Colocation and Order (Simple)" do_test tags-coloc-order-2 "Tags - Colocation and Order (Resource Sets with Templates)" do_test tags-location "Tags - Location" do_test tags-ticket "Tags - Ticket" echo "" do_test container-1 "Container - initial" do_test container-2 "Container - monitor failed" do_test container-3 "Container - stop failed" do_test container-4 "Container - reached migration-threshold" do_test container-group-1 "Container in group - initial" do_test container-group-2 "Container in group - monitor failed" do_test container-group-3 "Container in group - stop failed" do_test container-group-4 "Container in group - reached migration-threshold" do_test container-is-remote-node "Place resource within container when container is remote-node" do_test bug-rh-1097457 "Kill user defined container/contents ordering" do_test bug-cl-5247 "Graph loop when recovering m/s resource in a container" +do_test bundle-order-startup "Bundle startup ordering" +do_test bundle-order-partial-start "Bundle startup ordering when some dependancies are already running" +do_test bundle-order-partial-start-2 "Bundle startup ordering when some dependancies and the container are already running" +do_test bundle-order-stop "Bundle stop ordering" +do_test bundle-order-partial-stop "Bundle startup ordering when some dependancies are already stopped" + echo "" do_test whitebox-fail1 "Fail whitebox container rsc." do_test whitebox-fail2 "Fail whitebox container rsc lrmd connection." do_test whitebox-fail3 "Failed containers should not run nested on remote nodes." do_test whitebox-start "Start whitebox container with resources assigned to it" do_test whitebox-stop "Stop whitebox container with resources assigned to it" do_test whitebox-move "Move whitebox container with resources assigned to it" do_test whitebox-asymmetric "Verify connection rsc opts-in based on container resource" do_test whitebox-ms-ordering "Verify promote/demote can not occur before connection is established" do_test whitebox-ms-ordering-move "Stop/Start cycle within a moving container" do_test whitebox-orphaned "Properly shutdown orphaned whitebox container" do_test whitebox-orphan-ms "Properly tear down orphan ms resources on remote-nodes" do_test whitebox-unexpectedly-running "Recover container nodes the cluster did not start." do_test whitebox-migrate1 "Migrate both container and connection resource" do_test whitebox-imply-stop-on-fence "imply stop action on container node rsc when host node is fenced" do_test whitebox-nested-group "Verify guest remote-node works nested in a group" do_test guest-node-host-dies "Verify guest node is recovered if host goes away" echo "" do_test remote-startup-probes "Baremetal remote-node startup probes" do_test remote-startup "Startup a newly discovered remote-nodes with no status." do_test remote-fence-unclean "Fence unclean baremetal remote-node" do_test remote-fence-unclean2 "Fence baremetal remote-node after cluster node fails and connection can not be recovered" do_test remote-move "Move remote-node connection resource" do_test remote-disable "Disable a baremetal remote-node" do_test remote-probe-disable "Probe then stop a baremetal remote-node" do_test remote-orphaned "Properly shutdown orphaned connection resource" do_test remote-orphaned2 "verify we can handle orphaned remote connections with active resources on the remote" do_test remote-recover "Recover connection resource after cluster-node fails." do_test remote-stale-node-entry "Make sure we properly handle leftover remote-node entries in the node section" do_test remote-partial-migrate "Make sure partial migrations are handled before ops on the remote node." do_test remote-partial-migrate2 "Make sure partial migration target is prefered for remote connection." do_test remote-recover-fail "Make sure start failure causes fencing if rsc are active on remote." do_test remote-start-fail "Make sure a start failure does not result in fencing if no active resources are on remote." do_test remote-unclean2 "Make monitor failure always results in fencing, even if no rsc are active on remote." do_test remote-fence-before-reconnect "Fence before clearing recurring monitor failure" do_test remote-recovery "Recover remote connections before attempting demotion" do_test remote-recover-connection "Optimistically recovery of only the connection" do_test remote-recover-all "Fencing when the connection has no home" do_test remote-recover-no-resources "Fencing when the connection has no home and no active resources" do_test remote-recover-unknown "Fencing when the connection has no home and the remote has no operation history" echo "" do_test resource-discovery "Exercises resource-discovery location constraint option." do_test rsc-discovery-per-node "Disable resource discovery per node" echo "" do_test isolation-start-all "Start docker isolated resources." do_test isolation-restart-all "Restart docker isolated resources." do_test isolation-clone "Cloned isolated primitive." echo "" do_test versioned-resources "Start resources with #ra-version rules" do_test restart-versioned "Restart resources on #ra-version change" do_test reload-versioned "Reload resources on #ra-version change" echo "" do_test versioned-operations-1 "Use #ra-version to configure operations of native resources" do_test versioned-operations-2 "Use #ra-version to configure operations of stonith resources" do_test versioned-operations-3 "Use #ra-version to configure operations of master/slave resources" do_test versioned-operations-4 "Use #ra-version to configure operations of groups of the resources" echo "" test_results diff --git a/pengine/test10/bundle-order-partial-start-2.dot b/pengine/test10/bundle-order-partial-start-2.dot new file mode 100644 index 0000000000..59a8b159d3 --- /dev/null +++ b/pengine/test10/bundle-order-partial-start-2.dot @@ -0,0 +1,51 @@ +digraph "g" { +"galera-bundle-master_running_0" -> "galera-bundle_running_0" [ style = bold] +"galera-bundle-master_running_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_start_0" -> "galera-bundle-master_running_0" [ style = bold] +"galera-bundle-master_start_0" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_start_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_start_0" -> "galera-bundle-master_start_0" [ style = bold] +"galera-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"galera:0_monitor_20000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera:0_monitor_30000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera:0_start_0 galera-bundle-0" -> "galera-bundle-master_running_0" [ style = bold] +"galera:0_start_0 galera-bundle-0" -> "galera:0_monitor_20000 galera-bundle-0" [ style = bold] +"galera:0_start_0 galera-bundle-0" -> "galera:0_monitor_30000 galera-bundle-0" [ style = bold] +"galera:0_start_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_monitor_0 undercloud" -> "haproxy-bundle-docker-0_start_0 undercloud" [ style = bold] +"haproxy-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_start_0 undercloud" -> "haproxy-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"haproxy-bundle-docker-0_start_0 undercloud" -> "haproxy-bundle_running_0" [ style = bold] +"haproxy-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle_running_0" -> "galera-bundle_start_0" [ style = bold] +"haproxy-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"haproxy-bundle_start_0" -> "haproxy-bundle-docker-0_start_0 undercloud" [ style = bold] +"haproxy-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_running_0" -> "rabbitmq-bundle_running_0" [ style = bold] +"rabbitmq-bundle-clone_running_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq-bundle-clone_running_0" [ style = bold] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq:0_start_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-clone_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_running_0" -> "galera-bundle_start_0" [ style = bold] +"rabbitmq-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_start_0" -> "rabbitmq-bundle-clone_start_0" [ style = bold] +"rabbitmq-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"rabbitmq:0_start_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_running_0" [ style = bold] +"rabbitmq:0_start_0 rabbitmq-bundle-0" -> "rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style = bold] +"rabbitmq:0_start_0 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis-bundle-master_promote_0" -> "redis_promote_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_promote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_promoted_0" -> "redis-bundle_promoted_0" [ style = bold] +"redis-bundle-master_promoted_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_promote_0" -> "redis-bundle-master_promote_0" [ style = bold] +"redis-bundle_promote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_promoted_0" -> "galera-bundle_start_0" [ style = bold] +"redis-bundle_promoted_0" [ style=bold color="green" fontcolor="orange"] +"redis_monitor_20000 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis_promote_0 redis-bundle-0" -> "redis-bundle-master_promoted_0" [ style = bold] +"redis_promote_0 redis-bundle-0" -> "redis_monitor_20000 redis-bundle-0" [ style = bold] +"redis_promote_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +} diff --git a/pengine/test10/bundle-order-partial-start-2.exp b/pengine/test10/bundle-order-partial-start-2.exp new file mode 100644 index 0000000000..621332c1ab --- /dev/null +++ b/pengine/test10/bundle-order-partial-start-2.exp @@ -0,0 +1,299 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-partial-start-2.scores b/pengine/test10/bundle-order-partial-start-2.scores new file mode 100644 index 0000000000..f5e86deb7b --- /dev/null +++ b/pengine/test10/bundle-order-partial-start-2.scores @@ -0,0 +1,197 @@ +Allocation scores: +clone_color: galera-bundle-master allocation score on galera-bundle-0: 0 +clone_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera-bundle-master allocation score on undercloud: -INFINITY +clone_color: galera:0 allocation score on galera-bundle-0: INFINITY +clone_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera:0 allocation score on undercloud: -INFINITY +clone_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +clone_color: rabbitmq-bundle-clone allocation score on undercloud: -INFINITY +clone_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +clone_color: rabbitmq:0 allocation score on undercloud: -INFINITY +clone_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on redis-bundle-0: 0 +clone_color: redis-bundle-master allocation score on undercloud: -INFINITY +clone_color: redis:0 allocation score on galera-bundle-0: -INFINITY +clone_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis:0 allocation score on redis-bundle-0: INFINITY +clone_color: redis:0 allocation score on undercloud: -INFINITY +container_color: galera-bundle allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle allocation score on undercloud: 0 +container_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on undercloud: 0 +container_color: galera:0 allocation score on galera-bundle-0: -INFINITY +container_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera:0 allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: openstack-cinder-volume allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on undercloud: 0 +container_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle allocation score on undercloud: 0 +container_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq-bundle-clone allocation score on undercloud: 0 +container_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq:0 allocation score on undercloud: 0 +container_color: redis-bundle allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle allocation score on undercloud: 0 +container_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on undercloud: 0 +container_color: redis:0 allocation score on galera-bundle-0: -INFINITY +container_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis:0 allocation score on redis-bundle-0: -INFINITY +container_color: redis:0 allocation score on undercloud: 0 +galera:0 promotion score on galera-bundle-0: -1 +native_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on undercloud: INFINITY +native_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: galera:0 allocation score on galera-bundle-0: INFINITY +native_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera:0 allocation score on undercloud: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.247 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.248 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.249 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.250 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.253 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.254 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on undercloud: INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +native_color: rabbitmq:0 allocation score on undercloud: -INFINITY +native_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on undercloud: INFINITY +native_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: redis:0 allocation score on galera-bundle-0: -INFINITY +native_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis:0 allocation score on redis-bundle-0: INFINITY +native_color: redis:0 allocation score on undercloud: -INFINITY +redis:0 promotion score on redis-bundle-0: 3000 diff --git a/pengine/test10/bundle-order-partial-start-2.summary b/pengine/test10/bundle-order-partial-start-2.summary new file mode 100644 index 0000000000..859ca25df3 --- /dev/null +++ b/pengine/test10/bundle-order-partial-start-2.summary @@ -0,0 +1,75 @@ + +Current cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Stopped undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Stopped undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Slave undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Stopped + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + +Transition Summary: + * Start rabbitmq:0 (rabbitmq-bundle-0) + * Start galera:0 (galera-bundle-0) + * Promote redis:0 (Slave -> Master redis-bundle-0) + * Start haproxy-bundle-docker-0 (undercloud) + +Executing cluster transition: + * Resource action: haproxy-bundle-docker-0 monitor on undercloud + * Pseudo action: haproxy-bundle_start_0 + * Pseudo action: redis-bundle_promote_0 + * Pseudo action: redis-bundle-master_promote_0 + * Pseudo action: rabbitmq-bundle_start_0 + * Resource action: redis promote on redis-bundle-0 + * Resource action: haproxy-bundle-docker-0 start on undercloud + * Pseudo action: haproxy-bundle_running_0 + * Pseudo action: redis-bundle-master_promoted_0 + * Pseudo action: rabbitmq-bundle-clone_start_0 + * Resource action: rabbitmq:0 start on rabbitmq-bundle-0 + * Resource action: redis monitor=20000 on redis-bundle-0 + * Resource action: haproxy-bundle-docker-0 monitor=60000 on undercloud + * Pseudo action: redis-bundle_promoted_0 + * Pseudo action: rabbitmq-bundle-clone_running_0 + * Pseudo action: rabbitmq-bundle_running_0 + * Resource action: rabbitmq:0 monitor=10000 on rabbitmq-bundle-0 + * Pseudo action: galera-bundle_start_0 + * Pseudo action: galera-bundle-master_start_0 + * Resource action: galera:0 start on galera-bundle-0 + * Pseudo action: galera-bundle-master_running_0 + * Pseudo action: galera-bundle_running_0 + * Resource action: galera:0 monitor=30000 on galera-bundle-0 + * Resource action: galera:0 monitor=20000 on galera-bundle-0 + +Revised cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Slave undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Master undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + diff --git a/pengine/test10/bundle-order-partial-start-2.xml b/pengine/test10/bundle-order-partial-start-2.xml new file mode 100644 index 0000000000..9c4d40c4c3 --- /dev/null +++ b/pengine/test10/bundle-order-partial-start-2.xml @@ -0,0 +1,387 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-partial-start.dot b/pengine/test10/bundle-order-partial-start.dot new file mode 100644 index 0000000000..06c3620d30 --- /dev/null +++ b/pengine/test10/bundle-order-partial-start.dot @@ -0,0 +1,65 @@ +digraph "g" { +"galera-bundle-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-0_start_0 undercloud" -> "galera-bundle-0_monitor_60000 undercloud" [ style = bold] +"galera-bundle-0_start_0 undercloud" -> "galera:0_monitor_20000 galera-bundle-0" [ style = bold] +"galera-bundle-0_start_0 undercloud" -> "galera:0_monitor_30000 galera-bundle-0" [ style = bold] +"galera-bundle-0_start_0 undercloud" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_monitor_0 undercloud" -> "galera-bundle-docker-0_start_0 undercloud" [ style = bold] +"galera-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_start_0 undercloud" -> "galera-bundle-0_start_0 undercloud" [ style = bold] +"galera-bundle-docker-0_start_0 undercloud" -> "galera-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"galera-bundle-docker-0_start_0 undercloud" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-master_running_0" -> "galera-bundle_running_0" [ style = bold] +"galera-bundle-master_running_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_start_0" -> "galera-bundle-master_running_0" [ style = bold] +"galera-bundle-master_start_0" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_start_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_start_0" -> "galera-bundle-docker-0_start_0 undercloud" [ style = bold] +"galera-bundle_start_0" -> "galera-bundle-master_start_0" [ style = bold] +"galera-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"galera:0_monitor_20000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera:0_monitor_30000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera:0_start_0 galera-bundle-0" -> "galera-bundle-master_running_0" [ style = bold] +"galera:0_start_0 galera-bundle-0" -> "galera:0_monitor_20000 galera-bundle-0" [ style = bold] +"galera:0_start_0 galera-bundle-0" -> "galera:0_monitor_30000 galera-bundle-0" [ style = bold] +"galera:0_start_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_monitor_0 undercloud" -> "haproxy-bundle-docker-0_start_0 undercloud" [ style = bold] +"haproxy-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_start_0 undercloud" -> "haproxy-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"haproxy-bundle-docker-0_start_0 undercloud" -> "haproxy-bundle_running_0" [ style = bold] +"haproxy-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle_running_0" -> "galera-bundle_start_0" [ style = bold] +"haproxy-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"haproxy-bundle_start_0" -> "haproxy-bundle-docker-0_start_0 undercloud" [ style = bold] +"haproxy-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_running_0" -> "rabbitmq-bundle_running_0" [ style = bold] +"rabbitmq-bundle-clone_running_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq-bundle-clone_running_0" [ style = bold] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq:0_start_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-clone_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_running_0" -> "galera-bundle_start_0" [ style = bold] +"rabbitmq-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_start_0" -> "rabbitmq-bundle-clone_start_0" [ style = bold] +"rabbitmq-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"rabbitmq:0_start_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_running_0" [ style = bold] +"rabbitmq:0_start_0 rabbitmq-bundle-0" -> "rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style = bold] +"rabbitmq:0_start_0 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis-bundle-master_promote_0" -> "redis_promote_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_promote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_promoted_0" -> "redis-bundle_promoted_0" [ style = bold] +"redis-bundle-master_promoted_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_promote_0" -> "redis-bundle-master_promote_0" [ style = bold] +"redis-bundle_promote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_promoted_0" -> "galera-bundle_start_0" [ style = bold] +"redis-bundle_promoted_0" [ style=bold color="green" fontcolor="orange"] +"redis_monitor_20000 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis_promote_0 redis-bundle-0" -> "redis-bundle-master_promoted_0" [ style = bold] +"redis_promote_0 redis-bundle-0" -> "redis_monitor_20000 redis-bundle-0" [ style = bold] +"redis_promote_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +} diff --git a/pengine/test10/bundle-order-partial-start.exp b/pengine/test10/bundle-order-partial-start.exp new file mode 100644 index 0000000000..b48bb033c8 --- /dev/null +++ b/pengine/test10/bundle-order-partial-start.exp @@ -0,0 +1,375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-partial-start.scores b/pengine/test10/bundle-order-partial-start.scores new file mode 100644 index 0000000000..ea702d074c --- /dev/null +++ b/pengine/test10/bundle-order-partial-start.scores @@ -0,0 +1,197 @@ +Allocation scores: +clone_color: galera-bundle-master allocation score on galera-bundle-0: 0 +clone_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera-bundle-master allocation score on undercloud: -INFINITY +clone_color: galera:0 allocation score on galera-bundle-0: INFINITY +clone_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera:0 allocation score on undercloud: -INFINITY +clone_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +clone_color: rabbitmq-bundle-clone allocation score on undercloud: -INFINITY +clone_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +clone_color: rabbitmq:0 allocation score on undercloud: -INFINITY +clone_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on redis-bundle-0: 0 +clone_color: redis-bundle-master allocation score on undercloud: -INFINITY +clone_color: redis:0 allocation score on galera-bundle-0: -INFINITY +clone_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis:0 allocation score on redis-bundle-0: INFINITY +clone_color: redis:0 allocation score on undercloud: -INFINITY +container_color: galera-bundle allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle allocation score on undercloud: 0 +container_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on undercloud: 0 +container_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on undercloud: 0 +container_color: galera-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on undercloud: 0 +container_color: galera:0 allocation score on galera-bundle-0: -INFINITY +container_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera:0 allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: openstack-cinder-volume allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on undercloud: 0 +container_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle allocation score on undercloud: 0 +container_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq-bundle-clone allocation score on undercloud: 0 +container_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq:0 allocation score on undercloud: 0 +container_color: redis-bundle allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle allocation score on undercloud: 0 +container_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on undercloud: 0 +container_color: redis:0 allocation score on galera-bundle-0: -INFINITY +container_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis:0 allocation score on redis-bundle-0: -INFINITY +container_color: redis:0 allocation score on undercloud: 0 +galera:0 promotion score on galera-bundle-0: -1 +native_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on undercloud: 10000 +native_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on undercloud: 0 +native_color: galera:0 allocation score on galera-bundle-0: INFINITY +native_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera:0 allocation score on undercloud: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.247 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.248 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.249 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.250 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.253 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.254 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on undercloud: INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +native_color: rabbitmq:0 allocation score on undercloud: -INFINITY +native_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on undercloud: INFINITY +native_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: redis:0 allocation score on galera-bundle-0: -INFINITY +native_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis:0 allocation score on redis-bundle-0: INFINITY +native_color: redis:0 allocation score on undercloud: -INFINITY +redis:0 promotion score on redis-bundle-0: 3000 diff --git a/pengine/test10/bundle-order-partial-start.summary b/pengine/test10/bundle-order-partial-start.summary new file mode 100644 index 0000000000..e56e55fa9e --- /dev/null +++ b/pengine/test10/bundle-order-partial-start.summary @@ -0,0 +1,82 @@ + +Current cluster status: +Online: [ undercloud ] +Containers: [ rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Stopped undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Stopped + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Slave undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Stopped + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + +Transition Summary: + * Start rabbitmq:0 (rabbitmq-bundle-0) + * Start galera-bundle-docker-0 (undercloud) + * Start galera-bundle-0 (undercloud) + * Start galera:0 (galera-bundle-0) + * Promote redis:0 (Slave -> Master redis-bundle-0) + * Start haproxy-bundle-docker-0 (undercloud) + +Executing cluster transition: + * Resource action: galera-bundle-docker-0 monitor on undercloud + * Resource action: haproxy-bundle-docker-0 monitor on undercloud + * Pseudo action: haproxy-bundle_start_0 + * Pseudo action: redis-bundle_promote_0 + * Pseudo action: redis-bundle-master_promote_0 + * Pseudo action: rabbitmq-bundle_start_0 + * Resource action: redis promote on redis-bundle-0 + * Resource action: haproxy-bundle-docker-0 start on undercloud + * Pseudo action: haproxy-bundle_running_0 + * Pseudo action: redis-bundle-master_promoted_0 + * Pseudo action: rabbitmq-bundle-clone_start_0 + * Resource action: rabbitmq:0 start on rabbitmq-bundle-0 + * Resource action: redis monitor=20000 on redis-bundle-0 + * Resource action: haproxy-bundle-docker-0 monitor=60000 on undercloud + * Pseudo action: redis-bundle_promoted_0 + * Pseudo action: rabbitmq-bundle-clone_running_0 + * Pseudo action: rabbitmq-bundle_running_0 + * Resource action: rabbitmq:0 monitor=10000 on rabbitmq-bundle-0 + * Pseudo action: galera-bundle_start_0 + * Resource action: galera-bundle-docker-0 start on undercloud + * Resource action: galera-bundle-0 start on undercloud + * Pseudo action: galera-bundle-master_start_0 + * Resource action: galera:0 start on galera-bundle-0 + * Resource action: galera-bundle-docker-0 monitor=60000 on undercloud + * Resource action: galera-bundle-0 monitor=60000 on undercloud + * Pseudo action: galera-bundle-master_running_0 + * Pseudo action: galera-bundle_running_0 + * Resource action: galera:0 monitor=30000 on galera-bundle-0 + * Resource action: galera:0 monitor=20000 on galera-bundle-0 + +Revised cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Slave undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Master undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + diff --git a/pengine/test10/bundle-order-partial-start.xml b/pengine/test10/bundle-order-partial-start.xml new file mode 100644 index 0000000000..907dbfb8f2 --- /dev/null +++ b/pengine/test10/bundle-order-partial-start.xml @@ -0,0 +1,379 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-partial-stop.dot b/pengine/test10/bundle-order-partial-stop.dot new file mode 100644 index 0000000000..235b634585 --- /dev/null +++ b/pengine/test10/bundle-order-partial-stop.dot @@ -0,0 +1,194 @@ +digraph "g" { +"Cancel galera_monitor_10000 galera-bundle-0" -> "galera_demote_0 galera-bundle-0" [ style = bold] +"Cancel galera_monitor_10000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"Cancel redis_monitor_20000 redis-bundle-0" -> "redis_demote_0 redis-bundle-0" [ style = bold] +"Cancel redis_monitor_20000 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"all_stopped" [ style=bold color="green" fontcolor="orange"] +"do_shutdown undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"galera-bundle-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"galera-bundle-0_stop_0 undercloud" -> "galera-bundle-docker-0_stop_0 undercloud" [ style = bold] +"galera-bundle-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"galera-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"galera-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-master_demote_0" -> "galera-bundle-master_demoted_0" [ style = bold] +"galera-bundle-master_demote_0" -> "galera_demote_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_demote_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_demoted_0" -> "galera-bundle-master_start_0" [ style = dashed] +"galera-bundle-master_demoted_0" -> "galera-bundle-master_stop_0" [ style = bold] +"galera-bundle-master_demoted_0" -> "galera-bundle_demoted_0" [ style = bold] +"galera-bundle-master_demoted_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_running_0" [ style=dashed color="red" fontcolor="orange"] +"galera-bundle-master_start_0" -> "galera-bundle-master_running_0" [ style = dashed] +"galera-bundle-master_start_0" -> "galera_start_0 galera-bundle-0" [ style = dashed] +"galera-bundle-master_start_0" [ style=dashed color="red" fontcolor="orange"] +"galera-bundle-master_stop_0" -> "galera-bundle-master_stopped_0" [ style = bold] +"galera-bundle-master_stop_0" -> "galera_stop_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_stop_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_stopped_0" -> "galera-bundle-master_start_0" [ style = dashed] +"galera-bundle-master_stopped_0" -> "galera-bundle_stopped_0" [ style = bold] +"galera-bundle-master_stopped_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_demote_0" -> "galera-bundle-master_demote_0" [ style = bold] +"galera-bundle_demote_0" -> "galera-bundle_demoted_0" [ style = bold] +"galera-bundle_demote_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_demoted_0" -> "galera-bundle_stop_0" [ style = bold] +"galera-bundle_demoted_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_stop_0" -> "galera-bundle-master_stop_0" [ style = bold] +"galera-bundle_stop_0" -> "galera_stop_0 galera-bundle-0" [ style = bold] +"galera-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_stopped_0" -> "redis-bundle_stop_0" [ style = bold] +"galera-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"galera_demote_0 galera-bundle-0" -> "galera-bundle-0_stop_0 undercloud" [ style = bold] +"galera_demote_0 galera-bundle-0" -> "galera-bundle-master_demoted_0" [ style = bold] +"galera_demote_0 galera-bundle-0" -> "galera_monitor_20000 galera-bundle-0" [ style = dashed] +"galera_demote_0 galera-bundle-0" -> "galera_monitor_30000 galera-bundle-0" [ style = dashed] +"galera_demote_0 galera-bundle-0" -> "galera_stop_0 galera-bundle-0" [ style = bold] +"galera_demote_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera_monitor_20000 galera-bundle-0" [ style=dashed color="red" fontcolor="black"] +"galera_monitor_30000 galera-bundle-0" [ style=dashed color="red" fontcolor="black"] +"galera_start_0 galera-bundle-0" -> "galera-bundle-master_running_0" [ style = dashed] +"galera_start_0 galera-bundle-0" -> "galera_monitor_20000 galera-bundle-0" [ style = dashed] +"galera_start_0 galera-bundle-0" -> "galera_monitor_30000 galera-bundle-0" [ style = dashed] +"galera_start_0 galera-bundle-0" [ style=dashed color="red" fontcolor="black"] +"galera_stop_0 galera-bundle-0" -> "all_stopped" [ style = bold] +"galera_stop_0 galera-bundle-0" -> "galera-bundle-0_stop_0 undercloud" [ style = bold] +"galera_stop_0 galera-bundle-0" -> "galera-bundle-master_stopped_0" [ style = bold] +"galera_stop_0 galera-bundle-0" -> "galera_start_0 galera-bundle-0" [ style = dashed] +"galera_stop_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"haproxy-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"haproxy-bundle-docker-0_stop_0 undercloud" -> "haproxy-bundle_stopped_0" [ style = bold] +"haproxy-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle_stop_0" -> "haproxy-bundle-docker-0_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.247_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.248_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.249_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.250_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.253_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.254_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"ip-192.168.122.247_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.247_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.247_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.247_stop_0 undercloud" -> "ip-192.168.122.247_start_0 " [ style = dashed] +"ip-192.168.122.247_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.248_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.248_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.248_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.248_stop_0 undercloud" -> "ip-192.168.122.248_start_0 " [ style = dashed] +"ip-192.168.122.248_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.249_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.249_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.249_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.249_stop_0 undercloud" -> "ip-192.168.122.249_start_0 " [ style = dashed] +"ip-192.168.122.249_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.250_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.250_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.250_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.250_stop_0 undercloud" -> "ip-192.168.122.250_start_0 " [ style = dashed] +"ip-192.168.122.250_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.253_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.253_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.253_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.253_stop_0 undercloud" -> "ip-192.168.122.253_start_0 " [ style = dashed] +"ip-192.168.122.253_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.254_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.254_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.254_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.254_stop_0 undercloud" -> "ip-192.168.122.254_start_0 " [ style = dashed] +"ip-192.168.122.254_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"openstack-cinder-volume-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"openstack-cinder-volume-docker-0_stop_0 undercloud" -> "openstack-cinder-volume_stopped_0" [ style = bold] +"openstack-cinder-volume-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume_stop_0" -> "openstack-cinder-volume-docker-0_stop_0 undercloud" [ style = bold] +"openstack-cinder-volume_stop_0" [ style=bold color="green" fontcolor="orange"] +"openstack-cinder-volume_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"rabbitmq-bundle-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"rabbitmq-bundle-0_stop_0 undercloud" -> "rabbitmq-bundle-docker-0_stop_0 undercloud" [ style = bold] +"rabbitmq-bundle-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle-clone_running_0" [ style=dashed color="red" fontcolor="orange"] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq-bundle-clone_running_0" [ style = dashed] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq_start_0 rabbitmq-bundle-0" [ style = dashed] +"rabbitmq-bundle-clone_start_0" [ style=dashed color="red" fontcolor="orange"] +"rabbitmq-bundle-clone_stop_0" -> "rabbitmq-bundle-clone_stopped_0" [ style = bold] +"rabbitmq-bundle-clone_stop_0" -> "rabbitmq_stop_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-clone_stop_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_stopped_0" -> "rabbitmq-bundle-clone_start_0" [ style = dashed] +"rabbitmq-bundle-clone_stopped_0" -> "rabbitmq-bundle_stopped_0" [ style = bold] +"rabbitmq-bundle-clone_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"rabbitmq-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"rabbitmq-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle_stop_0" -> "rabbitmq-bundle-clone_stop_0" [ style = bold] +"rabbitmq-bundle_stop_0" -> "rabbitmq_stop_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq_monitor_10000 rabbitmq-bundle-0" [ style=dashed color="red" fontcolor="black"] +"rabbitmq_start_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_running_0" [ style = dashed] +"rabbitmq_start_0 rabbitmq-bundle-0" -> "rabbitmq_monitor_10000 rabbitmq-bundle-0" [ style = dashed] +"rabbitmq_start_0 rabbitmq-bundle-0" [ style=dashed color="red" fontcolor="black"] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "all_stopped" [ style = bold] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-0_stop_0 undercloud" [ style = bold] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_stopped_0" [ style = bold] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "rabbitmq_start_0 rabbitmq-bundle-0" [ style = dashed] +"rabbitmq_stop_0 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis-bundle-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"redis-bundle-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"redis-bundle-0_stop_0 undercloud" -> "redis-bundle-docker-0_stop_0 undercloud" [ style = bold] +"redis-bundle-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"redis-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"redis-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-master_demote_0" -> "redis-bundle-master_demoted_0" [ style = bold] +"redis-bundle-master_demote_0" -> "redis_demote_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_demote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_demoted_0" -> "redis-bundle-master_start_0" [ style = dashed] +"redis-bundle-master_demoted_0" -> "redis-bundle-master_stop_0" [ style = bold] +"redis-bundle-master_demoted_0" -> "redis-bundle_demoted_0" [ style = bold] +"redis-bundle-master_demoted_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_running_0" [ style=dashed color="red" fontcolor="orange"] +"redis-bundle-master_start_0" -> "redis-bundle-master_running_0" [ style = dashed] +"redis-bundle-master_start_0" -> "redis_start_0 redis-bundle-0" [ style = dashed] +"redis-bundle-master_start_0" [ style=dashed color="red" fontcolor="orange"] +"redis-bundle-master_stop_0" -> "redis-bundle-master_stopped_0" [ style = bold] +"redis-bundle-master_stop_0" -> "redis_stop_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_stop_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_stopped_0" -> "redis-bundle-master_start_0" [ style = dashed] +"redis-bundle-master_stopped_0" -> "redis-bundle_stopped_0" [ style = bold] +"redis-bundle-master_stopped_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_demote_0" -> "redis-bundle-master_demote_0" [ style = bold] +"redis-bundle_demote_0" -> "redis-bundle_demoted_0" [ style = bold] +"redis-bundle_demote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_demoted_0" -> "redis-bundle_start_0" [ style = bold] +"redis-bundle_demoted_0" -> "redis-bundle_stop_0" [ style = bold] +"redis-bundle_demoted_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_start_0" -> "redis-bundle-master_start_0" [ style = dashed] +"redis-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_stop_0" -> "redis-bundle-master_stop_0" [ style = bold] +"redis-bundle_stop_0" -> "redis_stop_0 redis-bundle-0" [ style = bold] +"redis-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_stopped_0" -> "haproxy-bundle_stop_0" [ style = bold] +"redis-bundle_stopped_0" -> "redis-bundle_start_0" [ style = bold] +"redis-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"redis_demote_0 redis-bundle-0" -> "redis-bundle-0_stop_0 undercloud" [ style = bold] +"redis_demote_0 redis-bundle-0" -> "redis-bundle-master_demoted_0" [ style = bold] +"redis_demote_0 redis-bundle-0" -> "redis_monitor_45000 redis-bundle-0" [ style = dashed] +"redis_demote_0 redis-bundle-0" -> "redis_monitor_60000 redis-bundle-0" [ style = dashed] +"redis_demote_0 redis-bundle-0" -> "redis_stop_0 redis-bundle-0" [ style = bold] +"redis_demote_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis_monitor_45000 redis-bundle-0" [ style=dashed color="red" fontcolor="black"] +"redis_monitor_60000 redis-bundle-0" [ style=dashed color="red" fontcolor="black"] +"redis_start_0 redis-bundle-0" -> "redis-bundle-master_running_0" [ style = dashed] +"redis_start_0 redis-bundle-0" -> "redis_monitor_45000 redis-bundle-0" [ style = dashed] +"redis_start_0 redis-bundle-0" -> "redis_monitor_60000 redis-bundle-0" [ style = dashed] +"redis_start_0 redis-bundle-0" [ style=dashed color="red" fontcolor="black"] +"redis_stop_0 redis-bundle-0" -> "all_stopped" [ style = bold] +"redis_stop_0 redis-bundle-0" -> "redis-bundle-0_stop_0 undercloud" [ style = bold] +"redis_stop_0 redis-bundle-0" -> "redis-bundle-master_stopped_0" [ style = bold] +"redis_stop_0 redis-bundle-0" -> "redis_start_0 redis-bundle-0" [ style = dashed] +"redis_stop_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +} diff --git a/pengine/test10/bundle-order-partial-stop.exp b/pengine/test10/bundle-order-partial-stop.exp new file mode 100644 index 0000000000..d0854331d8 --- /dev/null +++ b/pengine/test10/bundle-order-partial-stop.exp @@ -0,0 +1,734 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-partial-stop.scores b/pengine/test10/bundle-order-partial-stop.scores new file mode 100644 index 0000000000..a662f42a24 --- /dev/null +++ b/pengine/test10/bundle-order-partial-stop.scores @@ -0,0 +1,199 @@ +Allocation scores: +clone_color: galera-bundle-master allocation score on galera-bundle-0: 0 +clone_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera-bundle-master allocation score on undercloud: -INFINITY +clone_color: galera:0 allocation score on galera-bundle-0: INFINITY +clone_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera:0 allocation score on undercloud: -INFINITY +clone_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +clone_color: rabbitmq-bundle-clone allocation score on undercloud: -INFINITY +clone_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +clone_color: rabbitmq:0 allocation score on undercloud: -INFINITY +clone_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on redis-bundle-0: 0 +clone_color: redis-bundle-master allocation score on undercloud: -INFINITY +clone_color: redis:0 allocation score on galera-bundle-0: -INFINITY +clone_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis:0 allocation score on redis-bundle-0: INFINITY +clone_color: redis:0 allocation score on undercloud: -INFINITY +container_color: galera-bundle allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle allocation score on undercloud: 0 +container_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on undercloud: 0 +container_color: galera:0 allocation score on galera-bundle-0: -INFINITY +container_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera:0 allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: openstack-cinder-volume allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on undercloud: 0 +container_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle allocation score on undercloud: 0 +container_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq-bundle-clone allocation score on undercloud: 0 +container_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +container_color: rabbitmq:0 allocation score on undercloud: 0 +container_color: redis-bundle allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle allocation score on undercloud: 0 +container_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on undercloud: 0 +container_color: redis:0 allocation score on galera-bundle-0: -INFINITY +container_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis:0 allocation score on redis-bundle-0: -INFINITY +container_color: redis:0 allocation score on undercloud: 0 +galera:0 promotion score on galera-bundle-0: 100 +native_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on undercloud: INFINITY +native_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: galera:0 allocation score on galera-bundle-0: INFINITY +native_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera:0 allocation score on undercloud: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.247 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.248 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.249 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.250 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.253 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.254 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on undercloud: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on undercloud: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +native_color: rabbitmq:0 allocation score on undercloud: -INFINITY +native_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on undercloud: INFINITY +native_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: redis:0 allocation score on galera-bundle-0: -INFINITY +native_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis:0 allocation score on redis-bundle-0: INFINITY +native_color: redis:0 allocation score on undercloud: -INFINITY +redis:0 promotion score on redis-bundle-0: 1 diff --git a/pengine/test10/bundle-order-partial-stop.summary b/pengine/test10/bundle-order-partial-stop.summary new file mode 100644 index 0000000000..bd6f937515 --- /dev/null +++ b/pengine/test10/bundle-order-partial-stop.summary @@ -0,0 +1,114 @@ + +Current cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Master undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Master undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + +Transition Summary: + * Shutdown undercloud + * Stop rabbitmq-bundle-docker-0 (undercloud) + * Stop rabbitmq-bundle-0 (undercloud) + * Stop rabbitmq:0 (Started rabbitmq-bundle-0) + * Stop galera-bundle-docker-0 (undercloud) + * Stop galera-bundle-0 (undercloud) + * Demote galera:0 (Master -> Slave galera-bundle-0) + * Restart galera:0 (Slave galera-bundle-0) + * Stop redis-bundle-docker-0 (undercloud) + * Stop redis-bundle-0 (undercloud) + * Demote redis:0 (Master -> Slave redis-bundle-0) + * Restart redis:0 (Slave redis-bundle-0) + * Stop ip-192.168.122.254 (undercloud) + * Stop ip-192.168.122.250 (undercloud) + * Stop ip-192.168.122.249 (undercloud) + * Stop ip-192.168.122.253 (undercloud) + * Stop ip-192.168.122.247 (undercloud) + * Stop ip-192.168.122.248 (undercloud) + * Stop haproxy-bundle-docker-0 (undercloud) + * Stop openstack-cinder-volume-docker-0 (undercloud) + +Executing cluster transition: + * Resource action: galera cancel=10000 on galera-bundle-0 + * Resource action: redis cancel=20000 on redis-bundle-0 + * Pseudo action: openstack-cinder-volume_stop_0 + * Pseudo action: redis-bundle_demote_0 + * Pseudo action: redis-bundle-master_demote_0 + * Pseudo action: galera-bundle_demote_0 + * Pseudo action: galera-bundle-master_demote_0 + * Pseudo action: rabbitmq-bundle_stop_0 + * Resource action: galera demote on galera-bundle-0 + * Resource action: redis demote on redis-bundle-0 + * Resource action: openstack-cinder-volume-docker-0 stop on undercloud + * Pseudo action: openstack-cinder-volume_stopped_0 + * Pseudo action: redis-bundle-master_demoted_0 + * Pseudo action: galera-bundle-master_demoted_0 + * Pseudo action: rabbitmq-bundle-clone_stop_0 + * Resource action: rabbitmq stop on rabbitmq-bundle-0 + * Resource action: rabbitmq-bundle-0 stop on undercloud + * Pseudo action: redis-bundle_demoted_0 + * Pseudo action: galera-bundle_demoted_0 + * Pseudo action: galera-bundle_stop_0 + * Pseudo action: rabbitmq-bundle-clone_stopped_0 + * Pseudo action: rabbitmq-bundle_stopped_0 + * Resource action: rabbitmq-bundle-docker-0 stop on undercloud + * Pseudo action: galera-bundle-master_stop_0 + * Resource action: galera stop on galera-bundle-0 + * Resource action: galera-bundle-0 stop on undercloud + * Pseudo action: galera-bundle-master_stopped_0 + * Pseudo action: galera-bundle_stopped_0 + * Resource action: galera-bundle-docker-0 stop on undercloud + * Pseudo action: redis-bundle_stop_0 + * Pseudo action: redis-bundle-master_stop_0 + * Resource action: redis stop on redis-bundle-0 + * Resource action: redis-bundle-0 stop on undercloud + * Pseudo action: redis-bundle-master_stopped_0 + * Pseudo action: redis-bundle_stopped_0 + * Pseudo action: redis-bundle_start_0 + * Resource action: redis-bundle-docker-0 stop on undercloud + * Pseudo action: haproxy-bundle_stop_0 + * Resource action: haproxy-bundle-docker-0 stop on undercloud + * Pseudo action: haproxy-bundle_stopped_0 + * Resource action: ip-192.168.122.254 stop on undercloud + * Resource action: ip-192.168.122.250 stop on undercloud + * Resource action: ip-192.168.122.249 stop on undercloud + * Resource action: ip-192.168.122.253 stop on undercloud + * Resource action: ip-192.168.122.247 stop on undercloud + * Resource action: ip-192.168.122.248 stop on undercloud + * Cluster action: do_shutdown on undercloud + * Pseudo action: all_stopped + +Revised cluster status: +Online: [ undercloud ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Stopped + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Stopped + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Stopped + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Stopped + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Stopped + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Stopped + diff --git a/pengine/test10/bundle-order-partial-stop.xml b/pengine/test10/bundle-order-partial-stop.xml new file mode 100644 index 0000000000..467082a44d --- /dev/null +++ b/pengine/test10/bundle-order-partial-stop.xml @@ -0,0 +1,421 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-partial.dot b/pengine/test10/bundle-order-partial.dot new file mode 100644 index 0000000000..4b30191d46 --- /dev/null +++ b/pengine/test10/bundle-order-partial.dot @@ -0,0 +1,2 @@ +digraph "g" { +} diff --git a/pengine/test10/bundle-order-partial.exp b/pengine/test10/bundle-order-partial.exp new file mode 100644 index 0000000000..56e315ff01 --- /dev/null +++ b/pengine/test10/bundle-order-partial.exp @@ -0,0 +1 @@ + diff --git a/pengine/test10/bundle-order-partial.scores b/pengine/test10/bundle-order-partial.scores new file mode 100644 index 0000000000..be91c96c9c --- /dev/null +++ b/pengine/test10/bundle-order-partial.scores @@ -0,0 +1,197 @@ +Allocation scores: +clone_color: galera-bundle-master allocation score on galera-bundle-0: 0 +clone_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera-bundle-master allocation score on undercloud: -INFINITY +clone_color: galera:0 allocation score on galera-bundle-0: INFINITY +clone_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera:0 allocation score on undercloud: -INFINITY +clone_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +clone_color: rabbitmq-bundle-clone allocation score on undercloud: -INFINITY +clone_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +clone_color: rabbitmq:0 allocation score on undercloud: -INFINITY +clone_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on redis-bundle-0: 0 +clone_color: redis-bundle-master allocation score on undercloud: -INFINITY +clone_color: redis:0 allocation score on galera-bundle-0: -INFINITY +clone_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis:0 allocation score on redis-bundle-0: INFINITY +clone_color: redis:0 allocation score on undercloud: -INFINITY +container_color: galera-bundle allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle allocation score on undercloud: 0 +container_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on undercloud: 0 +container_color: galera:0 allocation score on galera-bundle-0: -INFINITY +container_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera:0 allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: openstack-cinder-volume allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on undercloud: 0 +container_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle allocation score on undercloud: 0 +container_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq-bundle-clone allocation score on undercloud: 0 +container_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +container_color: rabbitmq:0 allocation score on undercloud: 0 +container_color: redis-bundle allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle allocation score on undercloud: 0 +container_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on undercloud: 0 +container_color: redis:0 allocation score on galera-bundle-0: -INFINITY +container_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis:0 allocation score on redis-bundle-0: -INFINITY +container_color: redis:0 allocation score on undercloud: 0 +galera:0 promotion score on galera-bundle-0: 100 +native_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on undercloud: INFINITY +native_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: galera:0 allocation score on galera-bundle-0: INFINITY +native_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera:0 allocation score on undercloud: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.247 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.248 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.249 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.250 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.253 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on undercloud: INFINITY +native_color: ip-192.168.122.254 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on undercloud: INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +native_color: rabbitmq:0 allocation score on undercloud: -INFINITY +native_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on undercloud: INFINITY +native_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +native_color: redis:0 allocation score on galera-bundle-0: -INFINITY +native_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis:0 allocation score on redis-bundle-0: INFINITY +native_color: redis:0 allocation score on undercloud: -INFINITY +redis:0 promotion score on redis-bundle-0: 1 diff --git a/pengine/test10/bundle-order-partial.summary b/pengine/test10/bundle-order-partial.summary new file mode 100644 index 0000000000..61552305b9 --- /dev/null +++ b/pengine/test10/bundle-order-partial.summary @@ -0,0 +1,47 @@ + +Current cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Master undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Master undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + +Transition Summary: + +Executing cluster transition: + +Revised cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Master undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Master undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + diff --git a/pengine/test10/bundle-order-partial.xml b/pengine/test10/bundle-order-partial.xml new file mode 100644 index 0000000000..eda20bbfbb --- /dev/null +++ b/pengine/test10/bundle-order-partial.xml @@ -0,0 +1,421 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-startup.dot b/pengine/test10/bundle-order-startup.dot new file mode 100644 index 0000000000..73947a569f --- /dev/null +++ b/pengine/test10/bundle-order-startup.dot @@ -0,0 +1,139 @@ +digraph "g" { +"galera-bundle-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-0_start_0 undercloud" -> "galera-bundle-0_monitor_60000 undercloud" [ style = bold] +"galera-bundle-0_start_0 undercloud" -> "galera:0_monitor_20000 galera-bundle-0" [ style = bold] +"galera-bundle-0_start_0 undercloud" -> "galera:0_monitor_30000 galera-bundle-0" [ style = bold] +"galera-bundle-0_start_0 undercloud" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_monitor_0 undercloud" -> "galera-bundle-docker-0_start_0 undercloud" [ style = bold] +"galera-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_start_0 undercloud" -> "galera-bundle-0_start_0 undercloud" [ style = bold] +"galera-bundle-docker-0_start_0 undercloud" -> "galera-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"galera-bundle-docker-0_start_0 undercloud" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-master_running_0" -> "galera-bundle_running_0" [ style = bold] +"galera-bundle-master_running_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_start_0" -> "galera-bundle-master_running_0" [ style = bold] +"galera-bundle-master_start_0" -> "galera:0_start_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_start_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_start_0" -> "galera-bundle-docker-0_start_0 undercloud" [ style = bold] +"galera-bundle_start_0" -> "galera-bundle-master_start_0" [ style = bold] +"galera-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"galera:0_monitor_20000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera:0_monitor_30000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera:0_start_0 galera-bundle-0" -> "galera-bundle-master_running_0" [ style = bold] +"galera:0_start_0 galera-bundle-0" -> "galera:0_monitor_20000 galera-bundle-0" [ style = bold] +"galera:0_start_0 galera-bundle-0" -> "galera:0_monitor_30000 galera-bundle-0" [ style = bold] +"galera:0_start_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_monitor_0 undercloud" -> "haproxy-bundle-docker-0_start_0 undercloud" [ style = bold] +"haproxy-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_start_0 undercloud" -> "haproxy-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"haproxy-bundle-docker-0_start_0 undercloud" -> "haproxy-bundle_running_0" [ style = bold] +"haproxy-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle_running_0" -> "redis-bundle_start_0" [ style = bold] +"haproxy-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"haproxy-bundle_start_0" -> "haproxy-bundle-docker-0_start_0 undercloud" [ style = bold] +"haproxy-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"ip-192.168.122.247_monitor_0 undercloud" -> "ip-192.168.122.247_start_0 undercloud" [ style = bold] +"ip-192.168.122.247_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.247_monitor_10000 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.247_start_0 undercloud" -> "haproxy-bundle_start_0" [ style = bold] +"ip-192.168.122.247_start_0 undercloud" -> "ip-192.168.122.247_monitor_10000 undercloud" [ style = bold] +"ip-192.168.122.247_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.248_monitor_0 undercloud" -> "ip-192.168.122.248_start_0 undercloud" [ style = bold] +"ip-192.168.122.248_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.248_monitor_10000 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.248_start_0 undercloud" -> "haproxy-bundle_start_0" [ style = bold] +"ip-192.168.122.248_start_0 undercloud" -> "ip-192.168.122.248_monitor_10000 undercloud" [ style = bold] +"ip-192.168.122.248_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.249_monitor_0 undercloud" -> "ip-192.168.122.249_start_0 undercloud" [ style = bold] +"ip-192.168.122.249_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.249_monitor_10000 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.249_start_0 undercloud" -> "haproxy-bundle_start_0" [ style = bold] +"ip-192.168.122.249_start_0 undercloud" -> "ip-192.168.122.249_monitor_10000 undercloud" [ style = bold] +"ip-192.168.122.249_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.250_monitor_0 undercloud" -> "ip-192.168.122.250_start_0 undercloud" [ style = bold] +"ip-192.168.122.250_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.250_monitor_10000 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.250_start_0 undercloud" -> "haproxy-bundle_start_0" [ style = bold] +"ip-192.168.122.250_start_0 undercloud" -> "ip-192.168.122.250_monitor_10000 undercloud" [ style = bold] +"ip-192.168.122.250_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.253_monitor_0 undercloud" -> "ip-192.168.122.253_start_0 undercloud" [ style = bold] +"ip-192.168.122.253_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.253_monitor_10000 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.253_start_0 undercloud" -> "haproxy-bundle_start_0" [ style = bold] +"ip-192.168.122.253_start_0 undercloud" -> "ip-192.168.122.253_monitor_10000 undercloud" [ style = bold] +"ip-192.168.122.253_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.254_monitor_0 undercloud" -> "ip-192.168.122.254_start_0 undercloud" [ style = bold] +"ip-192.168.122.254_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.254_monitor_10000 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.254_start_0 undercloud" -> "haproxy-bundle_start_0" [ style = bold] +"ip-192.168.122.254_start_0 undercloud" -> "ip-192.168.122.254_monitor_10000 undercloud" [ style = bold] +"ip-192.168.122.254_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume-docker-0_monitor_0 undercloud" -> "openstack-cinder-volume-docker-0_start_0 undercloud" [ style = bold] +"openstack-cinder-volume-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume-docker-0_start_0 undercloud" -> "openstack-cinder-volume-docker-0_monitor_60000 undercloud" [ style = bold] +"openstack-cinder-volume-docker-0_start_0 undercloud" -> "openstack-cinder-volume_running_0" [ style = bold] +"openstack-cinder-volume-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume_running_0" [ style=bold color="green" fontcolor="orange"] +"openstack-cinder-volume_start_0" -> "openstack-cinder-volume-docker-0_start_0 undercloud" [ style = bold] +"openstack-cinder-volume_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle-0_start_0 undercloud" -> "rabbitmq-bundle-0_monitor_60000 undercloud" [ style = bold] +"rabbitmq-bundle-0_start_0 undercloud" -> "rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-0_start_0 undercloud" -> "rabbitmq:0_start_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle-clone_running_0" -> "rabbitmq-bundle_running_0" [ style = bold] +"rabbitmq-bundle-clone_running_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq-bundle-clone_running_0" [ style = bold] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq:0_start_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-clone_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-docker-0_monitor_0 undercloud" -> "rabbitmq-bundle-docker-0_start_0 undercloud" [ style = bold] +"rabbitmq-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle-docker-0_start_0 undercloud" -> "rabbitmq-bundle-0_start_0 undercloud" [ style = bold] +"rabbitmq-bundle-docker-0_start_0 undercloud" -> "rabbitmq-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"rabbitmq-bundle-docker-0_start_0 undercloud" -> "rabbitmq:0_start_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_start_0" -> "rabbitmq-bundle-clone_start_0" [ style = bold] +"rabbitmq-bundle_start_0" -> "rabbitmq-bundle-docker-0_start_0 undercloud" [ style = bold] +"rabbitmq-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"rabbitmq:0_start_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_running_0" [ style = bold] +"rabbitmq:0_start_0 rabbitmq-bundle-0" -> "rabbitmq:0_monitor_10000 rabbitmq-bundle-0" [ style = bold] +"rabbitmq:0_start_0 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis-bundle-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-0_start_0 undercloud" -> "redis-bundle-0_monitor_60000 undercloud" [ style = bold] +"redis-bundle-0_start_0 undercloud" -> "redis:0_monitor_45000 redis-bundle-0" [ style = bold] +"redis-bundle-0_start_0 undercloud" -> "redis:0_monitor_60000 redis-bundle-0" [ style = bold] +"redis-bundle-0_start_0 undercloud" -> "redis:0_start_0 redis-bundle-0" [ style = bold] +"redis-bundle-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-docker-0_monitor_0 undercloud" -> "redis-bundle-docker-0_start_0 undercloud" [ style = bold] +"redis-bundle-docker-0_monitor_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-docker-0_monitor_60000 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-docker-0_start_0 undercloud" -> "redis-bundle-0_start_0 undercloud" [ style = bold] +"redis-bundle-docker-0_start_0 undercloud" -> "redis-bundle-docker-0_monitor_60000 undercloud" [ style = bold] +"redis-bundle-docker-0_start_0 undercloud" -> "redis:0_start_0 redis-bundle-0" [ style = bold] +"redis-bundle-docker-0_start_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-master_running_0" -> "redis-bundle_running_0" [ style = bold] +"redis-bundle-master_running_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_start_0" -> "redis-bundle-master_running_0" [ style = bold] +"redis-bundle-master_start_0" -> "redis:0_start_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_start_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_running_0" -> "galera-bundle_start_0" [ style = bold] +"redis-bundle_running_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_start_0" -> "redis-bundle-docker-0_start_0 undercloud" [ style = bold] +"redis-bundle_start_0" -> "redis-bundle-master_start_0" [ style = bold] +"redis-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"redis:0_monitor_45000 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis:0_monitor_60000 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis:0_start_0 redis-bundle-0" -> "redis-bundle-master_running_0" [ style = bold] +"redis:0_start_0 redis-bundle-0" -> "redis:0_monitor_45000 redis-bundle-0" [ style = bold] +"redis:0_start_0 redis-bundle-0" -> "redis:0_monitor_60000 redis-bundle-0" [ style = bold] +"redis:0_start_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +} diff --git a/pengine/test10/bundle-order-startup.exp b/pengine/test10/bundle-order-startup.exp new file mode 100644 index 0000000000..51d108d9dc --- /dev/null +++ b/pengine/test10/bundle-order-startup.exp @@ -0,0 +1,825 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-startup.scores b/pengine/test10/bundle-order-startup.scores new file mode 100644 index 0000000000..565b47e6b6 --- /dev/null +++ b/pengine/test10/bundle-order-startup.scores @@ -0,0 +1,197 @@ +Allocation scores: +clone_color: galera-bundle-master allocation score on galera-bundle-0: 0 +clone_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera-bundle-master allocation score on undercloud: -INFINITY +clone_color: galera:0 allocation score on galera-bundle-0: INFINITY +clone_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera:0 allocation score on undercloud: -INFINITY +clone_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +clone_color: rabbitmq-bundle-clone allocation score on undercloud: -INFINITY +clone_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +clone_color: rabbitmq:0 allocation score on undercloud: -INFINITY +clone_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on redis-bundle-0: 0 +clone_color: redis-bundle-master allocation score on undercloud: -INFINITY +clone_color: redis:0 allocation score on galera-bundle-0: -INFINITY +clone_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis:0 allocation score on redis-bundle-0: INFINITY +clone_color: redis:0 allocation score on undercloud: -INFINITY +container_color: galera-bundle allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle allocation score on undercloud: 0 +container_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on undercloud: 0 +container_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on undercloud: 0 +container_color: galera-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on undercloud: 0 +container_color: galera:0 allocation score on galera-bundle-0: -INFINITY +container_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera:0 allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +container_color: openstack-cinder-volume allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on undercloud: 0 +container_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on undercloud: 0 +container_color: rabbitmq-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle allocation score on undercloud: 0 +container_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-0 allocation score on undercloud: 0 +container_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq-bundle-clone allocation score on undercloud: 0 +container_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-docker-0 allocation score on undercloud: 0 +container_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq:0 allocation score on undercloud: 0 +container_color: redis-bundle allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle allocation score on undercloud: 0 +container_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on undercloud: 0 +container_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on undercloud: 0 +container_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on undercloud: 0 +container_color: redis:0 allocation score on galera-bundle-0: -INFINITY +container_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis:0 allocation score on redis-bundle-0: -INFINITY +container_color: redis:0 allocation score on undercloud: 0 +galera:0 promotion score on galera-bundle-0: -1 +native_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on undercloud: 10000 +native_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on undercloud: 0 +native_color: galera:0 allocation score on galera-bundle-0: INFINITY +native_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera:0 allocation score on undercloud: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on undercloud: 0 +native_color: ip-192.168.122.247 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on undercloud: 0 +native_color: ip-192.168.122.248 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on undercloud: 0 +native_color: ip-192.168.122.249 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on undercloud: 0 +native_color: ip-192.168.122.250 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on undercloud: 0 +native_color: ip-192.168.122.253 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on undercloud: 0 +native_color: ip-192.168.122.254 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on undercloud: 0 +native_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on undercloud: 0 +native_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on undercloud: 10000 +native_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on undercloud: 0 +native_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +native_color: rabbitmq:0 allocation score on undercloud: -INFINITY +native_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on undercloud: 10000 +native_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on undercloud: 0 +native_color: redis:0 allocation score on galera-bundle-0: -INFINITY +native_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis:0 allocation score on redis-bundle-0: INFINITY +native_color: redis:0 allocation score on undercloud: -INFINITY +redis:0 promotion score on redis-bundle-0: -1 diff --git a/pengine/test10/bundle-order-startup.summary b/pengine/test10/bundle-order-startup.summary new file mode 100644 index 0000000000..b5c2091d25 --- /dev/null +++ b/pengine/test10/bundle-order-startup.summary @@ -0,0 +1,126 @@ + +Current cluster status: +Online: [ undercloud ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Stopped + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Stopped + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Stopped + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Stopped + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Stopped + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Stopped + +Transition Summary: + * Start rabbitmq-bundle-docker-0 (undercloud) + * Start rabbitmq-bundle-0 (undercloud) + * Start rabbitmq:0 (rabbitmq-bundle-0) + * Start galera-bundle-docker-0 (undercloud) + * Start galera-bundle-0 (undercloud) + * Start galera:0 (galera-bundle-0) + * Start redis-bundle-docker-0 (undercloud) + * Start redis-bundle-0 (undercloud) + * Start redis:0 (redis-bundle-0) + * Start ip-192.168.122.254 (undercloud) + * Start ip-192.168.122.250 (undercloud) + * Start ip-192.168.122.249 (undercloud) + * Start ip-192.168.122.253 (undercloud) + * Start ip-192.168.122.247 (undercloud) + * Start ip-192.168.122.248 (undercloud) + * Start haproxy-bundle-docker-0 (undercloud) + * Start openstack-cinder-volume-docker-0 (undercloud) + +Executing cluster transition: + * Resource action: rabbitmq-bundle-docker-0 monitor on undercloud + * Resource action: galera-bundle-docker-0 monitor on undercloud + * Resource action: redis-bundle-docker-0 monitor on undercloud + * Resource action: ip-192.168.122.254 monitor on undercloud + * Resource action: ip-192.168.122.250 monitor on undercloud + * Resource action: ip-192.168.122.249 monitor on undercloud + * Resource action: ip-192.168.122.253 monitor on undercloud + * Resource action: ip-192.168.122.247 monitor on undercloud + * Resource action: ip-192.168.122.248 monitor on undercloud + * Resource action: haproxy-bundle-docker-0 monitor on undercloud + * Resource action: openstack-cinder-volume-docker-0 monitor on undercloud + * Pseudo action: openstack-cinder-volume_start_0 + * Pseudo action: rabbitmq-bundle_start_0 + * Resource action: rabbitmq-bundle-docker-0 start on undercloud + * Resource action: rabbitmq-bundle-0 start on undercloud + * Resource action: ip-192.168.122.254 start on undercloud + * Resource action: ip-192.168.122.250 start on undercloud + * Resource action: ip-192.168.122.249 start on undercloud + * Resource action: ip-192.168.122.253 start on undercloud + * Resource action: ip-192.168.122.247 start on undercloud + * Resource action: ip-192.168.122.248 start on undercloud + * Resource action: openstack-cinder-volume-docker-0 start on undercloud + * Pseudo action: openstack-cinder-volume_running_0 + * Pseudo action: haproxy-bundle_start_0 + * Pseudo action: rabbitmq-bundle-clone_start_0 + * Resource action: rabbitmq:0 start on rabbitmq-bundle-0 + * Resource action: rabbitmq-bundle-docker-0 monitor=60000 on undercloud + * Resource action: rabbitmq-bundle-0 monitor=60000 on undercloud + * Resource action: ip-192.168.122.254 monitor=10000 on undercloud + * Resource action: ip-192.168.122.250 monitor=10000 on undercloud + * Resource action: ip-192.168.122.249 monitor=10000 on undercloud + * Resource action: ip-192.168.122.253 monitor=10000 on undercloud + * Resource action: ip-192.168.122.247 monitor=10000 on undercloud + * Resource action: ip-192.168.122.248 monitor=10000 on undercloud + * Resource action: haproxy-bundle-docker-0 start on undercloud + * Resource action: openstack-cinder-volume-docker-0 monitor=60000 on undercloud + * Pseudo action: haproxy-bundle_running_0 + * Pseudo action: redis-bundle_start_0 + * Pseudo action: rabbitmq-bundle-clone_running_0 + * Pseudo action: rabbitmq-bundle_running_0 + * Resource action: rabbitmq:0 monitor=10000 on rabbitmq-bundle-0 + * Resource action: redis-bundle-docker-0 start on undercloud + * Resource action: redis-bundle-0 start on undercloud + * Resource action: haproxy-bundle-docker-0 monitor=60000 on undercloud + * Pseudo action: redis-bundle-master_start_0 + * Resource action: redis:0 start on redis-bundle-0 + * Resource action: redis-bundle-docker-0 monitor=60000 on undercloud + * Resource action: redis-bundle-0 monitor=60000 on undercloud + * Pseudo action: redis-bundle-master_running_0 + * Pseudo action: redis-bundle_running_0 + * Pseudo action: galera-bundle_start_0 + * Resource action: galera-bundle-docker-0 start on undercloud + * Resource action: galera-bundle-0 start on undercloud + * Resource action: redis:0 monitor=60000 on redis-bundle-0 + * Resource action: redis:0 monitor=45000 on redis-bundle-0 + * Pseudo action: galera-bundle-master_start_0 + * Resource action: galera:0 start on galera-bundle-0 + * Resource action: galera-bundle-docker-0 monitor=60000 on undercloud + * Resource action: galera-bundle-0 monitor=60000 on undercloud + * Pseudo action: galera-bundle-master_running_0 + * Pseudo action: galera-bundle_running_0 + * Resource action: galera:0 monitor=30000 on galera-bundle-0 + * Resource action: galera:0 monitor=20000 on galera-bundle-0 + +Revised cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Slave undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Slave undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + diff --git a/pengine/test10/bundle-order-startup.xml b/pengine/test10/bundle-order-startup.xml new file mode 100644 index 0000000000..3e2e8f6a41 --- /dev/null +++ b/pengine/test10/bundle-order-startup.xml @@ -0,0 +1,315 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-stop.dot b/pengine/test10/bundle-order-stop.dot new file mode 100644 index 0000000000..235b634585 --- /dev/null +++ b/pengine/test10/bundle-order-stop.dot @@ -0,0 +1,194 @@ +digraph "g" { +"Cancel galera_monitor_10000 galera-bundle-0" -> "galera_demote_0 galera-bundle-0" [ style = bold] +"Cancel galera_monitor_10000 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"Cancel redis_monitor_20000 redis-bundle-0" -> "redis_demote_0 redis-bundle-0" [ style = bold] +"Cancel redis_monitor_20000 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"all_stopped" [ style=bold color="green" fontcolor="orange"] +"do_shutdown undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"galera-bundle-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"galera-bundle-0_stop_0 undercloud" -> "galera-bundle-docker-0_stop_0 undercloud" [ style = bold] +"galera-bundle-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"galera-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"galera-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"galera-bundle-master_demote_0" -> "galera-bundle-master_demoted_0" [ style = bold] +"galera-bundle-master_demote_0" -> "galera_demote_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_demote_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_demoted_0" -> "galera-bundle-master_start_0" [ style = dashed] +"galera-bundle-master_demoted_0" -> "galera-bundle-master_stop_0" [ style = bold] +"galera-bundle-master_demoted_0" -> "galera-bundle_demoted_0" [ style = bold] +"galera-bundle-master_demoted_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_running_0" [ style=dashed color="red" fontcolor="orange"] +"galera-bundle-master_start_0" -> "galera-bundle-master_running_0" [ style = dashed] +"galera-bundle-master_start_0" -> "galera_start_0 galera-bundle-0" [ style = dashed] +"galera-bundle-master_start_0" [ style=dashed color="red" fontcolor="orange"] +"galera-bundle-master_stop_0" -> "galera-bundle-master_stopped_0" [ style = bold] +"galera-bundle-master_stop_0" -> "galera_stop_0 galera-bundle-0" [ style = bold] +"galera-bundle-master_stop_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle-master_stopped_0" -> "galera-bundle-master_start_0" [ style = dashed] +"galera-bundle-master_stopped_0" -> "galera-bundle_stopped_0" [ style = bold] +"galera-bundle-master_stopped_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_demote_0" -> "galera-bundle-master_demote_0" [ style = bold] +"galera-bundle_demote_0" -> "galera-bundle_demoted_0" [ style = bold] +"galera-bundle_demote_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_demoted_0" -> "galera-bundle_stop_0" [ style = bold] +"galera-bundle_demoted_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_stop_0" -> "galera-bundle-master_stop_0" [ style = bold] +"galera-bundle_stop_0" -> "galera_stop_0 galera-bundle-0" [ style = bold] +"galera-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"galera-bundle_stopped_0" -> "redis-bundle_stop_0" [ style = bold] +"galera-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"galera_demote_0 galera-bundle-0" -> "galera-bundle-0_stop_0 undercloud" [ style = bold] +"galera_demote_0 galera-bundle-0" -> "galera-bundle-master_demoted_0" [ style = bold] +"galera_demote_0 galera-bundle-0" -> "galera_monitor_20000 galera-bundle-0" [ style = dashed] +"galera_demote_0 galera-bundle-0" -> "galera_monitor_30000 galera-bundle-0" [ style = dashed] +"galera_demote_0 galera-bundle-0" -> "galera_stop_0 galera-bundle-0" [ style = bold] +"galera_demote_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"galera_monitor_20000 galera-bundle-0" [ style=dashed color="red" fontcolor="black"] +"galera_monitor_30000 galera-bundle-0" [ style=dashed color="red" fontcolor="black"] +"galera_start_0 galera-bundle-0" -> "galera-bundle-master_running_0" [ style = dashed] +"galera_start_0 galera-bundle-0" -> "galera_monitor_20000 galera-bundle-0" [ style = dashed] +"galera_start_0 galera-bundle-0" -> "galera_monitor_30000 galera-bundle-0" [ style = dashed] +"galera_start_0 galera-bundle-0" [ style=dashed color="red" fontcolor="black"] +"galera_stop_0 galera-bundle-0" -> "all_stopped" [ style = bold] +"galera_stop_0 galera-bundle-0" -> "galera-bundle-0_stop_0 undercloud" [ style = bold] +"galera_stop_0 galera-bundle-0" -> "galera-bundle-master_stopped_0" [ style = bold] +"galera_stop_0 galera-bundle-0" -> "galera_start_0 galera-bundle-0" [ style = dashed] +"galera_stop_0 galera-bundle-0" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"haproxy-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"haproxy-bundle-docker-0_stop_0 undercloud" -> "haproxy-bundle_stopped_0" [ style = bold] +"haproxy-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"haproxy-bundle_stop_0" -> "haproxy-bundle-docker-0_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.247_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.248_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.249_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.250_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.253_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" -> "ip-192.168.122.254_stop_0 undercloud" [ style = bold] +"haproxy-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"ip-192.168.122.247_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.247_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.247_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.247_stop_0 undercloud" -> "ip-192.168.122.247_start_0 " [ style = dashed] +"ip-192.168.122.247_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.248_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.248_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.248_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.248_stop_0 undercloud" -> "ip-192.168.122.248_start_0 " [ style = dashed] +"ip-192.168.122.248_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.249_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.249_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.249_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.249_stop_0 undercloud" -> "ip-192.168.122.249_start_0 " [ style = dashed] +"ip-192.168.122.249_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.250_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.250_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.250_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.250_stop_0 undercloud" -> "ip-192.168.122.250_start_0 " [ style = dashed] +"ip-192.168.122.250_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.253_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.253_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.253_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.253_stop_0 undercloud" -> "ip-192.168.122.253_start_0 " [ style = dashed] +"ip-192.168.122.253_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"ip-192.168.122.254_start_0 " [ style=dashed color="red" fontcolor="black"] +"ip-192.168.122.254_stop_0 undercloud" -> "all_stopped" [ style = bold] +"ip-192.168.122.254_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"ip-192.168.122.254_stop_0 undercloud" -> "ip-192.168.122.254_start_0 " [ style = dashed] +"ip-192.168.122.254_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"openstack-cinder-volume-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"openstack-cinder-volume-docker-0_stop_0 undercloud" -> "openstack-cinder-volume_stopped_0" [ style = bold] +"openstack-cinder-volume-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"openstack-cinder-volume_stop_0" -> "openstack-cinder-volume-docker-0_stop_0 undercloud" [ style = bold] +"openstack-cinder-volume_stop_0" [ style=bold color="green" fontcolor="orange"] +"openstack-cinder-volume_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"rabbitmq-bundle-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"rabbitmq-bundle-0_stop_0 undercloud" -> "rabbitmq-bundle-docker-0_stop_0 undercloud" [ style = bold] +"rabbitmq-bundle-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle-clone_running_0" [ style=dashed color="red" fontcolor="orange"] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq-bundle-clone_running_0" [ style = dashed] +"rabbitmq-bundle-clone_start_0" -> "rabbitmq_start_0 rabbitmq-bundle-0" [ style = dashed] +"rabbitmq-bundle-clone_start_0" [ style=dashed color="red" fontcolor="orange"] +"rabbitmq-bundle-clone_stop_0" -> "rabbitmq-bundle-clone_stopped_0" [ style = bold] +"rabbitmq-bundle-clone_stop_0" -> "rabbitmq_stop_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle-clone_stop_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-clone_stopped_0" -> "rabbitmq-bundle-clone_start_0" [ style = dashed] +"rabbitmq-bundle-clone_stopped_0" -> "rabbitmq-bundle_stopped_0" [ style = bold] +"rabbitmq-bundle-clone_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"rabbitmq-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"rabbitmq-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"rabbitmq-bundle_stop_0" -> "rabbitmq-bundle-clone_stop_0" [ style = bold] +"rabbitmq-bundle_stop_0" -> "rabbitmq_stop_0 rabbitmq-bundle-0" [ style = bold] +"rabbitmq-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rabbitmq_monitor_10000 rabbitmq-bundle-0" [ style=dashed color="red" fontcolor="black"] +"rabbitmq_start_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_running_0" [ style = dashed] +"rabbitmq_start_0 rabbitmq-bundle-0" -> "rabbitmq_monitor_10000 rabbitmq-bundle-0" [ style = dashed] +"rabbitmq_start_0 rabbitmq-bundle-0" [ style=dashed color="red" fontcolor="black"] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "all_stopped" [ style = bold] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-0_stop_0 undercloud" [ style = bold] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "rabbitmq-bundle-clone_stopped_0" [ style = bold] +"rabbitmq_stop_0 rabbitmq-bundle-0" -> "rabbitmq_start_0 rabbitmq-bundle-0" [ style = dashed] +"rabbitmq_stop_0 rabbitmq-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis-bundle-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"redis-bundle-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"redis-bundle-0_stop_0 undercloud" -> "redis-bundle-docker-0_stop_0 undercloud" [ style = bold] +"redis-bundle-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-docker-0_stop_0 undercloud" -> "all_stopped" [ style = bold] +"redis-bundle-docker-0_stop_0 undercloud" -> "do_shutdown undercloud" [ style = bold] +"redis-bundle-docker-0_stop_0 undercloud" [ style=bold color="green" fontcolor="black"] +"redis-bundle-master_demote_0" -> "redis-bundle-master_demoted_0" [ style = bold] +"redis-bundle-master_demote_0" -> "redis_demote_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_demote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_demoted_0" -> "redis-bundle-master_start_0" [ style = dashed] +"redis-bundle-master_demoted_0" -> "redis-bundle-master_stop_0" [ style = bold] +"redis-bundle-master_demoted_0" -> "redis-bundle_demoted_0" [ style = bold] +"redis-bundle-master_demoted_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_running_0" [ style=dashed color="red" fontcolor="orange"] +"redis-bundle-master_start_0" -> "redis-bundle-master_running_0" [ style = dashed] +"redis-bundle-master_start_0" -> "redis_start_0 redis-bundle-0" [ style = dashed] +"redis-bundle-master_start_0" [ style=dashed color="red" fontcolor="orange"] +"redis-bundle-master_stop_0" -> "redis-bundle-master_stopped_0" [ style = bold] +"redis-bundle-master_stop_0" -> "redis_stop_0 redis-bundle-0" [ style = bold] +"redis-bundle-master_stop_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle-master_stopped_0" -> "redis-bundle-master_start_0" [ style = dashed] +"redis-bundle-master_stopped_0" -> "redis-bundle_stopped_0" [ style = bold] +"redis-bundle-master_stopped_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_demote_0" -> "redis-bundle-master_demote_0" [ style = bold] +"redis-bundle_demote_0" -> "redis-bundle_demoted_0" [ style = bold] +"redis-bundle_demote_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_demoted_0" -> "redis-bundle_start_0" [ style = bold] +"redis-bundle_demoted_0" -> "redis-bundle_stop_0" [ style = bold] +"redis-bundle_demoted_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_start_0" -> "redis-bundle-master_start_0" [ style = dashed] +"redis-bundle_start_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_stop_0" -> "redis-bundle-master_stop_0" [ style = bold] +"redis-bundle_stop_0" -> "redis_stop_0 redis-bundle-0" [ style = bold] +"redis-bundle_stop_0" [ style=bold color="green" fontcolor="orange"] +"redis-bundle_stopped_0" -> "haproxy-bundle_stop_0" [ style = bold] +"redis-bundle_stopped_0" -> "redis-bundle_start_0" [ style = bold] +"redis-bundle_stopped_0" [ style=bold color="green" fontcolor="orange"] +"redis_demote_0 redis-bundle-0" -> "redis-bundle-0_stop_0 undercloud" [ style = bold] +"redis_demote_0 redis-bundle-0" -> "redis-bundle-master_demoted_0" [ style = bold] +"redis_demote_0 redis-bundle-0" -> "redis_monitor_45000 redis-bundle-0" [ style = dashed] +"redis_demote_0 redis-bundle-0" -> "redis_monitor_60000 redis-bundle-0" [ style = dashed] +"redis_demote_0 redis-bundle-0" -> "redis_stop_0 redis-bundle-0" [ style = bold] +"redis_demote_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +"redis_monitor_45000 redis-bundle-0" [ style=dashed color="red" fontcolor="black"] +"redis_monitor_60000 redis-bundle-0" [ style=dashed color="red" fontcolor="black"] +"redis_start_0 redis-bundle-0" -> "redis-bundle-master_running_0" [ style = dashed] +"redis_start_0 redis-bundle-0" -> "redis_monitor_45000 redis-bundle-0" [ style = dashed] +"redis_start_0 redis-bundle-0" -> "redis_monitor_60000 redis-bundle-0" [ style = dashed] +"redis_start_0 redis-bundle-0" [ style=dashed color="red" fontcolor="black"] +"redis_stop_0 redis-bundle-0" -> "all_stopped" [ style = bold] +"redis_stop_0 redis-bundle-0" -> "redis-bundle-0_stop_0 undercloud" [ style = bold] +"redis_stop_0 redis-bundle-0" -> "redis-bundle-master_stopped_0" [ style = bold] +"redis_stop_0 redis-bundle-0" -> "redis_start_0 redis-bundle-0" [ style = dashed] +"redis_stop_0 redis-bundle-0" [ style=bold color="green" fontcolor="black"] +} diff --git a/pengine/test10/bundle-order-stop.exp b/pengine/test10/bundle-order-stop.exp new file mode 100644 index 0000000000..d0854331d8 --- /dev/null +++ b/pengine/test10/bundle-order-stop.exp @@ -0,0 +1,734 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bundle-order-stop.scores b/pengine/test10/bundle-order-stop.scores new file mode 100644 index 0000000000..a662f42a24 --- /dev/null +++ b/pengine/test10/bundle-order-stop.scores @@ -0,0 +1,199 @@ +Allocation scores: +clone_color: galera-bundle-master allocation score on galera-bundle-0: 0 +clone_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera-bundle-master allocation score on undercloud: -INFINITY +clone_color: galera:0 allocation score on galera-bundle-0: INFINITY +clone_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: galera:0 allocation score on undercloud: -INFINITY +clone_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +clone_color: rabbitmq-bundle-clone allocation score on undercloud: -INFINITY +clone_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +clone_color: rabbitmq:0 allocation score on undercloud: -INFINITY +clone_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis-bundle-master allocation score on redis-bundle-0: 0 +clone_color: redis-bundle-master allocation score on undercloud: -INFINITY +clone_color: redis:0 allocation score on galera-bundle-0: -INFINITY +clone_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +clone_color: redis:0 allocation score on redis-bundle-0: INFINITY +clone_color: redis:0 allocation score on undercloud: -INFINITY +container_color: galera-bundle allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle allocation score on undercloud: 0 +container_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: galera-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera-bundle-master allocation score on undercloud: 0 +container_color: galera:0 allocation score on galera-bundle-0: -INFINITY +container_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: galera:0 allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle allocation score on undercloud: 0 +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +container_color: haproxy-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: openstack-cinder-volume allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume allocation score on undercloud: 0 +container_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: openstack-cinder-volume-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle allocation score on undercloud: 0 +container_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +container_color: rabbitmq-bundle-clone allocation score on rabbitmq-bundle-0: 0 +container_color: rabbitmq-bundle-clone allocation score on undercloud: 0 +container_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: rabbitmq-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +container_color: rabbitmq:0 allocation score on undercloud: 0 +container_color: redis-bundle allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle allocation score on undercloud: 0 +container_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-docker-0 allocation score on undercloud: INFINITY +container_color: redis-bundle-master allocation score on galera-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on redis-bundle-0: -INFINITY +container_color: redis-bundle-master allocation score on undercloud: 0 +container_color: redis:0 allocation score on galera-bundle-0: -INFINITY +container_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +container_color: redis:0 allocation score on redis-bundle-0: -INFINITY +container_color: redis:0 allocation score on undercloud: 0 +galera:0 promotion score on galera-bundle-0: 100 +native_color: galera-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-0 allocation score on undercloud: INFINITY +native_color: galera-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: galera:0 allocation score on galera-bundle-0: INFINITY +native_color: galera:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: galera:0 allocation score on undercloud: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: haproxy-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.247 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.247 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.248 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.248 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.249 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.249 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.250 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.250 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.253 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.253 allocation score on undercloud: -INFINITY +native_color: ip-192.168.122.254 allocation score on galera-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on redis-bundle-0: -INFINITY +native_color: ip-192.168.122.254 allocation score on undercloud: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: openstack-cinder-volume-docker-0 allocation score on undercloud: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-0 allocation score on undercloud: INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: rabbitmq-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: rabbitmq:0 allocation score on rabbitmq-bundle-0: INFINITY +native_color: rabbitmq:0 allocation score on undercloud: -INFINITY +native_color: redis-bundle-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-0 allocation score on undercloud: INFINITY +native_color: redis-bundle-docker-0 allocation score on galera-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on redis-bundle-0: -INFINITY +native_color: redis-bundle-docker-0 allocation score on undercloud: -INFINITY +native_color: redis:0 allocation score on galera-bundle-0: -INFINITY +native_color: redis:0 allocation score on rabbitmq-bundle-0: -INFINITY +native_color: redis:0 allocation score on redis-bundle-0: INFINITY +native_color: redis:0 allocation score on undercloud: -INFINITY +redis:0 promotion score on redis-bundle-0: 1 diff --git a/pengine/test10/bundle-order-stop.summary b/pengine/test10/bundle-order-stop.summary new file mode 100644 index 0000000000..bd6f937515 --- /dev/null +++ b/pengine/test10/bundle-order-stop.summary @@ -0,0 +1,114 @@ + +Current cluster status: +Online: [ undercloud ] +Containers: [ galera-bundle-0:galera-bundle-docker-0 rabbitmq-bundle-0:rabbitmq-bundle-docker-0 redis-bundle-0:redis-bundle-docker-0 ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started undercloud + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Master undercloud + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Master undercloud + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Started undercloud + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Started undercloud + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started undercloud + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Started undercloud + +Transition Summary: + * Shutdown undercloud + * Stop rabbitmq-bundle-docker-0 (undercloud) + * Stop rabbitmq-bundle-0 (undercloud) + * Stop rabbitmq:0 (Started rabbitmq-bundle-0) + * Stop galera-bundle-docker-0 (undercloud) + * Stop galera-bundle-0 (undercloud) + * Demote galera:0 (Master -> Slave galera-bundle-0) + * Restart galera:0 (Slave galera-bundle-0) + * Stop redis-bundle-docker-0 (undercloud) + * Stop redis-bundle-0 (undercloud) + * Demote redis:0 (Master -> Slave redis-bundle-0) + * Restart redis:0 (Slave redis-bundle-0) + * Stop ip-192.168.122.254 (undercloud) + * Stop ip-192.168.122.250 (undercloud) + * Stop ip-192.168.122.249 (undercloud) + * Stop ip-192.168.122.253 (undercloud) + * Stop ip-192.168.122.247 (undercloud) + * Stop ip-192.168.122.248 (undercloud) + * Stop haproxy-bundle-docker-0 (undercloud) + * Stop openstack-cinder-volume-docker-0 (undercloud) + +Executing cluster transition: + * Resource action: galera cancel=10000 on galera-bundle-0 + * Resource action: redis cancel=20000 on redis-bundle-0 + * Pseudo action: openstack-cinder-volume_stop_0 + * Pseudo action: redis-bundle_demote_0 + * Pseudo action: redis-bundle-master_demote_0 + * Pseudo action: galera-bundle_demote_0 + * Pseudo action: galera-bundle-master_demote_0 + * Pseudo action: rabbitmq-bundle_stop_0 + * Resource action: galera demote on galera-bundle-0 + * Resource action: redis demote on redis-bundle-0 + * Resource action: openstack-cinder-volume-docker-0 stop on undercloud + * Pseudo action: openstack-cinder-volume_stopped_0 + * Pseudo action: redis-bundle-master_demoted_0 + * Pseudo action: galera-bundle-master_demoted_0 + * Pseudo action: rabbitmq-bundle-clone_stop_0 + * Resource action: rabbitmq stop on rabbitmq-bundle-0 + * Resource action: rabbitmq-bundle-0 stop on undercloud + * Pseudo action: redis-bundle_demoted_0 + * Pseudo action: galera-bundle_demoted_0 + * Pseudo action: galera-bundle_stop_0 + * Pseudo action: rabbitmq-bundle-clone_stopped_0 + * Pseudo action: rabbitmq-bundle_stopped_0 + * Resource action: rabbitmq-bundle-docker-0 stop on undercloud + * Pseudo action: galera-bundle-master_stop_0 + * Resource action: galera stop on galera-bundle-0 + * Resource action: galera-bundle-0 stop on undercloud + * Pseudo action: galera-bundle-master_stopped_0 + * Pseudo action: galera-bundle_stopped_0 + * Resource action: galera-bundle-docker-0 stop on undercloud + * Pseudo action: redis-bundle_stop_0 + * Pseudo action: redis-bundle-master_stop_0 + * Resource action: redis stop on redis-bundle-0 + * Resource action: redis-bundle-0 stop on undercloud + * Pseudo action: redis-bundle-master_stopped_0 + * Pseudo action: redis-bundle_stopped_0 + * Pseudo action: redis-bundle_start_0 + * Resource action: redis-bundle-docker-0 stop on undercloud + * Pseudo action: haproxy-bundle_stop_0 + * Resource action: haproxy-bundle-docker-0 stop on undercloud + * Pseudo action: haproxy-bundle_stopped_0 + * Resource action: ip-192.168.122.254 stop on undercloud + * Resource action: ip-192.168.122.250 stop on undercloud + * Resource action: ip-192.168.122.249 stop on undercloud + * Resource action: ip-192.168.122.253 stop on undercloud + * Resource action: ip-192.168.122.247 stop on undercloud + * Resource action: ip-192.168.122.248 stop on undercloud + * Cluster action: do_shutdown on undercloud + * Pseudo action: all_stopped + +Revised cluster status: +Online: [ undercloud ] + + Docker container: rabbitmq-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest] + rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Stopped + Docker container: galera-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest] + galera-bundle-0 (ocf::heartbeat:galera): Stopped + Docker container: redis-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest] + redis-bundle-0 (ocf::heartbeat:redis): Stopped + ip-192.168.122.254 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.250 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.249 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.253 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.247 (ocf::heartbeat:IPaddr2): Stopped + ip-192.168.122.248 (ocf::heartbeat:IPaddr2): Stopped + Docker container: haproxy-bundle [192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest] + haproxy-bundle-docker-0 (ocf::heartbeat:docker): Stopped + Docker container: openstack-cinder-volume [192.168.24.1:8787/tripleoupstream/centos-binary-cinder-volume:latest] + openstack-cinder-volume-docker-0 (ocf::heartbeat:docker): Stopped + diff --git a/pengine/test10/bundle-order-stop.xml b/pengine/test10/bundle-order-stop.xml new file mode 100644 index 0000000000..467082a44d --- /dev/null +++ b/pengine/test10/bundle-order-stop.xml @@ -0,0 +1,421 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/versioned-operations-1.exp b/pengine/test10/versioned-operations-1.exp index b71025e95d..6469e51b02 100644 --- a/pengine/test10/versioned-operations-1.exp +++ b/pengine/test10/versioned-operations-1.exp @@ -1,63 +1,63 @@ - + - + - + - + - + diff --git a/pengine/test10/versioned-operations-2.exp b/pengine/test10/versioned-operations-2.exp index ec2983ca04..93349113e9 100644 --- a/pengine/test10/versioned-operations-2.exp +++ b/pengine/test10/versioned-operations-2.exp @@ -1,44 +1,44 @@ - + - + - + - + diff --git a/pengine/test10/versioned-operations-3.exp b/pengine/test10/versioned-operations-3.exp index a6bbf4617c..fa0f3fdfce 100644 --- a/pengine/test10/versioned-operations-3.exp +++ b/pengine/test10/versioned-operations-3.exp @@ -1,157 +1,157 @@ - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/pengine/test10/versioned-operations-4.exp b/pengine/test10/versioned-operations-4.exp index d258ae6214..037d9b6cdb 100644 --- a/pengine/test10/versioned-operations-4.exp +++ b/pengine/test10/versioned-operations-4.exp @@ -1,121 +1,121 @@ - + - + - + - + - + - + - + - + - +