<div dir="ltr"><div><div><div><div>Hey Hideo,<br><br></div>Yes I&#39;m using the free license for testing 6.5 version. We do have full license on production server but it is for an older version. I will install a full version key and get back with info but I&#39;m sure after reading the info starting from your link that what you pointed out is the source of my issue.<br><br></div>Thank you for pointing that out.<br><br></div>Best regards<br></div>Octavian<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 2, 2017 at 10:55 AM,  <span dir="ltr">&lt;<a href="mailto:renayama19661014@ybb.ne.jp" target="_blank">renayama19661014@ybb.ne.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Octavian,<br>
<br>
Are you possibly using the free version of ESXi? <br>
On the free version of ESXi, the operation on or off fails.<br>
<br>
The same phenomenon also occurs in connection with virsh.<br>
<br>
 - <a href="https://communities.vmware.com/thread/542433" rel="noreferrer" target="_blank">https://communities.vmware.<wbr>com/thread/542433</a><br>
<br>
Best Regards,<br>
Hideo Yamauchi.<br>
<div class="HOEnZb"><div class="h5">----- Original Message -----<br>
&gt;From: Octavian Ciobanu &lt;<a href="mailto:coctavian1979@gmail.com">coctavian1979@gmail.com</a>&gt;<br>
&gt;To: Cluster Labs - All topics related to open-source clustering welcomed &lt;<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>&gt;<br>
&gt;Date: 2017/8/1, Tue 23:07<br>
&gt;Subject: Re: [ClusterLabs] Antw: fence_vmware_soap: reads VM status but fails to reboot/on/off<br>
&gt;<br>
&gt;<br>
&gt;Hey Marek,<br>
&gt;<br>
&gt;I&#39;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" rel="noreferrer" target="_blank">https://cloud.iwgate.com/<wbr>index.php/s/1SpZlG8mBSR1dNE</a><br>
&gt;<br>
&gt;Interesting thing is that at the end of the file I found &quot;Unable to connect/login to fencing device&quot; instead of &quot;Failed: Timed out waiting to power OFF&quot;<br>
&gt;<br>
&gt;As information about my test rig:<br>
&gt; Host OS: VMware ESXi 6.5 Hypervisor<br>
&gt; Guest OS: Centos 7.3.1611 minimal with the latest updates<br>
&gt; Fence agents installed with yum :<br>
&gt;    fence-agents-hpblade-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-rsa-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-ilo-moonshot-4.0.<wbr>11-47.el7_3.5.x86_64<br>
&gt;    fence-agents-rhevm-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-virt-0.3.2-5.el7.x86_64<br>
&gt;    fence-agents-mpath-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-ibmblade-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-ipdu-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-common-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-rsb-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-ilo-ssh-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-bladecenter-4.0.<wbr>11-47.el7_3.5.x86_64<br>
&gt;    fence-agents-drac5-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-brocade-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-wti-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-compute-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-eps-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-cisco-ucs-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-intelmodular-4.0.<wbr>11-47.el7_3.5.x86_64<br>
&gt;    fence-agents-eaton-snmp-4.0.<wbr>11-47.el7_3.5.x86_64<br>
&gt;    fence-agents-cisco-mds-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-apc-snmp-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-ilo2-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-all-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-vmware-soap-4.0.<wbr>11-47.el7_3.5.x86_64<br>
&gt;    fence-agents-ilo-mp-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-apc-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-emerson-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-ipmilan-4.0.11-<wbr>47.el7_3.5.x86_64<br>
&gt;    fence-agents-ifmib-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-kdump-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;    fence-agents-scsi-4.0.11-47.<wbr>el7_3.5.x86_64<br>
&gt;<br>
&gt;Thank you<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;On Tue, Aug 1, 2017 at 2:22 PM, Marek Grac &lt;<a href="mailto:mgrac@redhat.com">mgrac@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;Hi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; But when I call any of the power actions (on, off, reboot) I get &quot;Failed:<br>
&gt;&gt;&gt;&gt; Timed out waiting to power OFF&quot;.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;ve tried with all the combinations of --power-timeout and --power-wait<br>
&gt;&gt;&gt;&gt; and same error without any change in the response time.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Any ideas from where or how to fix this issue ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;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. <br>
&gt;&gt;<br>
&gt;&gt;&gt;I suspect &quot;power off&quot; 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&#39;t use VMware, but maybe there&#39;s a &quot;reset&quot; action that presses the virtual reset button of the virtual hardware... ;-)<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;There should not be a fence agent that will do soft reboot. The &#39;reset&#39; action does  power off/check status/power on so we are sure that machine was really down (of course unless --method cycle when &#39;reboot&#39; button is used).<br>
&gt;&gt;<br>
&gt;&gt;m,<br>
&gt;&gt;____________________________<wbr>__ _________________<br>
&gt;&gt;Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt;&gt;<a href="http://lists.clusterlabs.org/" rel="noreferrer" target="_blank">http://lists.clusterlabs.<wbr>org/</a> mailman/listinfo/users<br>
&gt;&gt;<br>
&gt;&gt;Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt;&gt;Getting started: <a href="http://www.clusterlabs.org/" rel="noreferrer" target="_blank">http://www.clusterlabs.org/</a> doc/Cluster_from_Scratch.pdf<br>
&gt;&gt;Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;_____________________________<wbr>__________________<br>
&gt;Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt;<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
&gt;<br>
&gt;Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt;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>
&gt;Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<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>
</div></div></blockquote></div><br></div>