[Users] engine-iso-uploader problem

This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBD647546AB2CE461F047AC09 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 co= nnection. INFO: Use the -h option to see usage. I searched the code and found that at no position these variables are set= =2E 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 http= s connection is initialized via httplib.HTTPSConnection.__init__(self, host=3Dhost, port=3Dport, key_file= =3Dkey_file, cert_file=3Dcert_file, strict=3D= strict, timeout=3Dtimeout, source_address=3Dsource_address)= but in /usr/lib64/python2.6/httplib.py the class is defined as def __init__(self, host, port=3DNone, key_file=3DNone, cert_file=3DNone, strict=3DNone, timeout=3Dsocket._GLOBAL_DEFAULT_TIME= OUT) with no 'source_address'. Is my python version (python-2.6.6-29.el6_2.2.x= 86_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 --=20 Mail: tobias@vdkrone.de Info: http://tobias.vdkrone.de --------------enigBD647546AB2CE461F047AC09 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQRgW3AAoJEDEUhzqLMJeLayEIAKjU3BXfqCiN0gwOtAd488ap 5ZJ5PvuV+5k1lHVInTYiAftSwC7s2Z7HiwiS1wvepzLRZ/L+BmbHX6o+7wK+3pIu 62bCovqYgz+atE7snD1h14fwkZP/8CkO79hD5pAmbokYHczt54UPnDLBV2pi/wXj INaDfAEDML172Y2q77fvB2JtWuIl/2qcjujXGFc6f6RqiB2smEX8m1/jvbnkOLfv w00jYM8l0AW7CgbQU/IJNGJtD6fNheQ0utdwDvxVbJg2zlUjsu+GFQzjimONJY3u sogFahS05pZk72sIXP59TH0uo/zRkEHJgzilivkp7dnzTw7Jb03a1ChsKNUzCuM= =K5Nb -----END PGP SIGNATURE----- --------------enigBD647546AB2CE461F047AC09--

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@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://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------080104060702040303090100--

This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB7EC9819D2508A40A534894B Content-Type: multipart/alternative; boundary="------------000002000308020309050105" This is a multi-part message in MIME format. --------------000002000308020309050105 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 r= equired 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 h= ttps connection is initialized via
httplib.HTTPSConnection.__init__(self, host=3Dhost, port=3Dport, key_f= ile=3Dkey_file, cert_file=3Dcert_file, strict= =3Dstrict, timeout=3Dtimeout, source_address=3Dsource_addre= ss)
but in /usr/lib64/python2.6/httplib.py the class is defined as
def __init__(self, host, port=3DNone, key_file=3DNone, cert_file=3DNon= e, strict=3DNone, timeout=3Dsocket._GLOBAL_DEFAULT_T= IMEOUT)
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
--=20 Mail: tobias@vdkrone.de Info: http://tobias.vdkrone.de --------------000002000308020309050105 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3DISO-8859-1" http-equiv=3D"Content-Type"> </head> <body bgcolor=3D"#FFFFFF" text=3D"#000000"> <div class=3D"moz-cite-prefix">Hi Keith,<br> <br> thanks for the tip. It is working with the insecure flag set.<br> <br> Bye Tobias<br> <br> <br> On 09/04/2012 03:50 PM, Keith Robertson wrote:<br> </div> <blockquote cite=3D"mid:50460733.9040103@redhat.com" type=3D"cite"> <meta content=3D"text/html; charset=3DISO-8859-1" http-equiv=3D"Content-Type"> <div class=3D"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=3D"mid:504605B7.2070008@vdkrone.de" type=3D"cite">= <pre wrap=3D"">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 co= nnection. INFO: Use the -h option to see usage. I searched the code and found that at no position these variables are set= =2E 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 http= s connection is initialized via httplib.HTTPSConnection.__init__(self, host=3Dhost, port=3Dport, key_file= =3Dkey_file, cert_file=3Dcert_file, strict=3D= strict, timeout=3Dtimeout, source_address=3Dsource_address)= but in /usr/lib64/python2.6/httplib.py the class is defined as def __init__(self, host, port=3DNone, key_file=3DNone, cert_file=3DNone, strict=3DNone, timeout=3Dsocket._GLOBAL_DEFAULT_TIME= OUT) with no 'source_address'. Is my python version (python-2.6.6-29.el6_2.2.x= 86_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=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Users mailing list <a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" href=3D"ma= ilto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" href=3D"http:= //lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/= listinfo/users</a> </pre> </blockquote> <br> </blockquote> <br> <br> <pre class=3D"moz-signature" cols=3D"120">--=20 Mail: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:tobias@vdkrone= =2Ede">tobias@vdkrone.de</a> Info: <a class=3D"moz-txt-link-freetext" href=3D"http://tobias.vdkrone.de= ">http://tobias.vdkrone.de</a></pre> </body> </html> --------------000002000308020309050105-- --------------enigB7EC9819D2508A40A534894B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQRg19AAoJEDEUhzqLMJeLCHQH/0b1WuqhOfjOSGLYC6SgJD+f bMl0xaR2ZfnevAOqsst8Zhhpaj1hMqFFNJtj/JnajqS6/6TBiJCRgaAO5YDSyPRG H9wc4ymyRYYGgQXoavjNBGejqP6Wx0LhYpwDU0ZZ8Y9EmUT4HhIbt50BXuKWSMfZ peSzohMyo0hrVp/RfyuoXEclnnLFBqS4y3YttDw9Wu69olOi9IFQhzWn5g6J72G+ un2eyxXwqqdsb7CNeJZz/9T1/HWguXLrjuEzEozuuXlCLqmVFPuOMHxjS/Nx5WhC Ou7/5EqflTWdNtR3ref4zcn9E9pEktPnQ2Tlg/yD9TmjXG7ZDah0US1BR/WN5FY= =6OeJ -----END PGP SIGNATURE----- --------------enigB7EC9819D2508A40A534894B--
participants (2)
-
Keith Robertson
-
Tobias von der Krone