pysphere icon indicating copy to clipboard operation
pysphere copied to clipboard

Attempting to get a list of alerts yields [InvalidPropertyFault]

Open GoogleCodeExporter opened this issue 11 years ago • 0 comments

What steps will reproduce the problem?
1.server = VIServer()
2.server.connect(vcenter, user, pass)
3.alarms = server._get_managed_objects(MORTypes.Alarm)

What is the expected output? What do you see instead?
A dict of alarm MOR's as keys and alarm names as values.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/vi_server.py", line 792, in _get_managed_objects
  File "build/bdist.linux-x86_64/egg/pysphere/vi_server.py", line 720, in _retrieve_properties_traversal
pysphere.resources.vi_exception.VIApiException: [InvalidPropertyFault]: 



What version of the product are you using? On what operating system?
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
>>> from pysphere import version
>>> print version
<module 'pysphere.version' from 
'/usr/local/lib/python2.7/dist-packages/pysphere-0.1.8-py2.7.egg/pysphere/versio
n.pyc'>



Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Mar 2015 at 11:30

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter