[Pacemaker] [Problem] Order which combined a master with clone is invalid.
David Vossel
dvossel at redhat.com
Fri Jul 20 19:46:34 UTC 2012
----- Original Message -----
> From: renayama19661014 at ybb.ne.jp
> To: "PaceMaker-ML" <pacemaker at oss.clusterlabs.org>
> Sent: Friday, July 20, 2012 1:39:51 AM
> Subject: [Pacemaker] [Problem] Order which combined a master with clone is invalid.
>
> Hi All,
>
> We confirmed movement of order which combined a master with clone.
> We performed it by a very simple combination.
>
> Step1) We change it to produce start error in Dummy resource.
>
> (snip)
> dummy_start() {
> return $OCF_ERR_GENERIC
> dummy_monitor
> (snip)
>
> Step2) We start one node and send cib.
>
>
> However, as for the master, it is done start even if start of clone
> fails.
> And it becomes the Slave state.
Not a bug, You are using advisory ordering in your order constraint.
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch06s03s02.html
>
> ============
> Last updated: Fri Jul 20 15:36:10 2012
> Stack: Heartbeat
> Current DC: NONE
> 1 Nodes configured, unknown expected votes
> 2 Resources configured.
> ============
>
> Online: [ drbd1 ]
>
> Master/Slave Set: msDrPostgreSQLDB
> Slaves: [ drbd1 ]
> Stopped: [ prmDrPostgreSQLDB:1 ]
>
> Migration summary:
> * Node drbd1:
> prmPingd:0: migration-threshold=1 fail-count=1000000
>
> Failed actions:
> prmPingd:0_start_0 (node=drbd1, call=4, rc=1, status=complete):
> unknown error
>
>
> We confirmed it just to make sure in Pacemaker1.1.7.
> However, the problem was the same.
>
> ============
> Last updated: Fri Jul 20 22:53:22 2012
> Last change: Fri Jul 20 22:53:09 2012 via cibadmin on fedora17-1
> Stack: corosync
> Current DC: fedora17-1 (1) - partition with quorum
> Version: 1.1.7-e6922a70f742d3eab63d7e22f3ea0408b54b5dae
> 1 Nodes configured, unknown expected votes
> 4 Resources configured.
> ============
>
> Online: [ fedora17-1 ]
>
> Master/Slave Set: msDrPostgreSQLDB [prmDrPostgreSQLDB]
> Slaves: [ fedora17-1 ]
> Stopped: [ prmDrPostgreSQLDB:1 ]
>
> Migration summary:
> * Node fedora17-1:
> prmPingd:0: migration-threshold=1 fail-count=1000000
>
> Failed actions:
> prmPingd:0_start_0 (node=fedora17-1, call=14, rc=1,
> status=complete): unknown error
>
>
> I think that this problem is similar to the bug that I reported
> before.
>
> * http://bugs.clusterlabs.org/show_bug.cgi?id=5075.
>
> Is this problem a bug?
> Or can we be improved by setting?
see advisory ordering
>
> Best Regards,
> Hideo Yamauchi.
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
More information about the Pacemaker
mailing list