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

Arvydas arvydas at artogama.lt
Fri May 3 11:07:03 UTC 2013


# 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 
  To: The Pacemaker cluster resource manager 
  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:

    # 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



    _______________________________________________
    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: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130503/2eb87b06/attachment.htm>


More information about the Pacemaker mailing list