<div dir="ltr"><div><div>Hi Shahar,<br><br>I have downloaded the ovirt Python library from <a href="http://www.ovirt.org/Python-sdk">http://www.ovirt.org/Python-sdk</a> and trying to list out the vms but i am getting the following error<br>
<br>---------------------------------------------------------------------------------------------------------------------------<br> File "build/bdist.linux-x86_64/egg/ovirtsdk/api.py", line 145, in __init__<br> File "build/bdist.linux-x86_64/egg/ovirtsdk/infrastructure/proxy.py", line 118, in request<br>
File "build/bdist.linux-x86_64/egg/ovirtsdk/infrastructure/proxy.py", line 144, in __doRequest<br> File "build/bdist.linux-x86_64/egg/ovirtsdk/infrastructure/proxy.py", line 157, in __xml2py<br>ovirtsdk.infrastructure.errors.FormatError: [ERROR]::Server reply is in inappropriate format.<br>
----------------------------------------------------------------------------------------------------------------------<br><br></div>The following code is used for displaying the vms <br><br>api = API('http://<ip>:443/api', 'usernamel','password')<br>
<br>vms1 = api.vms.list()<br>print vms1<br><br></div>Could you please check it if any issues with it ? Also is it necessary to give secure connection ? <br><br><br></div>