pysphere icon indicating copy to clipboard operation
pysphere copied to clipboard

get_datastores InvalidPropertyFault

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

What steps will reproduce the problem?
for ds, name in server.get_datastores().items():

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "./check_vsphere.py", line 195, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./check_vsphere.py", line 56, in main
    return datastore(server, warning, critical)
  File "./check_vsphere.py", line 170, in datastore
    for ds, name in server.get_datastores().items():
  File "/usr/lib/python2.6/site-packages/pysphere/vi_server.py", line 189, in get_datastores
    return self._get_managed_objects(MORTypes.Datastore, from_mor)
  File "/usr/lib/python2.6/site-packages/pysphere/vi_server.py", line 759, in _get_managed_objects
    obj_type=mo_type)
  File "/usr/lib/python2.6/site-packages/pysphere/vi_server.py", line 687, in _retrieve_properties_traversal
    raise VIApiException(e)
pysphere.resources.vi_exception.VIApiException: [InvalidPropertyFault]:


What version of the product are you using? On what operating system?
Machine being queried by script is ESXi 3.5.0
Machine running script is CentOS 6

Please provide any additional information below.
Code works against newer ESXi machine.

Original issue reported on code.google.com by [email protected] on 9 May 2013 at 3:13

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

According "VMware Lifecycle Product Matrix" ESX(i)3.5 has reached 
 End of Extended Support: 2013/05/21

Original comment by [email protected] on 15 Jun 2013 at 6:08

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter