<div dir="ltr"><div><div><div><div>Hi,<br><br></div>engine log is already in debug mode<br><br></div>here it is:<br>2015-06-10 11:48:23,653 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-12) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Host hosted_engine_2 from cluster Default was chosen as a proxy to execute Status command on Host hosted_engine_1.<br>2015-06-10 11:48:23,653 INFO  [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Using Host hosted_engine_2 from cluster Default as proxy to execute Status command on Host <br>2015-06-10 11:48:23,673 INFO  [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Executing &lt;Status&gt; Power Management command, Proxy Host:hosted_engine_2, Agent:ipmilan, Target Host:, Management IP:192.168.2.2, User:Administrator, Options: power_wait=&quot;60&quot;,lanplus=&quot;1&quot;, Fencing policy:null<br>2015-06-10 11:48:23,703 INFO  <b>[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp--127.0.0.1-8702-12) START, FenceVdsVDSCommand(HostName = hosted_engine_2, HostId = 0192d1ac-b905-4660-b149-4bef578985dd, targetVdsId = cf2d1260-7bb3-451a-9cd7-80e6a0ede52a, action = Status, ip = 192.168.2.2, port = , type = ipmilan, user = Administrator, password = ******, options = &#39; power_wait=&quot;60&quot;,lanplus=&quot;1&quot;&#39;, policy = &#39;null&#39;), log id: 2bda01bd<br>2015-06-10 11:48:23,892 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-12) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Power Management test failed for Host hosted_engine_1.Done</b><br>2015-06-10 11:48:23,892 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp--127.0.0.1-8702-12) FINISH, FenceVdsVDSCommand, return: <b>Test Succeeded, unknown, log id: 2bda01bd<br>2015-06-10 11:48:23,897 WARN  [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Fencing operation failed with proxy host 0192d1ac-b905-4660-</b>b149-4bef578985dd, trying another proxy...<br>2015-06-10 11:48:24,039 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Failed to run Power Management command on Host , no running proxy Host was found.<br>2015-06-10 11:48:24,039 WARN  [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Failed to find other proxy to re-run failed fence operation, retrying with the same proxy...<br>2015-06-10 11:48:24,143 INFO  <b>[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-12) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Host hosted_engine_2 from cluster Default was chosen as a proxy to execute Status command on Host hosted_engine_1.</b><br>2015-06-10 11:48:24,143 INFO  [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Using Host hosted_engine_2 from cluster Default as proxy to execute Status command on Host <br><b>2015-06-10 11:48:24,148 INFO  [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-12) Executing &lt;Status&gt; Power Management command, Proxy Host:hosted_engine_2, Agent:ipmilan, Target Host:, Management IP:192.168.2.2, User:Administrator, Options: power_wait=&quot;60&quot;,lanplus=&quot;1&quot;, Fencing policy:null<br>2015-06-10 11:48:24,165 INFO  </b>[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp--127.0.0.1-8702-12) START, FenceVdsVDSCommand(HostName = hosted_engine_2, HostId = 0192d1ac-b905-4660-b149-4bef578985dd, targetVdsId = cf2d1260-7bb3-451a-9cd7-80e6a0ede52a, action = Status, ip = 192.168.2.2, port = , type = ipmilan, user = Administrator, password = ******, options = &#39; power_wait=&quot;60&quot;,lanplus=&quot;1&quot;&#39;, policy = &#39;null&#39;), log id: 7e7f2726<br>2015-06-10 11:48:24,360 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-12) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Power Management test failed for Host hosted_engine_1.Done<br>2015-06-10 11:48:24,360 INFO  <b>[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp--127.0.0.1-8702-12) FINISH, FenceVdsVDSCommand, return: Test Succeeded, unknown, log id: 7e7f2726</b><br><br><br></div>VDSM log from hosted_engine_2<br><br>JsonRpcServer::DEBUG::2015-06-10 11:48:23,640::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request<br>Thread-2201::DEBUG::2015-06-10 11:48:23,642::API::1209::vds::(fenceNode) <b>fenceNode(addr=192.168.2.2,port=,agent=ipmilan,user=Administrator,passwd=XXXX,action=status,secure=False,options= power_wait=&quot;60&quot;<br>lanplus=&quot;1&quot;,policy=None)</b><br>Thread-2201::DEBUG::2015-06-10 11:48:23,642::utils::739::root::(execCmd) /usr/sbin/fence_ipmilan (cwd None)<br>Thread-2201::DEBUG::2015-06-10 11:48:23,709::utils::759::root::(execCmd) <b>FAILED: &lt;err&gt; = &#39;Failed: Unable to obtain correct plug status or plug is not available\n\n\n</b>&#39;; &lt;rc&gt; = 1<br>Thread-2201::DEBUG::2015-06-10 11:48:23,710::API::1164::vds::(fence) rc 1 inp agent=fence_ipmilan<br>ipaddr=192.168.2.2<br>login=Administrator<br>action=status<br>passwd=XXXX<br> power_wait=&quot;60&quot;<br>lanplus=&quot;1&quot; out [] err [&#39;Failed: Unable to obtain correct plug status or plug is not available&#39;, &#39;&#39;, &#39;&#39;]<br>Thread-2201::DEBUG::2015-06-10 11:48:23,710::API::1235::vds::(fenceNode) rc 1 in agent=fence_ipmilan<br>ipaddr=192.168.2.2<br>login=Administrator<br>action=status<br>passwd=XXXX<br> power_wait=&quot;60&quot;<br>lanplus=&quot;1&quot; out [] err [&#39;Failed: Unable to obtain correct plug status or plug is not available&#39;, &#39;&#39;, &#39;&#39;]<br>Thread-2201::DEBUG::2015-06-10 11:48:23,710::stompReactor::163::yajsonrpc.StompServer::(send) Sending response<br>JsonRpc (StompReactor)::DEBUG::2015-06-10 11:48:23,712::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message &lt;StompFrame command=&#39;SEND&#39;&gt;<br>JsonRpcServer::DEBUG::2015-06-10 11:48:23,713::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request<br>Thread-2202::DEBUG::2015-06-10 11:48:23,715::API::1209::vds::(fenceNode) fenceNode(addr=192.168.2.2,port=,agent=ipmilan,user=Administrator,passwd=XXXX,action=status,secure=False,options= power_wait=&quot;60&quot;<br>lanplus=&quot;1&quot;,policy=None)<br>Thread-2202::DEBUG::2015-06-10 11:48:23,715::utils::739::root::(execCmd) /usr/sbin/fence_ipmilan (cwd None)<br>Thread-2202::DEBUG::2015-06-10 11:48:23,781::utils::759::root::(execCmd) FAILED: &lt;err&gt; = &#39;Failed: Unable to obtain correct plug status or plug is not available\n\n\n&#39;; &lt;rc&gt; = 1<br>Thread-2202::DEBUG::2015-06-10 11:48:23,781::API::1164::vds::(fence) rc 1 inp agent=fence_ipmilan<br>ipaddr=192.168.2.2<br>login=Administrator<br>action=status<br>passwd=XXXX<br> power_wait=&quot;60&quot;<br>lanplus=&quot;1&quot; out [] err [&#39;Failed: Unable to obtain correct plug status or plug is not available&#39;, &#39;&#39;, &#39;&#39;]<br><br><br><br></div>I triple checked, I used the correct IPs and login password, the test in console works.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-10 10:31 GMT+01:00 Martin Perina <span dir="ltr">&lt;<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I just install engine 3.5.2 on Centos 7.1, added 2 Centos 7.1 hosts (both<br>
with ipmilan fence devices) and everything worked fine. I also tried to add<br>
options<br>
<span class=""><br>
  lanplus=&quot;1&quot;, power_wait=&quot;60&quot;<br>
<br>
</span>and even with them getting power status of hosts worked fine.<br>
<br>
So could you please check again settings of your hosts in webadmin?<br>
<br>
 hosted_engine1<br>
   PM address: IP address of ILO4 interface of the host hosted_engine1<br>
<br>
<br>
 hosted_engine2<br>
   PM address: IP address of ILO4 interface of the host hosted_engine2<br>
<br>
If the IP addresses are entered correctly, please allow DEBUG log for engine,<br>
execute test of PM settings for one host and attach logs from engine and<br>
VDSM logs from both hosts.<br>
<br>
Thanks<br>
<br>
Martin Perina<br>
<span class=""><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;wodel youchi&quot; &lt;<a href="mailto:wodel.youchi@gmail.com">wodel.youchi@gmail.com</a>&gt;<br>
&gt; To: &quot;users&quot; &lt;<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>
&gt; Sent: Tuesday, June 9, 2015 2:41:02 PM<br>
</span><div><div class="h5">&gt; Subject: [ovirt-users] [Centos7.1x64] [Ovirt 3.5.2] Test fence : Power management test failed for Host hosted_engine1<br>
&gt; Done<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have a weird problem with fencing<br>
&gt;<br>
&gt; I have a cluster of two HP DL380p G8 (ILO4)<br>
&gt;<br>
&gt; Centos7.1x64 and oVirt 3.5.2 ALL UPDATED<br>
&gt;<br>
&gt; I configured fencing first with ilo4 then ipmilan<br>
&gt;<br>
&gt; When testing fence from the engine I get : Succeeded, Unknown<br>
&gt;<br>
&gt; And in alerts tab I get : Power management test failed for Host<br>
&gt; hosted_engine1 Done (the same for host2)<br>
&gt;<br>
&gt; I tested with fence_ilo4 and fence_ipmilan and they report the result<br>
&gt; correctly<br>
&gt;<br>
&gt; # fence_ipmilan -P -a 192.168.2.2 -o status -l Administrator -p ertyuiop<br>
&gt; -vExecuting: /usr/bin/ipmitool -I lanplus -H 192.168.2.2 -U Administrator -P<br>
&gt; ertyuiop -p 623 -L ADMINISTRATOR chassis power status<br>
&gt;<br>
&gt; 0 Chassis Power is on<br>
&gt;<br>
&gt;<br>
&gt; Status: ON<br>
&gt;<br>
&gt;<br>
&gt; # fence_ilo4 -l Administrator -p ertyuiop -a 192.168.2.2 -o status -v<br>
&gt; Executing: /usr/bin/ipmitool -I lanplus -H 192.168.2.2 -U Administrator -P<br>
&gt; ertyuiop -p 623 -L ADMINISTRATOR chassis power status<br>
&gt;<br>
&gt; 0 Chassis Power is on<br>
&gt;<br>
&gt;<br>
&gt; Status: ON<br>
&gt;<br>
&gt; ----------------------------------<br>
&gt; These are the options passed to fence_ipmilan (I tested with the options and<br>
&gt; without them)<br>
&gt;<br>
&gt; lanplus=&quot;1&quot;, power_wait=&quot;60&quot;<br>
&gt;<br>
&gt;<br>
&gt; This is the engine log:<br>
&gt;<br>
&gt; 2015-06-09 13:35:29,287 INFO [org.ovirt.engine.core.bll.FenceExecutor]<br>
&gt; (ajp--127.0.0.1-8702-7) Using Host hosted_engine_2 from cluster Default as<br>
&gt; proxy to execute Status command on Host<br>
&gt; 2015-06-09 13:35:29,289 INFO [org.ovirt.engine.core.bll.FenceExecutor]<br>
&gt; (ajp--127.0.0.1-8702-7) Executing &lt;Status&gt; Power Management command, Proxy<br>
&gt; Host:hosted_engine_2, Agent:ipmilan, Target Host:, Management<br>
&gt; IP:192.168.2.2, User:Administrator, Options: power_wait=&quot;60&quot;,lanplus=&quot;1&quot;,<br>
&gt; Fencing policy:null<br>
&gt; 2015-06-09 13:35:29,306 INFO<br>
&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]<br>
&gt; (ajp--127.0.0.1-8702-7) START, FenceVdsVDSCommand(<br>
&gt; HostName = hosted_engine_2,<br>
&gt; HostId = 0192d1ac-b905-4660-b149-4bef578985dd,<br>
&gt; targetVdsId = cf2d1260-7bb3-451a-9cd7-80e6a0ede52a,<br>
&gt; action = Status,<br>
&gt; ip = 192.168.2.2,<br>
&gt; port = ,<br>
&gt; type = ipmilan,<br>
&gt; user = Administrator,<br>
&gt; password = ******,<br>
&gt; options = &#39; power_wait=&quot;60&quot;,lanplus=&quot;1&quot;&#39;,<br>
&gt; policy = &#39;null&#39;), log id: 24ce6206<br>
&gt; 2015-06-09 13:35:29,516 WARN<br>
&gt; [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]<br>
&gt; (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom Event<br>
&gt; ID: -1, Message: Power Management test failed for Host hosted_engine_1.Done<br>
&gt; 2015-06-09 13:35:29,516 INFO<br>
&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]<br>
&gt; (ajp--127.0.0.1-8702-7) FINISH, FenceVdsVDSCommand, return: Test Succeeded,<br>
</div></div>&gt; unknown , log id: 24ce6206<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt; and here the vdsm log from the proxy<br>
&gt;<br>
&gt; JsonRpcServer::DEBUG::2015-06-09<br>
&gt; 13:37:52,461::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting<br>
&gt; for request<br>
&gt; Thread-131907::DEBUG::2015-06-09 13:37:52,463::API::1209::vds::(fenceNode)<br>
&gt; fenceNode(addr=192.168.2.2,port=,agent=ipmilan,user=Administrator,passwd=XXXX,action=status,secure=False,options=<br>
&gt; power_wait=&quot;60&quot;<br>
&gt; lanplus=&quot;1&quot;,policy=None)<br>
&gt; Thread-131907::DEBUG::2015-06-09 13:37:52,463::utils::739::root::(execCmd)<br>
&gt; /usr/sbin/fence_ipmilan (cwd None)<br>
&gt; Thread-131907::DEBUG::2015-06-09 13:37:52,533::utils::759::root::(execCmd)<br>
&gt; FAILED: &lt;err&gt; = &#39;Failed: Unable to obtain correct plug status or plug is not<br>
&gt; available\n\n\n&#39;; &lt;rc&gt; = 1<br>
&gt; Thread-131907::DEBUG::2015-06-09 13:37:52,533::API::1164::vds::(fence) rc 1<br>
&gt; inp agent=fence_ipmilan<br>
&gt; ipaddr=192.168.2.2<br>
&gt; login=Administrator<br>
&gt; action=status<br>
&gt; passwd=XXXX<br>
&gt; power_wait=&quot;60&quot;<br>
&gt; lanplus=&quot;1&quot; out [] err [&#39;Failed: Unable to obtain correct plug status or plug<br>
&gt; is not available&#39;, &#39;&#39;, &#39;&#39;]<br>
&gt; Thread-131907::DEBUG::2015-06-09 13:37:52,533::API::1235::vds::(fenceNode) rc<br>
&gt; 1 in agent=fence_ipmilan<br>
&gt; ipaddr=192.168.2.2<br>
&gt; login=Administrator<br>
&gt; action=status<br>
&gt; passwd=XXXX<br>
&gt; power_wait=&quot;60&quot;<br>
&gt; lanplus=&quot;1&quot; out [] err [&#39; Failed: Unable to obtain correct plug status or<br>
&gt; plug is not available &#39;, &#39;&#39;, &#39;&#39;]<br>
&gt; Thread-131907::DEBUG::2015-06-09<br>
&gt; 13:37:52,534::stompReactor::163::yajsonrpc.StompServer::(send) Sending<br>
&gt; response<br>
&gt; Detector thread::DEBUG::2015-06-09<br>
&gt; 13:37:53,670::protocoldetector::187::vds.MultiProtocolAcceptor::(_add_connection)<br>
&gt; Adding connection from <a href="http://127.0.0.1:55761" target="_blank">127.0.0.1:55761</a><br>
&gt;<br>
&gt;<br>
&gt; VDSM rpms<br>
&gt; # rpm -qa | grep vdsm<br>
&gt; vdsm-cli-4.16.14-0.el7.noarch<br>
&gt; vdsm-python-zombiereaper-4.16.14-0.el7.noarch<br>
&gt; vdsm-xmlrpc-4.16.14-0.el7.noarch<br>
&gt; vdsm-yajsonrpc-4.16.14-0.el7.noarch<br>
&gt; vdsm-4.16.14-0.el7.x86_64<br>
&gt; vdsm-python-4.16.14-0.el7.noarch<br>
&gt; vdsm-jsonrpc-4.16.14-0.el7.noarch<br>
&gt;<br>
&gt; any idea?<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>