resource-agents icon indicating copy to clipboard operation
resource-agents copied to clipboard

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

Open ashore1992 opened this issue 2 years ago • 2 comments

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

ashore1992 avatar May 10 '23 06:05 ashore1992

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

oalbrigt avatar May 10 '23 07:05 oalbrigt

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.

wenningerk avatar May 10 '23 07:05 wenningerk