ClusterLabs / resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
GNU General Public License v2.0
489 stars 577 forks source link

Unable to get metadata for resource agent 'stonith:fence_watchdog' (SyntaxError:JSON.parse:unexpected character at line 1) #1867

Open ashore1992 opened 1 year ago

ashore1992 commented 1 year ago

pcs 0.10.14 resource-agents 4.11.0 pacemaker 2.1.5 corosync 3.1.0 When I refresh the web page,a pop-up window appears on the page.The pop-up content is as follows.

Unable to get metadata for resource agent 'stonith:fence_watchdog' (SyntaxError:JSON.parse:unexpected character at line 1) Warning:Agent 'pacemaker_fenced' is not installed or does not provide valid metadata:Element content failed to validate content,line 30...

I tried to execute ' pcs stonith describe fence_watchdog' [root@node1 resource-agents]# pcs stonith describe fence_watchdog Warning: Agent 'pacemaker-fenced' is not installed or does not provide valid metadata: Element content failed to validate content, line 30 Warning: Agent 'pacemaker-fenced' is not installed or does not provide valid metadata: Element content failed to validate content, line 30

oalbrigt commented 1 year ago

Try running fence_watchdog -o metadata manually to get the full error message or metadata that's causing the error.

wenningerk commented 1 year ago

Are your packages coming from a distribution or are they self-built? Asking because fence_watchdog should be coming from the pacemaker-package and not via fence-agents-packages.