[ClusterLabs] ClusterMon resource creation getting illegal option -- E in ClusterMon

Ken Gaillot kgaillot at redhat.com
Wed Apr 12 09:45:21 EDT 2023


ClusterMon with -E has been superseded by Pacemaker's built-in alerts
functionality:

https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/singlehtml/index.html#document-alerts

On Wed, 2023-04-12 at 12:03 +0000, S Sathish S via Users wrote:
> Hi Team,
>  
> While creating ClusterMon resource agent in Clusterlab High
> Availability getting illegal option -- E in ClusterMon.
>  
> [root at 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 at 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 at 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 at 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/
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list