This is a multi-part message in MIME format.
--------------080104060702040303090100
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--------------080104060702040303090100
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">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.<br>
<br>
Previously, the verification of the endpoint was optional, now it
is required or you must supply the "insecure" flag.<br>
<br>
<br>
On 09/04/2012 09:44 AM, Tobias von der Krone wrote:<br>
</div>
<blockquote cite="mid:504605B7.2070008@vdkrone.de"
type="cite">
<pre wrap="">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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</pre>
</blockquote>
<br>
</body>
</html>
--------------080104060702040303090100--