Hi Tifoso,
The script relies on VMware vSphere API to collect system configurations. Based on the error message, the script is unable to retrieve the data via VMomi from your ESXi 4.0 servers. I believe it's due to either Vmoni is not supported in ESXi 4.0 or not compatible with the latest version.
Sorry,
Heejeong
Hi All ,
I have tried to check my ESXI4.0 standalone server for migration to 5.5. I got following error if I try to connect (python = 3.7 on WinOS10).
Please help. thank you
Created VCHost192.168.110.110
> Connecting host 192.168.110.110Host 192.168.110.110 connected
> collecting host information...
Please wait, this may take few minutes depending on the number of ESXi hosts...Created RootFolderN/A [ERROR]
Failed to retrieve VMomi content: [Exception] (vmodl.fault.MethodNotFound) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = <unset>,
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [],
receiver = 'vmodl.query.PropertyCollector:ha-property-collector',
method = 'RetrievePropertiesEx'
}
[Exception] (vmodl.fault.MethodNotFound) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = <unset>,
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [],
receiver = 'vmodl.query.PropertyCollector:ha-property-collector',
method = 'RetrievePropertiesEx'
}
[' File "C:\\Temp\\Vmware\\compchecker_v1_10066133\\compchecker_v1_10066133\\tools\\hostaccess.py", line 146, in collect_hostinfo\n self.rootfolder = RootFolder(self.content.rootFolder)\n', ' File "C:\\Temp\\Vmware\\compchecker_v1_10066133\\compchecker_v1_10066133\\tools\\hostaccess.py", line 168, in __init__\n self.child_entity = rootfolder.childEntity\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\VmomiSupport.py", line 700, in __call__\n return self.f(*args, **kwargs)\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\VmomiSupport.py", line 520, in _InvokeAccessor\n return self._stub.InvokeAccessor(self, info)\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\StubAdapterAccessorImpl.py", line 42, in InvokeAccessor\n options=self._pcType.RetrieveOptions(maxObjects=1))\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\VmomiSupport.py", line 706, in <lambda>\n self.f(*(self.args + (obj,) + args), **kwargs)\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\VmomiSupport.py", line 512, in _InvokeMethod\n return self._stub.InvokeMethod(self, info, args)\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\SoapAdapter.py", line 1345, in InvokeMethod\n req = self.SerializeRequest(mo, info, args)\n', ' File "C:\\Program Files\\Python37\\lib\\site-packages\\pyVmomi\\SoapAdapter.py", line 914, in SerializeRequest\n method=info.name)\n']