[ClusterLabs] ClusterMon resource creation getting illegal option -- E in ClusterMon
S Sathish S
s.s.sathish at ericsson.com
Wed Apr 12 08:03:02 EDT 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230412/62199410/attachment.htm>
More information about the Users
mailing list