[Users] trouble with engine-iso-uploader

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

This is a multi-part message in MIME format. --------------080903060509010002080406 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------080903060509010002080406 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">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 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> --------------080903060509010002080406--

from ovirtsdk.api import API api = API(url='http://ovirt.local/api', username='admin@internal',
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: 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@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://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </blockquote> <br> </body> </html> --------------000900070906060205040108--

doesn't work. [wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist? SSL is disabled in my setup so it should work via HTTP and not HTTPS. Yuval Meir On Thu, Mar 21, 2013 at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com>wrote:
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 listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users

from ovirtsdk.api import API api = API(url='http://ovirt.local/api', username='admin@internal',
This is a multi-part message in MIME format. --------------060806040408090308070301 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Can you try running the following 2 lines with python changing the password and the url with your values? password='*******) and paste the output? Il 21/03/2013 16:43, Yuval M ha scritto:
doesn't work.
[wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?
SSL is disabled in my setup so it should work via HTTP and not HTTPS.
Yuval Meir
On Thu, Mar 21, 2013 at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> wrote:
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@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
--------------060806040408090308070301 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">Can you try running the following 2 lines with python changing the password and the url with your values?<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> and paste the output?<br> <br> <br> Il 21/03/2013 16:43, Yuval M ha scritto:<br> </div> <blockquote cite="mid:CAGY2aBT=trFxEAF35CghMoMbM=XmZTosYSFLBJ7A=_FexYNNaA@mail.gmail.com" type="cite"> <div dir="ltr">doesn't work. <div><br> </div> <div> <div>[wil@bufferoverflow ~]$ sudo 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>[wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list</div> <div>Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal</div> <div>Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):</div> <div><br> </div> <div> ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?</div> <div><br> </div> <div>SSL is disabled in my setup so it should work via HTTP and not HTTPS.</div> <div><br> </div> <div> Yuval Meir</div> <div><br> </div> <br> <div class="gmail_quote">On Thu, Mar 21, 2013 at 4:40 PM, Sandro Bonazzola <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div>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<span class="HOEnZb"><font color="#888888"><br> <br> -- <br> Sandro<br> <br> <br> Il 21/03/2013 15:20, Yuval M ha scritto:<br> </font></span></div> <blockquote type="cite"> <div> <div class="h5"> <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 style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif"> <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-size:13px;font-family:arial,sans-serif"><br> </div> <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">$ cat /var/log/ovirt-engine/engine-iso-uploader.log</div> <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">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></fieldset> <br> </div> </div> <div class="im"> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </div> </blockquote> <br> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> </body> </html> --------------060806040408090308070301--

Traceback (most recent call last): File "test.py", line 2, in <module> api = API(url='http://ovirt.local/api', username='admin@internal', password='letmein!') File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request noParse=noParse) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest raise ConnectionError, str(e) ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <sbonazzo@redhat.com>wrote:
Can you try running the following 2 lines with python changing the password and the url with your values?
from ovirtsdk.api import API api = API(url='http://ovirt.local/api', username='admin@internal', password='*******)
and paste the output?
Il 21/03/2013 16:43, Yuval M ha scritto:
doesn't work.
[wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?
SSL is disabled in my setup so it should work via HTTP and not HTTPS.
Yuval Meir
On Thu, Mar 21, 2013 at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com>wrote:
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 listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------000908010704090704060702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Yuval, Would it be an option for you to directly upload the iso image to the iso domain? You can avoid iso-uploader this way. Just take the iso image and scp it directly to the iso domain the dir for iso images looks similar to this ...your_iso_domain_dir/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111 after copying run chown vdsm:kvm on the uploaded iso image. Result should look something like this [root@XXX 11111111-1111-1111-1111-111111111111]# pwd /iso/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111 [root@XXX 11111111-1111-1111-1111-111111111111]# ls -lah total 646M drwxr-xr-x. 2 vdsm kvm 4.0K Mar 22 08:39 . drwxr-xr-x. 3 vdsm kvm 4.0K Mar 22 08:37 .. -rw-r--r--. 1 vdsm kvm 645M Mar 22 08:39 Fedora-17-x86_64-Live-Desktop.iso HTH Martin Pavlik On 03/21/2013 05:43 PM, Yuval M wrote:
Traceback (most recent call last): File "test.py", line 2, in <module> api = API(url='http://ovirt.local/api', username='admin@internal', password='letmein!') File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request noParse=noParse) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest raise ConnectionError, str(e) ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known
On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> wrote:
Can you try running the following 2 lines with python changing the password and the url with your values?
>>> from ovirtsdk.api import API >>> api = API(url='http://ovirt.local/api', username='admin@internal', password='*******)
and paste the output?
Il 21/03/2013 16:43, Yuval M ha scritto:
doesn't work.
[wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?
SSL is disabled in my setup so it should work via HTTP and not HTTPS.
Yuval Meir
On Thu, Mar 21, 2013 <tel:2013> at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> wrote:
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@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------000908010704090704060702 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">Hi Yuval,<br> <br> Would it be an option for you to directly upload the iso image to the iso domain? You can avoid iso-uploader this way.<br> <br> Just take the iso image and scp it directly to the iso domain<br> <br> the dir for iso images looks similar to this<br> <br> ...your_iso_domain_dir/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111<br> <br> after copying run <br> <br> chown vdsm:kvm<br> <br> on the uploaded iso image.<br> <br> Result should look something like this<br> <br> [root@XXX 11111111-1111-1111-1111-111111111111]# pwd<br> /iso/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111<br> [root@XXX 11111111-1111-1111-1111-111111111111]# ls -lah<br> total 646M<br> drwxr-xr-x. 2 vdsm kvm 4.0K Mar 22 08:39 .<br> drwxr-xr-x. 3 vdsm kvm 4.0K Mar 22 08:37 ..<br> -rw-r--r--. 1 vdsm kvm 645M Mar 22 08:39 Fedora-17-x86_64-Live-Desktop.iso<br> <br> HTH<br> <br> Martin Pavlik<br> <br> On 03/21/2013 05:43 PM, Yuval M wrote:<br> </div> <blockquote cite="mid:CAGY2aBSWtuUXpzvVxKaYmDquOOedzmQQ2xaKpSqkDSO23NjTdA@mail.gmail.com" type="cite"> <div dir="ltr"> <div>Traceback (most recent call last):</div> <div> File "test.py", line 2, in <module></div> <div> api = API(url='<a moz-do-not-send="true" href="http://ovirt.local/api">http://ovirt.local/api</a>', username='admin@internal', password='letmein!')</div> <div> File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__</div> <div> url='/api'</div> <div> File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request</div> <div> noParse=noParse)</div> <div> File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest</div> <div> raise ConnectionError, str(e)</div> <div>ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known</div> <div><br> </div> <div><br> </div> <br> <div class="gmail_quote">On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div>Can you try running the following 2 lines with python changing the password and the url with your values? <div class="im"><br> <br> >>> from ovirtsdk.api import API<br> >>> api = API(url='<a moz-do-not-send="true" href="http://ovirt.local/api" target="_blank">http://ovirt.local/api</a>', username='admin@internal', password='*******)<br> <br> </div> and paste the output?<br> <br> <br> Il 21/03/2013 16:43, Yuval M ha scritto:<br> </div> <div> <div class="h5"> <blockquote type="cite"> <div dir="ltr">doesn't work. <div><br> </div> <div> <div>[wil@bufferoverflow ~]$ sudo 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>[wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list</div> <div>Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal</div> <div>Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):</div> <div><br> </div> <div> ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?</div> <div><br> </div> <div>SSL is disabled in my setup so it should work via HTTP and not HTTPS.</div> <div><br> </div> <div> Yuval Meir</div> <div><br> </div> <br> <div class="gmail_quote">On Thu, Mar 21, <a moz-do-not-send="true" href="tel:2013" value="+9722013" target="_blank">2013</a> at 4:40 PM, Sandro Bonazzola <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div>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<span><font color="#888888"><br> <br> -- <br> Sandro<br> <br> <br> Il 21/03/2013 15:20, Yuval M ha scritto:<br> </font></span></div> <blockquote type="cite"> <div> <div> <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 style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif"> <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-size:13px;font-family:arial,sans-serif"><br> </div> <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">$ cat /var/log/ovirt-engine/engine-iso-uploader.log</div> <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">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></fieldset> <br> </div> </div> <div> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </div> </blockquote> <br> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> </div> </div> </div> </blockquote> </div> <br> </div> <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> --------------000908010704090704060702--

Thanks, copying directly did the trick :-) Yuval On Mar 22, 2013 9:46 AM, "Martin Pavlik" <mpavlik@redhat.com> wrote:
Hi Yuval,
Would it be an option for you to directly upload the iso image to the iso domain? You can avoid iso-uploader this way.
Just take the iso image and scp it directly to the iso domain
the dir for iso images looks similar to this
...your_iso_domain_dir/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111
after copying run
chown vdsm:kvm
on the uploaded iso image.
Result should look something like this
[root@XXX 11111111-1111-1111-1111-111111111111]# pwd
/iso/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111 [root@XXX 11111111-1111-1111-1111-111111111111]# ls -lah total 646M drwxr-xr-x. 2 vdsm kvm 4.0K Mar 22 08:39 . drwxr-xr-x. 3 vdsm kvm 4.0K Mar 22 08:37 .. -rw-r--r--. 1 vdsm kvm 645M Mar 22 08:39 Fedora-17-x86_64-Live-Desktop.iso
HTH
Martin Pavlik
On 03/21/2013 05:43 PM, Yuval M wrote:
Traceback (most recent call last): File "test.py", line 2, in <module> api = API(url='http://ovirt.local/api', username='admin@internal', password='letmein!') File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request noParse=noParse) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest raise ConnectionError, str(e) ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known
On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <sbonazzo@redhat.com>wrote:
Can you try running the following 2 lines with python changing the password and the url with your values?
from ovirtsdk.api import API api = API(url='http://ovirt.local/api', username='admin@internal', password='*******)
and paste the output?
Il 21/03/2013 16:43, Yuval M ha scritto:
doesn't work.
[wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?
SSL is disabled in my setup so it should work via HTTP and not HTTPS.
Yuval Meir
On Thu, Mar 21, 2013 at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com>wrote:
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 listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------000603060505010406030809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I think you forgot to change the url parameter in your test here, or you have a dns error: it can't resolve the host ovirt.local. -- Sandro Il 21/03/2013 17:43, Yuval M ha scritto:
Traceback (most recent call last): File "test.py", line 2, in <module> api = API(url='http://ovirt.local/api', username='admin@internal', password='letmein!') File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request noParse=noParse) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest raise ConnectionError, str(e) ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known
On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> wrote:
Can you try running the following 2 lines with python changing the password and the url with your values?
>>> from ovirtsdk.api import API >>> api = API(url='http://ovirt.local/api', username='admin@internal', password='*******)
and paste the output?
Il 21/03/2013 16:43, Yuval M ha scritto:
doesn't work.
[wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?
SSL is disabled in my setup so it should work via HTTP and not HTTPS.
Yuval Meir
On Thu, Mar 21, 2013 <tel:2013> at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> wrote:
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@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
--------------000603060505010406030809 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 think you forgot to change the url parameter in your test here, or you have a dns error: it can't resolve the host ovirt.local.<br> -- <br> Sandro<br> <br> Il 21/03/2013 17:43, Yuval M ha scritto:<br> </div> <blockquote cite="mid:CAGY2aBSWtuUXpzvVxKaYmDquOOedzmQQ2xaKpSqkDSO23NjTdA@mail.gmail.com" type="cite"> <div dir="ltr"> <div>Traceback (most recent call last):</div> <div> File "test.py", line 2, in <module></div> <div> api = API(url='<a moz-do-not-send="true" href="http://ovirt.local/api">http://ovirt.local/api</a>', username='admin@internal', password='letmein!')</div> <div> File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__</div> <div> url='/api'</div> <div> File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request</div> <div> noParse=noParse)</div> <div> File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest</div> <div> raise ConnectionError, str(e)</div> <div>ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known</div> <div><br> </div> <div><br> </div> <br> <div class="gmail_quote">On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div>Can you try running the following 2 lines with python changing the password and the url with your values? <div class="im"><br> <br> >>> from ovirtsdk.api import API<br> >>> api = API(url='<a moz-do-not-send="true" href="http://ovirt.local/api" target="_blank">http://ovirt.local/api</a>', username='admin@internal', password='*******)<br> <br> </div> and paste the output?<br> <br> <br> Il 21/03/2013 16:43, Yuval M ha scritto:<br> </div> <div> <div class="h5"> <blockquote type="cite"> <div dir="ltr">doesn't work. <div><br> </div> <div> <div>[wil@bufferoverflow ~]$ sudo 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>[wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list</div> <div>Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal</div> <div>Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):</div> <div><br> </div> <div> ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist?</div> <div><br> </div> <div>SSL is disabled in my setup so it should work via HTTP and not HTTPS.</div> <div><br> </div> <div> Yuval Meir</div> <div><br> </div> <br> <div class="gmail_quote">On Thu, Mar 21, <a moz-do-not-send="true" href="tel:2013" value="+9722013" target="_blank">2013</a> at 4:40 PM, Sandro Bonazzola <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div>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<span><font color="#888888"><br> <br> -- <br> Sandro<br> <br> <br> Il 21/03/2013 15:20, Yuval M ha scritto:<br> </font></span></div> <blockquote type="cite"> <div> <div> <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 style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif"> <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-size:13px;font-family:arial,sans-serif"><br> </div> <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">$ cat /var/log/ovirt-engine/engine-iso-uploader.log</div> <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">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></fieldset> <br> </div> </div> <div> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </div> </blockquote> <br> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> </div> </div> </div> </blockquote> </div> <br> </div> </blockquote> <br> </body> </html> --------------000603060505010406030809--

This is a multi-part message in MIME format. --------------010503070103000400080505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Yuval, try username: admin@internal regards Martin Pavlik On 03/21/2013 03:20 PM, Yuval M wrote:
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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------010503070103000400080505 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">Hi Yuval,<br> <br> try username: admin@internal<br> <br> regards<br> <br> Martin Pavlik<br> <br> On 03/21/2013 03:20 PM, Yuval M wrote:<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 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> --------------010503070103000400080505--

same result, with or without --nossl (I have ssl disabled on my setup - Ovirt built from sources) On Thu, Mar 21, 2013 at 4:54 PM, Martin Pavlik <mpavlik@redhat.com> wrote:
Hi Yuval,
try username: admin@internal
regards
Martin Pavlik
On 03/21/2013 03:20 PM, Yuval M wrote:
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 listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Martin Pavlik
-
Sandro Bonazzola
-
Yuval M