
Hello, I'm trying to use fence_rhevm in a CentOS 6.8 guest that is part of a virtual rhcs cluster My sw version for fence_agents inside guest is fence-agents-4.0.15-12.el6.x86_64 and I notice that for this particular agent nothing changes also using the latest available package fence-agents-4.0.15-13.el6.x86_64.rpm apart [root@p2vnorasvi1 ~]# diff fence_rhevm /usr/sbin/fence_rhevm 13c13 < BUILD_DATE="(built Wed Mar 22 04:24:11 UTC 2017)" ---
BUILD_DATE="(built Tue May 10 22:28:47 UTC 2016)" [root@p2vnorasvi1 ~]#
The VM name in oVirt 4.1.1 is p2vorasvi1 Running this command against the engine I get [root@p2vnorasvi1 network-scripts]# fence_rhevm -a 10.4.192.43 -l "admin@internal" -p "mypassword" -z --shell-timeout=20 --power-wait=10 -v -o status -n p2vorasvi1 vms/?search=name%3Dp2vorasvi1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /api/vms/ was not found on this server.</p> </body></html> Failed: Unable to obtain correct plug status or plug is not available Actually I get the same error even if I put a wrong password.... What am I missing...? Do I have to specify DC/cluster if I have more than one, or other parameters? Thanks, Gianluca