Thanks, copying directly did the trick :-)
Yuval
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 requestnoParse=noParse)File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequestraise 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?and paste the output?
>>> from ovirtsdk.api import API
>>> api = API(url='http://ovirt.local/api', username='admin@internal', password='*******)
Il 21/03/2013 16:43, Yuval M ha scritto:
doesn't work.
[wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pemls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory[wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure listPlease provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internalPlease 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 listPlease provide the REST API username for oVirt Engine (CTRL+D to abort): adminPlease 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.pemls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory
$ cat /var/log/ovirt-engine/engine-iso-uploader.log2013-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
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users