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

Arvydas arvydas at artogama.lt
Fri May 3 10:55:04 CEST 2013


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 
  To: The Pacemaker cluster resource manager 
  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 
      To: The Pacemaker cluster resource manager 
      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 
          To: The Pacemaker cluster resource manager 
          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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20130503/cdc6b7e0/attachment.html>


More information about the Pacemaker mailing list