[Pacemaker] [Troubleshooting] ERROR: Setup problem: couldn't find command: drbdsetup

emmanuel segura emi2fast at gmail.com
Fri May 3 05:06:46 EDT 2013


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:
>
> # ocf-tester -n monkey-drbd -o drbd_resource="r1"
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130503/eee6a2fd/attachment-0003.html>


More information about the Pacemaker mailing list