[ClusterLabs] pcs update resource command not working

S Sathish S s.s.sathish at ericsson.com
Thu Jul 8 07:00:10 EDT 2021


Hi Team,

Pcs resource update command is not working with below given command and rpm version details are listed.

[root at node01 testadmin]# pcs resource show SNMP_node01
Resource: SNMP_node01 (class=ocf provider=pacemaker type=ClusterMon)
  Attributes: extra_options="-E /opt/occ/CXP/tools/PCSESA.sh"
  Meta Attrs: failure-timeout=120s priority=10
  Operations: monitor interval=10 timeout=20 (SNMP_node01-monitor-interval-10)
              start interval=0s timeout=20 (SNMP_node01-start-interval-0s)
              stop interval=0s timeout=20 (SNMP_node01-stop-interval-0s)

I would like to update user attribute for below resource but unable to do so and not getting any failure..


[root at node01 testadmin]# pcs resource update SNMP_node01 user='' extra_options="-E /opt/occ/CXP/tools/PCSESA.sh"

After PCS resource update attribute is not added.

[root at node01 testadmin]# pcs resource show SNMP_node01
Resource: SNMP_node01 (class=ocf provider=pacemaker type=ClusterMon)
  Attributes: extra_options="-E /opt/occ/CXP/tools/PCSESA.sh"
  Meta Attrs: failure-timeout=120s priority=10
  Operations: monitor interval=10 timeout=20 (SNMP_node01-monitor-interval-10)
              start interval=0s timeout=20 (SNMP_node01-start-interval-0s)
              stop interval=0s timeout=20 (SNMP_node01-stop-interval-0s)
[root at node01 testadmin]#

[root at node01 testadmin]# rpm -qa | grep -Ei 'pcs|pacemaker|corosync'
pacemaker-2.0.2-2.el7.x86_64
corosync-2.4.4-2.el7.x86_64
pcs-0.9.169-1.el7.x86_64
[root at node01 testadmin]#

Thanks and Regards,
S Sathish S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20210708/56ad32a1/attachment-0001.htm>


More information about the Users mailing list