DiegoSanjuan / pysphere

Automatically exported from code.google.com/p/pysphere
0 stars 0 forks source link

get_datastores InvalidPropertyFault #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 fwitteki...@gmail.com on 9 May 2013 at 3:13

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

Original comment by oha...@gmail.com on 15 Jun 2013 at 6:08