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
Original issue reported on code.google.com by
fwitteki...@gmail.com
on 9 May 2013 at 3:13