Hi Keith, thanks for the tip. It is working with the insecure flag set.
Bye Tobias On 09/04/2012 03:50 PM, Keith Robertson wrote: > The SDK changed it's interface in a recent build. The tools need to be > updated to reflect this. I should have this > done shortly. > > Previously, the verification of the endpoint was optional, now it is > required or you must supply the "insecure" flag. > > > On 09/04/2012 09:44 AM, Tobias von der Krone wrote: >> Hi, >> >> If I try to list the iso domains I get the following error: >> >> # engine-iso-uploader list >> ERROR: [ERROR]::key_file, cert_file, ca_file must be specified for SSL >> connection. >> INFO: Use the -h option to see usage. >> >> I searched the code and found that at no position these variables are set. >> Opening the api url in the browser and typing >> username and password I get the xml file. Also I found that in >> /usr/lib/python2.6/site-packages/ovirtsdk/web/httpsconnection.py the https >> connection is initialized via >> >> httplib.HTTPSConnection.__init__(self, host=host, port=port, >> key_file=key_file, >> cert_file=cert_file, strict=strict, >> timeout=timeout, >> source_address=source_address) >> >> but in /usr/lib64/python2.6/httplib.py the class is defined as >> >> def __init__(self, host, port=None, key_file=None, cert_file=None, >> strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT) >> >> with no 'source_address'. Is my python version >> (python-2.6.6-29.el6_2.2.x86_64) too old? >> >> I have the following packages installed: >> # rpm -qa | grep ovirt >> ovirt-log-collector-3.1.0-21.el6.noarch >> ovirt-engine-backend-3.1.0-3.22.el6.noarch >> ovirt-engine-config-3.1.0-3.22.el6.noarch >> ovirt-engine-webadmin-portal-3.1.0-3.22.el6.noarch >> ovirt-iso-uploader-3.1.0-21.el6.noarch >> ovirt-engine-cli-3.1.0.7-1.el6.noarch >> ovirt-engine-jbossas711-1-0.x86_64 >> ovirt-engine-restapi-3.1.0-3.22.el6.noarch >> ovirt-engine-setup-3.1.0-3.22.el6.noarch >> ovirt-engine-tools-common-3.1.0-3.22.el6.noarch >> ovirt-engine-dbscripts-3.1.0-3.22.el6.noarch >> ovirt-engine-3.1.0-3.22.el6.noarch >> ovirt-engine-sdk-3.1.0.6-1.el6.noarch >> ovirt-image-uploader-3.1.0-21.el6.noarch >> ovirt-engine-genericapi-3.1.0-3.22.el6.noarch >> ovirt-engine-notification-service-3.1.0-3.22.el6.noarch >> ovirt-engine-userportal-3.1.0-3.22.el6.noarch >> >> >> Bye Tobias >> >> >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > -- Mail: tob...@vdkrone.de Info: http://tobias.vdkrone.de
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users