<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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 class="moz-txt-link-freetext" href="https://urllib3.readthedocs.org/en/latest/security.html">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 class="moz-txt-link-freetext" href="https://urllib3.readthedocs.org/en/latest/security.html">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 class="moz-txt-link-abbreviated" href="mailto:root@10.5.200.12">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 class="moz-txt-link-abbreviated" href="mailto:root@10.5.200.12">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,<br>
<pre class="moz-signature" 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 class="moz-txt-link-abbreviated" href="mailto:kevin.thierry.citlao@gmail.com">kevin.thierry.citlao@gmail.com</a></pre>
</body>
</html>