<div dir="ltr">Hi,<div><br></div><div class="gmail_extra">you can try to raise value of --power-timeout from default (20 seconds), also you can add -v to have verbose output. </div><div class="gmail_extra"><br></div><div class="gmail_extra">As long as you have same version of fence-agents-common and fence-agents-vmware, there should be no issues. </div><div class="gmail_extra"><br></div><div class="gmail_extra">m,</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 1, 2016 at 11:31 AM, Kevin THIERRY <span dir="ltr"><<a href="mailto:kevin.thierry.citlao@gmail.com" target="_blank">kevin.thierry.citlao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello !<br>
<br>
I'm trying to fence my nodes using fence_vmware_soap but it fails to
shutdown or reboot my VMs. I can get the list of the VMs on a host
or query the status of a specific VM without problem:<br>
<br>
# fence_vmware_soap -a 10.5.200.20 -l root -p "******" -z
--ssl-insecure -4 -n laa-billing-backup -o status<br>
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769:
InsecureRequestWarning: <br>
Unverified HTTPS request is being made. Adding certificate
verification is strongly advised. See:
<a href="https://urllib3.readthedocs.org/en/latest/security.html" target="_blank">https://urllib3.readthedocs.org/en/latest/security.html</a><br>
InsecureRequestWarning)<br>
Status: ON<br>
<br>
However, trying to shutdown or to reboot a VM fails:<br>
<br>
# fence_vmware_soap -a 10.5.200.20 -l root -p "******" -z
--ssl-insecure -4 -n laa-billing-backup -o reboot<br>
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769:
InsecureRequestWarning: Unverified HTTPS request is being made.
Adding certificate verification is strongly advised. See:
<a href="https://urllib3.readthedocs.org/en/latest/security.html" target="_blank">https://urllib3.readthedocs.org/en/latest/security.html</a><br>
InsecureRequestWarning)<br>
Failed: Timed out waiting to power OFF<br>
<br>
On the ESXi I get the following logs in /var/log/hostd.log:<br>
<br>
[LikewiseGetDomainJoinInfo:355] QueryInformation():
ERROR_FILE_NOT_FOUND (2/0):<br>
Accepted password for user root from 10.5.200.12<br>
2016-07-01T08:49:50.911Z info hostd[34380B70] [Originator@6876
sub=Vimsvc.ha-eventmgr opID=47defdf1] Event 190 : User
<a href="mailto:root@10.5.200.12" target="_blank">root@10.5.200.12</a> logged in as python-requests/2.6.0 CPython/2.7.5
Linux/3.10.0-327.18.2.el7.x86_64<br>
2016-07-01T08:49:50.998Z info hostd[32F80B70] [Originator@6876
sub=Vimsvc.TaskManager opID=47defdf4 user=root] Task Created :
haTask--vim.SearchIndex.findByUuid-2513<br>
2016-07-01T08:49:50.999Z info hostd[32F80B70] [Originator@6876
sub=Vimsvc.TaskManager opID=47defdf4 user=root] Task Completed :
haTask--vim.SearchIndex.findByUuid-2513 Status success<br>
2016-07-01T08:49:51.009Z info hostd[32F80B70] [Originator@6876
sub=Solo.Vmomi opID=47defdf6 user=root] Activation
[N5Vmomi10ActivationE:0x34603c28] : Invoke done [powerOff] on
[vim.VirtualMachine:3]<br>
2016-07-01T08:49:51.009Z info hostd[32F80B70] [Originator@6876
sub=Solo.Vmomi opID=47defdf6 user=root] Throw
vim.fault.RestrictedVersion<br>
2016-07-01T08:49:51.009Z info hostd[32F80B70] [Originator@6876
sub=Solo.Vmomi opID=47defdf6 user=root] Result:<br>
--> (vim.fault.RestrictedVersion) {<br>
--> faultCause = (vmodl.MethodFault) null,<br>
--> msg = ""<br>
--> }<br>
2016-07-01T08:49:51.027Z info hostd[34380B70] [Originator@6876
sub=Vimsvc.ha-eventmgr opID=47defdf7 user=root] Event 191 : User
<a href="mailto:root@10.5.200.12" target="_blank">root@10.5.200.12</a> logged out (login time: Friday, 01 July, 2016
08:49:50, number of API invocations: 0, user agent:
python-requests/2.6.0 CPython/2.7.5
Linux/3.10.0-327.18.2.el7.x86_64)<br>
<br>
<br>
I am wondering if there is some kind of compatibility issue. I am
using fence-agents-vmware-soap 4.0.11 on CentOS 7.2.1511 and ESXi
6.0.0 Build 2494585.<br>
Any ideas about that issue?<br>
<br>
Best regards,<span class="HOEnZb"><font color="#888888"><br>
<pre cols="72">--
Kevin THIERRY
IT System Engineer
CIT Lao Ltd. – A.T.M.
PO Box 10082
Vientiane Capital – Lao P.D.R.
Cell : +856 (0)20 2221 8623
<a href="mailto:kevin.thierry.citlao@gmail.com" target="_blank">kevin.thierry.citlao@gmail.com</a></pre>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/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/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></div>