[ovirt-devel] ovirtsdk.infrastructure.errors.ConnectionError

Juan Hernandez jhernand at redhat.com
Thu Aug 21 15:36:47 UTC 2014


On 08/21/2014 04:51 PM, Denis Kirjanov wrote:
> It's python SDK (embedded in C code), version 3.1
> 

Edit the
/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py file
and add the following two lines right before line 169:

    import traceback
    traceback.print_exc()

That should print some additional information about the origin of the error.

> ----- Исходное сообщение -----
> От: "Juan Hernandez" <jhernand at redhat.com>
> Кому: "Denis Kirjanov" <kda at itsirius.su>, devel at ovirt.org
> Отправленные: Четверг, 21 Август 2014 г 18:43:12
> Тема: Re: [ovirt-devel] ovirtsdk.infrastructure.errors.ConnectionError
> 
> On 08/21/2014 04:36 PM, Denis Kirjanov wrote:
>> I'm having problem connecting from terminal session (not X session)
>> Everything works perfectly well from the X session.
>>
>> One of my pam modules connects to vm manager, but triggers the following error:
>>
>> File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 169, in __doRequest
>>     raise ConnectionError, str(e)
>> ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::Connection failure, [Errno 13] Permission denied
>>
>> I can't figure out what the reason is
>>
> 
> Are you using only the Python SDK or also the CLI? What versions?
> 


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.



More information about the Devel mailing list