This is a multi-part message in MIME format.
--------------000900070906060205040108
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
I've done some testing with ovirt-engine-sdk-3.2.0.10-1.fc18.noarch
running python:
>> from ovirtsdk.api import API
>> api = API(url='http://ovirt.local/api',
username='admin@internal',
password='*******)
leads to:
UnsecuredConnectionAttemptError: [ERROR]::No response returned from
server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.
So engine is not running on http on my server.
Can you check your server?
--
Sandro
Il 21/03/2013 15:40, Sandro Bonazzola ha scritto:
Hi,
Can you try to execute the following command?
$ sudo ls -la /etc/pki/ovirt-engine/ca.pem
Also if it seems strange it need ca.pem without ssl.
Can you try also:
$ sudo engine-iso-uploader -v --nossl --insecure list
--
Sandro
Il 21/03/2013 15:20, Yuval M ha scritto:
> Hi,
>
> I'm trying to use engine-iso-uploader to add ISO images to my ISO
> storage domain. (Ovirt 3.2 on Fedora 18)
>
> $ sudo engine-iso-uploader -v --nossl list
> Please provide the REST API username for oVirt Engine (CTRL+D to
> abort): admin
> Please provide the REST API password for the admin oVirt Engine user
> (CTRL+D to abort):
> ERROR: Problem connecting to the REST API. Is the service available
> and does the CA certificate exist?
>
> $ ls -la /etc/pki/ovirt-engine/ca.pem
> ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory
>
> $ cat /var/log/ovirt-engine/engine-iso-uploader.log
> 2013-03-21 15:42:04::ERROR::engine-iso-uploader::455::root:: Problem
> connecting to the REST API. Is the service available and does the CA
> certificate exist?
>
> -------------
>
> same results also without the --nossl flag.
>
> any insight?
>
> Thanks,
>
> Yuval Meir
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
--------------000900070906060205040108
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 bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I've done some testing with
ovirt-engine-sdk-3.2.0.10-1.fc18.noarch<br>
running python:<br>
<br>
>>> from ovirtsdk.api import API<br>
>>> api = API(url='<a
class="moz-txt-link-freetext"
href="http://ovirt.local/api">http://ovirt.local/api</a>',
username='admin@internal', password='*******)<br>
<br>
leads to:<br>
<br>
UnsecuredConnectionAttemptError: [ERROR]::No response returned
from server. If you're using HTTP protocol<br>
against a SSL secured server, then try using HTTPS instead.<br>
<br>
So engine is not running on http on my server.<br>
Can you check your server?<br>
<br>
-- <br>
Sandro<br>
<br>
Il 21/03/2013 15:40, Sandro Bonazzola ha scritto:<br>
</div>
<blockquote cite="mid:514B1BC2.8040307@redhat.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi,<br>
Can you try to execute the following command?<br>
$ sudo ls -la /etc/pki/ovirt-engine/ca.pem<br>
<br>
Also if it seems strange it need ca.pem without ssl.<br>
<br>
Can you try also:<br>
$ sudo engine-iso-uploader -v --nossl --insecure list<br>
<br>
-- <br>
Sandro<br>
<br>
<br>
Il 21/03/2013 15:20, Yuval M ha scritto:<br>
</div>
<blockquote
cite="mid:CAGY2aBTbXzdZ3iSkyN58acG476js8fEAHArzkq2A8-sG0oqMww@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
I'm trying to use engine-iso-uploader to add ISO images to my
ISO storage domain. (Ovirt 3.2 on Fedora 18)
<div><br>
</div>
<div>
<div>$ sudo engine-iso-uploader -v --nossl list</div>
<div>Please provide the REST API username for oVirt Engine
(CTRL+D to abort): admin</div>
<div>Please provide the REST API password for the admin
oVirt Engine user (CTRL+D to abort):</div>
<div>ERROR: Problem connecting to the REST API. Is the
service available and does the CA certificate exist?</div>
</div>
<div><br>
</div>
<div>
<div class="im"
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<div>$ ls -la /etc/pki/ovirt-engine/ca.pem</div>
<div>ls: cannot access /etc/pki/ovirt-engine/ca.pem: No
such file or directory</div>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">$
cat /var/log/ovirt-engine/engine-iso-uploader.log</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">2013-03-21
15:42:04::ERROR::engine-iso-uploader::455::root:: Problem
connecting to the REST API. Is the service available and
does the CA certificate exist?</div>
</div>
<div><br>
</div>
<div>-------------</div>
<div><br>
</div>
<div>same results also without the --nossl flag.</div>
<div><br>
</div>
<div>any insight?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Yuval Meir</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
--------------000900070906060205040108--