<div dir="ltr"><div><div><div><div><div><div>Hey Marek,<br><br>I've run the command with --action off and uploaded the file on one of our servers : <a href="https://cloud.iwgate.com/index.php/s/1SpZlG8mBSR1dNE">https://cloud.iwgate.com/index.php/s/1SpZlG8mBSR1dNE</a><br><br></div>Interesting thing is that at the end of the file I found "Unable to connect/login to fencing device" instead of "Failed: Timed out waiting to power OFF"<br><br></div>As information about my test rig:<br></div> Host OS: VMware ESXi 6.5 Hypervisor<br></div> Guest OS: Centos 7.3.1611 minimal with the latest updates<br></div> Fence agents installed with yum : <br>    fence-agents-hpblade-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-rsa-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ilo-moonshot-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-rhevm-4.0.11-47.el7_3.5.x86_64<br>    fence-virt-0.3.2-5.el7.x86_64<br>    fence-agents-mpath-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ibmblade-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ipdu-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-common-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-rsb-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ilo-ssh-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-bladecenter-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-drac5-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-brocade-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-wti-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-compute-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-eps-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-cisco-ucs-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-intelmodular-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-eaton-snmp-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-cisco-mds-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-apc-snmp-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ilo2-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-all-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-vmware-soap-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ilo-mp-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-apc-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-emerson-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ipmilan-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-ifmib-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-kdump-4.0.11-47.el7_3.5.x86_64<br>    fence-agents-scsi-4.0.11-47.el7_3.5.x86_64<br><br></div>Thank you<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 1, 2017 at 2:22 PM, Marek Grac <span dir="ltr"><<a href="mailto:mgrac@redhat.com" target="_blank">mgrac@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>> But when I call any of the power actions (on, off, reboot) I get "Failed:<br>
> Timed out waiting to power OFF".<br>
><br>
> I've tried with all the combinations of --power-timeout and --power-wait<br>
> and same error without any change in the response time.<br>
><br>
> Any ideas from where or how to fix this issue ?<br></span></blockquote><div><br></div></span><div>No, you have used the right options and if they were high enough it should work. You can try to post verbose (anonymized) output and we can take a look at it more deeply.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
<br>
</span>I suspect "power off" is actually a virtual press of the ACPI power button (reboot likewise), so your VM tries to shut down cleanly. That could take time, and it could hang (I guess). I don't use VMware, but maybe there's a "reset" action that presses the virtual reset button of the virtual hardware... ;-)<br></blockquote><div><br></div></span><div>There should not be a fence agent that will do soft reboot. The 'reset' action does  power off/check status/power on so we are sure that machine was really down (of course unless --method cycle when 'reboot' button is used).</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>m,</div></font></span></div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>