<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 <Status> Power Management command, Proxy Host:hosted_engine_2, Agent:ipmilan, Target Host:, Management IP:192.168.2.2, User:Administrator, Options: power_wait="60",lanplus="1", 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 = ' power_wait="60",lanplus="1"', policy = 'null'), 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 <Status> Power Management command, Proxy Host:hosted_engine_2, Agent:ipmilan, Target Host:, Management IP:192.168.2.2, User:Administrator, Options: power_wait="60",lanplus="1", 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 = ' power_wait="60",lanplus="1"', policy = 'null'), 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="60"<br>lanplus="1",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: <err> = 'Failed: Unable to obtain correct plug status or plug is not available\n\n\n</b>'; <rc> = 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="60"<br>lanplus="1" out [] err ['Failed: Unable to obtain correct plug status or plug is not available', '', '']<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="60"<br>lanplus="1" out [] err ['Failed: Unable to obtain correct plug status or plug is not available', '', '']<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 <StompFrame command='SEND'><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="60"<br>lanplus="1",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: <err> = 'Failed: Unable to obtain correct plug status or plug is not available\n\n\n'; <rc> = 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="60"<br>lanplus="1" out [] err ['Failed: Unable to obtain correct plug status or plug is not available', '', '']<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"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></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="1", power_wait="60"<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>
> From: "wodel youchi" <<a href="mailto:wodel.youchi@gmail.com">wodel.youchi@gmail.com</a>><br>
> To: "users" <<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>><br>
> Sent: Tuesday, June 9, 2015 2:41:02 PM<br>
</span><div><div class="h5">> Subject: [ovirt-users] [Centos7.1x64] [Ovirt 3.5.2] Test fence : Power management test failed for Host hosted_engine1<br>
> Done<br>
><br>
> Hi,<br>
><br>
> I have a weird problem with fencing<br>
><br>
> I have a cluster of two HP DL380p G8 (ILO4)<br>
><br>
> Centos7.1x64 and oVirt 3.5.2 ALL UPDATED<br>
><br>
> I configured fencing first with ilo4 then ipmilan<br>
><br>
> When testing fence from the engine I get : Succeeded, Unknown<br>
><br>
> And in alerts tab I get : Power management test failed for Host<br>
> hosted_engine1 Done (the same for host2)<br>
><br>
> I tested with fence_ilo4 and fence_ipmilan and they report the result<br>
> correctly<br>
><br>
> # fence_ipmilan -P -a 192.168.2.2 -o status -l Administrator -p ertyuiop<br>
> -vExecuting: /usr/bin/ipmitool -I lanplus -H 192.168.2.2 -U Administrator -P<br>
> ertyuiop -p 623 -L ADMINISTRATOR chassis power status<br>
><br>
> 0 Chassis Power is on<br>
><br>
><br>
> Status: ON<br>
><br>
><br>
> # fence_ilo4 -l Administrator -p ertyuiop -a 192.168.2.2 -o status -v<br>
> Executing: /usr/bin/ipmitool -I lanplus -H 192.168.2.2 -U Administrator -P<br>
> ertyuiop -p 623 -L ADMINISTRATOR chassis power status<br>
><br>
> 0 Chassis Power is on<br>
><br>
><br>
> Status: ON<br>
><br>
> ----------------------------------<br>
> These are the options passed to fence_ipmilan (I tested with the options and<br>
> without them)<br>
><br>
> lanplus="1", power_wait="60"<br>
><br>
><br>
> This is the engine log:<br>
><br>
> 2015-06-09 13:35:29,287 INFO [org.ovirt.engine.core.bll.FenceExecutor]<br>
> (ajp--127.0.0.1-8702-7) Using Host hosted_engine_2 from cluster Default as<br>
> proxy to execute Status command on Host<br>
> 2015-06-09 13:35:29,289 INFO [org.ovirt.engine.core.bll.FenceExecutor]<br>
> (ajp--127.0.0.1-8702-7) Executing <Status> Power Management command, Proxy<br>
> Host:hosted_engine_2, Agent:ipmilan, Target Host:, Management<br>
> IP:192.168.2.2, User:Administrator, Options: power_wait="60",lanplus="1",<br>
> Fencing policy:null<br>
> 2015-06-09 13:35:29,306 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]<br>
> (ajp--127.0.0.1-8702-7) START, FenceVdsVDSCommand(<br>
> HostName = hosted_engine_2,<br>
> HostId = 0192d1ac-b905-4660-b149-4bef578985dd,<br>
> targetVdsId = cf2d1260-7bb3-451a-9cd7-80e6a0ede52a,<br>
> action = Status,<br>
> ip = 192.168.2.2,<br>
> port = ,<br>
> type = ipmilan,<br>
> user = Administrator,<br>
> password = ******,<br>
> options = ' power_wait="60",lanplus="1"',<br>
> policy = 'null'), log id: 24ce6206<br>
> 2015-06-09 13:35:29,516 WARN<br>
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]<br>
> (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom Event<br>
> ID: -1, Message: Power Management test failed for Host hosted_engine_1.Done<br>
> 2015-06-09 13:35:29,516 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]<br>
> (ajp--127.0.0.1-8702-7) FINISH, FenceVdsVDSCommand, return: Test Succeeded,<br>
</div></div>> unknown , log id: 24ce6206<br>
<div class="HOEnZb"><div class="h5">><br>
><br>
> and here the vdsm log from the proxy<br>
><br>
> JsonRpcServer::DEBUG::2015-06-09<br>
> 13:37:52,461::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting<br>
> for request<br>
> Thread-131907::DEBUG::2015-06-09 13:37:52,463::API::1209::vds::(fenceNode)<br>
> fenceNode(addr=192.168.2.2,port=,agent=ipmilan,user=Administrator,passwd=XXXX,action=status,secure=False,options=<br>
> power_wait="60"<br>
> lanplus="1",policy=None)<br>
> Thread-131907::DEBUG::2015-06-09 13:37:52,463::utils::739::root::(execCmd)<br>
> /usr/sbin/fence_ipmilan (cwd None)<br>
> Thread-131907::DEBUG::2015-06-09 13:37:52,533::utils::759::root::(execCmd)<br>
> FAILED: <err> = 'Failed: Unable to obtain correct plug status or plug is not<br>
> available\n\n\n'; <rc> = 1<br>
> Thread-131907::DEBUG::2015-06-09 13:37:52,533::API::1164::vds::(fence) rc 1<br>
> inp agent=fence_ipmilan<br>
> ipaddr=192.168.2.2<br>
> login=Administrator<br>
> action=status<br>
> passwd=XXXX<br>
> power_wait="60"<br>
> lanplus="1" out [] err ['Failed: Unable to obtain correct plug status or plug<br>
> is not available', '', '']<br>
> Thread-131907::DEBUG::2015-06-09 13:37:52,533::API::1235::vds::(fenceNode) rc<br>
> 1 in agent=fence_ipmilan<br>
> ipaddr=192.168.2.2<br>
> login=Administrator<br>
> action=status<br>
> passwd=XXXX<br>
> power_wait="60"<br>
> lanplus="1" out [] err [' Failed: Unable to obtain correct plug status or<br>
> plug is not available ', '', '']<br>
> Thread-131907::DEBUG::2015-06-09<br>
> 13:37:52,534::stompReactor::163::yajsonrpc.StompServer::(send) Sending<br>
> response<br>
> Detector thread::DEBUG::2015-06-09<br>
> 13:37:53,670::protocoldetector::187::vds.MultiProtocolAcceptor::(_add_connection)<br>
> Adding connection from <a href="http://127.0.0.1:55761" target="_blank">127.0.0.1:55761</a><br>
><br>
><br>
> VDSM rpms<br>
> # rpm -qa | grep vdsm<br>
> vdsm-cli-4.16.14-0.el7.noarch<br>
> vdsm-python-zombiereaper-4.16.14-0.el7.noarch<br>
> vdsm-xmlrpc-4.16.14-0.el7.noarch<br>
> vdsm-yajsonrpc-4.16.14-0.el7.noarch<br>
> vdsm-4.16.14-0.el7.x86_64<br>
> vdsm-python-4.16.14-0.el7.noarch<br>
> vdsm-jsonrpc-4.16.14-0.el7.noarch<br>
><br>
> any idea?<br>
><br>
> Thanks in advance.<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br></div>