pyvmomi SDK version: 6.5.0.2017.5.post1
1. Initial collector version is empty
2. WaitForUpdatesEx returned update set with out truncated and returned collector version as 1.
3. For next poll passing collector version 1 to WaitForUpdatesEx is returning InvalidCollectorVersion exception.
Log snippet
<<<
2021-02-11 17:25:45,954 543:INFO:vcenter.vcenter_collector:collector property collector version --> Initial collector version is empty
2021-02-11 17:25:46,578 543:INFO:vcenter.vcenter_collector:maiden update FINISHED!!!! -------> WaitForUpdatesEx returned update set with out truncated and returned collector version as 1.
2021-02-11 17:26:15,956 543:INFO:vcenter.vcenter_collector:collector property collector version 1 -----> For next poll passing collector version 1 is returing the following the exception
2021-02-11 17:26:15,960 543:ERROR:infra.AosCollectorPluginPoller:0> [virtual_infra] Plugin.collect raised exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nfra/AosCollectorPluginPoller.py", line 210, in call_plugin_collect
self.plugin.collect()
File "/usr/lib/python2.7/dist-packages/vcenter/vcenter_collector.py", line 102, in collect
self.property_collector_version, options=waitopts)
File "/usr/local/lib/python2.7/dist-packages/pyVmomi/VmomiSupport.py", line 580, in <lambda>
self.f(*(self.args + (obj,) + args), **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyVmomi/VmomiSupport.py", line 386, in _InvokeMethod
return self._stub.InvokeMethod(self, info, args)
File "/usr/local/lib/python2.7/dist-packages/pyVmomi/SoapAdapter.py", line 1366, in InvokeMethod
raise obj # pylint: disable-msg=E0702
vmodl.query.InvalidCollectorVersion: (vmodl.query.InvalidCollectorVersion) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = '',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) []
}
>>>
Any suggestion in resolving the issue will be of great help.