[Pacemaker] Fw: [Troubleshooting] ERROR: Setup problem:couldn'tfind command: drbdsetup

Arvydas arvydas at artogama.lt
Tue May 14 06:10:28 UTC 2013


Another problem just popped out:

May 14 02:44:00 -edit- lrmd: [2549]: info: RA output: (hosting-drbd:0:monitor:stderr) /usr/lib/ocf/resource.d//linbit/drbd: line 846: ÿÿÿÿÿÿÿÿÿÿ: command not found

it went like this and all my resources stopped.

could anyone explain this?
  ----- Original Message ----- 
  From: Arvydas 
  To: The Pacemaker cluster resource manager 
  Sent: Friday, May 03, 2013 4:09 PM
  Subject: [Pacemaker] Fw: [Troubleshooting] ERROR: Setup problem:couldn'tfind command: drbdsetup


  Well it seems i didn't export clone-max, thought it checks directly in pacemaker. Anyway, somehow "drbdsetup not found" jumps randomly on live


  A




  ----- Original Message ----- 
  From: Arvydas 
  To: The Pacemaker cluster resource manager 
  Sent: Friday, May 03, 2013 4:04 PM
  Subject: Re: [Pacemaker] [Troubleshooting] ERROR: Setup problem: couldn'tfind command: drbdsetup


  hello,

  thanks for the tip.

  here is the code:

  http://pastebin.com/fvxJdXfe


  it seems it doesn't stop at drbdsetup.
  but it stops on clone-max, i wonder why


    ----- Original Message ----- 
    From: Michael Schwartzkopff 
    To: The Pacemaker cluster resource manager 
    Sent: Friday, May 03, 2013 3:01 PM
    Subject: Re: [Pacemaker] [Troubleshooting] ERROR: Setup problem: couldn'tfind command: drbdsetup


    Hi,



    To debug the resource agent do



    # export OCF_ROOT=/usr/lib/ocf

    # export OCF_RESKEY_drbd_resource="r1"

    # bash -x /usr/lib/ocf/resource.d/linbit/drbd start



    and check the output. If you don't know, paste the output of the last 30 lines somewhere and post the link to the mailing list.



    ---



    Am Freitag, 3. Mai 2013, 13:51:01 schrieb emmanuel segura:

    > look in the resource agent, whe it's looking for drbdsetup

    > 

    > 

    > 2013/5/3 Arvydas <arvydas at artogama.lt>

    > 

    > > **

    > > # ocf-tester -n monkey-drbd -o drbd_resource="r1"

    > > /usr/lib/ocf/resource.d/linbit/drbd

    > > 

    > > Beginning tests for /usr/lib/ocf/resource.d/linbit/drbd...

    > > * rc=6: Validation failed. Did you supply enough options with -o ?

    > > drbd[27309]: WARNING: You may be disappointed: This RA is intended for

    > > pacemaker 1.0 or better!

    > > drbd[27309]: ERROR: meta parameter misconfigured, expected clone-max -le

    > > 2, but found unset.

    > > Aborting tests

    > > 

    > > version: pacemaker-1.1.6-3.el6.x86_64

    > > 

    > > ms ms-monkey-drbd monkey-drbd \

    > > 

    > > meta master-max="1" clone-max="2" clone-node-max="1"

    > > 

    > > master-node-max="1" notify="true" interleave="true"

    > > ?

    > > 

    > > anyway, doesn't seem to address "couldn't find command: drbdsetup"

    > > problem, hmm.

    > > 

    > > 

    > > ----- Original Message -----

    > > 

    > > *From:* emmanuel segura <emi2fast at gmail.com>

    > > *To:* The Pacemaker cluster resource

    > > manager<pacemaker at oss.clusterlabs.org>

    > > *Sent:* Friday, May 03, 2013 12:06 PM

    > > *Subject:* Re: [Pacemaker] [Troubleshooting] ERROR: Setup problem:

    > > couldn't find command: drbdsetup

    > > 

    > > man ocf-tester

    > > 

    > > SYNOPSIS

    > > 

    > > ocf-tester [-Lh] -n resource_name [-o name=value]*

    > > 

    > > /full/path/to/resource/agent

    > > 

    > > 

    > > 

    > > 

    > > 2013/5/3 Arvydas <arvydas at artogama.lt>

    > > 

    > >> **

    > >> Hi,

    > >> 

    > >> no. trying now:

    > >> 

    > >> # :

    > >> Beginning tests for ...

    > >> bash: meta-data: No such file or directory

    > >> * rc=127: Your agent has too restrictive permissions: should be 755

    > >> bash: meta-data: No such file or directory

    > >> -:1: parser error : Document is empty

    > >> 

    > >> ^

    > >> -:1: parser error : Start tag expected, '<' not found

    > >> 

    > >> ^

    > >> * rc=1: Your agent produces meta-data which does not conform to

    > >> ra-api-1.dtd

    > >> * rc=127: The meta-data action cannot fail and must return 0

    > >> * rc=127: Validation failed. Did you supply enough options with -o ?

    > >> bash: validate-all: No such file or directory

    > >> Aborting tests

    > >> 

    > >> it is strange, since permissions are 755 of drbd in

    > >> resourced.d/linbit/drbd

    > >> 

    > >> hmmm

    > >> 

    > >> ----- Original Message -----

    > >> 

    > >> *From:* emmanuel segura <emi2fast at gmail.com>

    > >> 

    > >> *To:* The Pacemaker cluster resource

    > >> manager<pacemaker at oss.clusterlabs.org>

    > >> *Sent:* Thursday, May 02, 2013 5:11 PM

    > >> 

    > >> *Subject:* Re: [Pacemaker] [Troubleshooting] ERROR: Setup problem:

    > >> couldn't find command: drbdsetup

    > >> 

    > >> did you try to test resource agent by hand? if not try ocf-test

    > >> 

    > >> Thanks

    > >> 

    > >> 

    > >> 2013/5/2 Arvydas <arvydas at artogama.lt>

    > >> 

    > >>> **

    > >>> 

    > >>> yes, i am using ocf:

    > >>> ----- Original Message -----

    > >>> 

    > >>> *From:* emmanuel segura <emi2fast at gmail.com>

    > >>> *To:* The Pacemaker cluster resource

    > >>> manager<pacemaker at oss.clusterlabs.org>

    > >>> 

    > >>> *Sent:* Thursday, May 02, 2013 11:37 AM

    > >>> 

    > >>> *Subject:* Re: [Pacemaker] [Troubleshooting] ERROR: Setup problem:

    > >>> couldn't find command: drbdsetup

    > >>> 

    > >>> which resource agent are you using?

    > >>> 

    > >>> can you show your config?

    > >>> 

    > >>> Thanks

    > >>> 

    > >>> 

    > >>> 2013/5/2 Arvydas <arvydas at artogama.lt>

    > >>> 

    > >>>> **

    > >>>> # which drbdsetup

    > >>>> /sbin/drbdsetup

    > >>>> it works

    > >>>> 

    > >>>> ----- Original Message -----

    > >>>> *From:* emmanuel segura <emi2fast at gmail.com>

    > >>>> *To:* The Pacemaker cluster resource

    > >>>> manager<pacemaker at oss.clusterlabs.org>

    > >>>> *Sent:* Thursday, May 02, 2013 11:12 AM

    > >>>> *Subject:* Re: [Pacemaker] [Troubleshooting] ERROR: Setup problem:

    > >>>> couldn't find command: drbdsetup

    > >>>> 

    > >>>> Hello

    > >>>> 

    > >>>> try the command which drbdsetup

    > >>>> 

    > >>>> 

    > >>>> 

    > >>>> 

    > >>>> 2013/4/30 Arvydas <arvydas at artogama.lt>

    > >>>> 

    > >>>>> Hello,

    > >>>>> 

    > >>>>> has anyone encountered such problem:

    > >>>>> 

    > >>>>> lrmd: [2524]: info: RA output: (monkey-drbd:1:monitor:stderr)

    > >>>>> 2013/04/30_12:42:34 ERROR: Setup problem: couldn't find command:

    > >>>>> drbdsetup

    > >>>>> 

    > >>>>> 

    > >>>>> ?

    > >>>>> 

    > >>>>> # whereis drbdadm

    > >>>>> drbdadm: /sbin/drbdadm /usr/share/man/man8/drbdadm.8.gz

    > >>>>> 

    > >>>>> 

    > >>>>> thanks

    > >>>>> 

    > >>>>> 

    > >>>>> _______________________________________________

    > >>>>> 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

    > >>>> 

    > >>>> --

    > >>>> esta es mi vida e me la vivo hasta que dios quiera

    > >>>> 

    > >>>> ------------------------------

    > >>>> 

    > >>>> _______________________________________________

    > >>>> 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

    > >>>> 

    > >>>> 

    > >>>> _______________________________________________

    > >>>> 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

    > >>> 

    > >>> --

    > >>> esta es mi vida e me la vivo hasta que dios quiera

    > >>> 

    > >>> ------------------------------

    > >>> 

    > >>> _______________________________________________

    > >>> 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

    > >>> 

    > >>> 

    > >>> _______________________________________________

    > >>> 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

    > >> 

    > >> --

    > >> esta es mi vida e me la vivo hasta que dios quiera

    > >> 

    > >> ------------------------------

    > >> 

    > >> _______________________________________________

    > >> 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

    > >> 

    > >> 

    > >> _______________________________________________

    > >> 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

    > > 

    > > --

    > > esta es mi vida e me la vivo hasta que dios quiera

    > > 

    > > ------------------------------

    > > 

    > > _______________________________________________

    > > 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

    > > 

    > > 

    > > _______________________________________________

    > > 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

    -- 

    Dr. Michael Schwartzkopff

    Guardinistr. 63

    81375 München



    Tel: (0163) 172 50 98



----------------------------------------------------------------------------


    _______________________________________________
    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



------------------------------------------------------------------------------


  _______________________________________________
  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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130514/b1a4e955/attachment.htm>


More information about the Pacemaker mailing list