[Users] trouble with engine-iso-uploader

Yuval M yuvalme at gmail.com
Fri Mar 22 15:13:47 UTC 2013


Thanks, copying directly did the trick :-)

Yuval
 On Mar 22, 2013 9:46 AM, "Martin Pavlik" <mpavlik at 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 at XXX 11111111-1111-1111-1111-111111111111]# pwd
>
> /iso/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/11111111-1111-1111-1111-111111111111
> [root at 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 at 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 at 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 at internal',
>> password='*******)
>>
>>  and paste the output?
>>
>>
>> Il 21/03/2013 16:43, Yuval M ha scritto:
>>
>> doesn't work.
>>
>>  [wil at 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 at bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure
>> list
>> Please provide the REST API username for oVirt Engine (CTRL+D to abort):
>> admin at internal
>> Please provide the REST API password for the admin at 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 at 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 at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130322/3f298fd6/attachment-0001.html>


More information about the Users mailing list