[Pacemaker] "ERROR: Wrong stack o2cb" when trying to start o2cb service in Pacemaker cluster

David Guyot david.guyot at europecamions-interactive.com
Wed Jun 20 12:22:59 UTC 2012


Hello.

Oops, an omission.

Here comes my Pacemaker config :
root at Malastare:/home/david# crm configure show
node Malastare
node Vindemiatrix
primitive p_controld ocf:pacemaker:controld
primitive p_drbd_ocfs2_backupvi ocf:linbit:drbd \
    params drbd_resource="backupvi"
primitive p_drbd_ocfs2_pgsql ocf:linbit:drbd \
    params drbd_resource="postgresql"
primitive p_drbd_ocfs2_svn ocf:linbit:drbd \
    params drbd_resource="svn"
primitive p_drbd_ocfs2_www ocf:linbit:drbd \
    params drbd_resource="www"
primitive p_o2cb ocf:pacemaker:o2cb \
    meta target-role="Started"
primitive soapi-fencing-malastare stonith:external/ovh \
    params reversedns="ns208812.ovh.net"
primitive soapi-fencing-vindemiatrix stonith:external/ovh \
    params reversedns="ns235795.ovh.net"
ms ms_drbd_ocfs2_backupvi p_drbd_ocfs2_backupvi \
    meta master-max="2" clone-max="2"
ms ms_drbd_ocfs2_pgsql p_drbd_ocfs2_pgsql \
    meta master-max="2" clone-max="2"
ms ms_drbd_ocfs2_svn p_drbd_ocfs2_svn \
    meta master-max="2" clone-max="2"
ms ms_drbd_ocfs2_www p_drbd_ocfs2_www \
    meta master-max="2" clone-max="2"
location stonith-malastare soapi-fencing-malastare -inf: Malastare
location stonith-vindemiatrix soapi-fencing-vindemiatrix -inf: Vindemiatrix
property $id="cib-bootstrap-options" \
    dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \
    cluster-infrastructure="openais" \
    expected-quorum-votes="2"

The STONITH resources are custom ones which use my provider SOAP API to
electrically reboot fenced nodes.

Concerning the web page you talked me about, I tried to insert the
referred environment variable, but it did not solved the problem :
root at Malastare:/home/david# crm_mon --one-shot -VroA
============
Last updated: Wed Jun 20 14:14:41 2012
Last change: Wed Jun 20 09:22:39 2012 via cibadmin on Malastare
Stack: openais
Current DC: Vindemiatrix - partition with quorum
Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff
2 Nodes configured, 2 expected votes
12 Resources configured.
============

Online: [ Vindemiatrix Malastare ]

Full list of resources:

 soapi-fencing-malastare    (stonith:external/ovh):    Stopped
 p_controld    (ocf::pacemaker:controld):    Started Malastare
 p_o2cb    (ocf::pacemaker:o2cb):    Started Vindemiatrix FAILED
 soapi-fencing-vindemiatrix    (stonith:external/ovh):    Stopped
 Master/Slave Set: ms_drbd_ocfs2_pgsql [p_drbd_ocfs2_pgsql]
     Masters: [ Vindemiatrix Malastare ]
 Master/Slave Set: ms_drbd_ocfs2_backupvi [p_drbd_ocfs2_backupvi]
     Masters: [ Vindemiatrix Malastare ]
 Master/Slave Set: ms_drbd_ocfs2_svn [p_drbd_ocfs2_svn]
     Masters: [ Vindemiatrix Malastare ]
 Master/Slave Set: ms_drbd_ocfs2_www [p_drbd_ocfs2_www]
     Masters: [ Vindemiatrix Malastare ]

Node Attributes:
* Node Vindemiatrix:
    + master-p_drbd_ocfs2_backupvi:0      : 10000    
    + master-p_drbd_ocfs2_pgsql:0         : 10000    
    + master-p_drbd_ocfs2_svn:0           : 10000    
    + master-p_drbd_ocfs2_www:0           : 10000    
* Node Malastare:
    + master-p_drbd_ocfs2_backupvi:1      : 10000    
    + master-p_drbd_ocfs2_pgsql:1         : 10000    
    + master-p_drbd_ocfs2_svn:1           : 10000    
    + master-p_drbd_ocfs2_www:1           : 10000    

Operations:
* Node Vindemiatrix:
   p_o2cb: migration-threshold=1000000 fail-count=1000000
    + (11) start: rc=5 (not installed)
   p_drbd_ocfs2_pgsql:0: migration-threshold=1000000
    + (6) probe: rc=8 (master)
   p_drbd_ocfs2_backupvi:0: migration-threshold=1000000
    + (7) probe: rc=8 (master)
   p_drbd_ocfs2_svn:0: migration-threshold=1000000
    + (8) probe: rc=8 (master)
   p_drbd_ocfs2_www:0: migration-threshold=1000000
    + (9) probe: rc=8 (master)
* Node Malastare:
   p_controld: migration-threshold=1000000
    + (10) start: rc=0 (ok)
   p_o2cb: migration-threshold=1000000
    + (4) probe: rc=5 (not installed)
   p_drbd_ocfs2_pgsql:1: migration-threshold=1000000
    + (6) probe: rc=8 (master)
   p_drbd_ocfs2_backupvi:1: migration-threshold=1000000
    + (7) probe: rc=8 (master)
   p_drbd_ocfs2_svn:1: migration-threshold=1000000
    + (8) probe: rc=8 (master)
   p_drbd_ocfs2_www:1: migration-threshold=1000000
    + (9) probe: rc=8 (master)

Failed actions:
    p_o2cb_start_0 (node=Vindemiatrix, call=11, rc=5, status=complete):
not installed
    p_o2cb_monitor_0 (node=Malastare, call=4, rc=5, status=complete):
not installed

Thank you in advance for your help!

Kind regards.

Le 20/06/2012 14:02, Andreas Kurz a écrit :
> On 06/20/2012 01:43 PM, David Guyot wrote:
>> Hello, everybody.
>>
>> I'm trying to configure Pacemaker for using DRBD + OCFS2 storage, but
>> I'm stuck with DRBD and controld up and o2cb doggedly displaying "not
>> installed" errors. To do this, I followed the DRBD guide (
>> http://www.drbd.org/users-guide-8.3/ch-ocfs2.html), with the difference
>> that I was forced to disable DRBD fencing because it was interfering
>> with Pacemaker fencing and stopping each nodes as often as it could.
> Unfortunately you didn't share your Pacemaker configuration but you
> definitely must not start any ocfs2 init script but let all be managed
> by the cluster-manager.
>
> Here is a brief setup description, also mentioning the tune.ocfs2 when
> the Pacemaker stack is running:
>
> http://www.hastexo.com/resources/hints-and-kinks/ocfs2-pacemaker-debianubuntu
>
> And once this is running as expected you really want to reactivate the
> DRBD fencing configuration.
>
> Regards,
> Andreas
>
>
>
> _______________________________________________
> 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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120620/e7810e50/attachment-0004.sig>


More information about the Pacemaker mailing list