If I try connecting to 5.1 vCenter using wsdl_location="remote" I get this error:
Traceback (most recent call last):
File "/root/workspace/Tests/tests/psphere/test_psphere.py", line 22, in <module>
wsdl_location="remote")
File "/root/workspace/Tests/VENV/lib/python2.6/site-packages/psphere/client.py", line 116, in __init__
self.sc = self.si.RetrieveServiceContent()
File "/root/workspace/Tests/VENV/lib/python2.6/site-packages/psphere/__init__.py", line 355, in func
**kwargs)
File "/root/workspace/Tests/VENV/lib/python2.6/site-packages/psphere/client.py", line 188, in invoke
new_result = self._unmarshal(result)
File "/root/workspace/Tests/VENV/lib/python2.6/site-packages/psphere/client.py", line 268, in _unmarshal
kls = classmapper(sub_obj[1]._type)
File "/root/workspace/Tests/VENV/lib/python2.6/site-packages/psphere/managedobjects.py", line 1500, in classmapper
return classmap[name]
KeyError: ServiceManager
But it succeeds of I use wsdl_location="local".
Regards,
Litty