This error comes from pcs.

It means: Your resource's metadata define an option named 'binfile' and the resource cannot run when this option is not specified. (This is done by <parameter name="binfile" required="1"> in metadata.) Moreover, you tried to create the resource without specifying a value for the 'binfile' option.

So it is looking for a command line option for the pcs resource create.

Can you share your resource's metadata and the pcs command which gives you the error?


Regards,
Tomas


Dne 12. 06. 20 v 18:19 jim napsal(a):
I tried to add the module again using ocf:vendor:app and now I get an error "Error: required resource option 'binfile' is missing, use --force to override".  i'm not sure if that error has to do with the metadata, i do have binfile defined, or if it is looking for a command line option for the pcs resource create.  i did try adding binfile=<pat-to-file> and params binfile=<pat-to-file>, but none of those options worked.


On Thursday, June 11, 2020, 1:50:43 PM EDT, Ken Gaillot <[email protected]> wrote:


On Thu, 2020-06-11 at 15:37 +0000, jim wrote:
 > I made a copy on the anything module and modified for the application
 > I want to monitor.  I put the script in
 > /usr/lib/ocf/resoure.d/<vendor>/<application>. The script works from
 > the command line to start and stop the application.  when I try to
 > add the module with "pcs resource create <some_name>
 > ocf:heartbeat:<module_name> --group <some_group> " i get an error,

You want ocf:<vendor>:<module_name>


 > "Error: Agent 'ocf:heartbeat:<module_name>' is not installed or does
 > not provide valid metadata: Metadata query for
 > ocf:heartbeat:<module_name> failed: Input/Output error, use --force
 > to override".  the script supports meta-data|metadata|meta_data.  I'm
 > not sure how to know what is valid metadat. I know i saw a utility to
 > check the scripts, but that does not appear to be installed/available
 > on redhat.

--
Ken Gaillot <[email protected] <mailto:[email protected]>>

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to