Hi Team,

While creating ClusterMon resource agent in Clusterlab High Availability 
getting illegal option -- E in ClusterMon.

[root@node1 tmp]# pcs resource create SNMP_test ocf:pacemaker:ClusterMon  
extra_options="-E /tmp/tools/PCSESA.sh"
Error: Validation result from agent (use --force to override):
  /usr/lib/ocf/resource.d/pacemaker/ClusterMon: illegal option -- E
  Apr 12 13:36:47 ERROR: Invalid options -E /tmp/tools/PCSESA.sh!
Error: Errors have occurred, therefore pcs is unable to continue
[root@node1 tmp]#

As per above error we use --force option now resource is getting created but 
still we get this error in the system  , But ClusterMon resource functionality 
is working as expected . we need to understand any impact with below error / 
how to rectify illegal option on ClusterMon.

[root@node1 tmp]# pcs resource create SNMP_test ocf:pacemaker:ClusterMon  
extra_options="-E /tmp/tools/PCSESA.sh" --force
Warning: Validation result from agent:
  /usr/lib/ocf/resource.d/pacemaker/ClusterMon: illegal option -- E
  Apr 12 13:49:43 ERROR: Invalid options -E /tmp/tools/PCSESA.sh!
[root@node1 tmp]#

Please find the Clusterlab RPM version used:
pacemaker-cluster-libs-2.1.4-1.2.1.4.git.el8.x86_64
resource-agents-4.11.0-1.el8.x86_64
pacemaker-cli-2.1.4-1.2.1.4.git.el8.x86_64
pcs-0.10.14-1.el8.x86_64
corosynclib-3.1.7-1.el8.x86_64
corosync-3.1.7-1.el8.x86_64
pacemaker-2.1.4-1.2.1.4.git.el8.x86_64
pacemaker-libs-2.1.4-1.2.1.4.git.el8.x86_64
pacemaker-schemas-2.1.4-1.2.1.4.git.el8.noarch

Thanks and Regards,
S Sathish S
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

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

Reply via email to