[Users] What's the correct way to upload a VM ISO image?

Itamar Heim iheim at redhat.com
Wed Jan 15 23:45:40 UTC 2014


On 01/15/2014 06:53 PM, David Li wrote:
>
>
> What you described makes sense to me!
>
> Now I tried the second time after rebooting everything:
>
> engine-iso-uploader upload -v -i ISO_DOMAIN CentOS-6.4-x86_64-netinstall.iso &
>
> This time, it simply stopped without doing anything.  Don't know what's going on, no error messages,  no logs either.
>
> On the node, I found some traces from last time:
>
> [root at localhost 11111111-1111-1111-1111-111111111111]# ll -a
> total 7316
> drwxr-xr-x. 2 vdsm kvm     4096 Jan 13 19:08 .
> drwxr-xr-x. 3 vdsm kvm     4096 Jan  8 18:13 ..
> -rw-r-----. 1 vdsm kvm 27447296 Jan 13 19:08 .CentOS-6.4-x86_64-netinstall.iso
> -rw-r--r--. 1 vdsm kvm        0 Jan  8 18:13 .keep
>
>
> I wonder if the last failed upload has left the uploader confused. It seems that it might think the same iso file has already be uploaded. Should I manually deleted the incomplete iso file?
>
>
> David
>
>
>
>
>
>
> ----- Original Message -----
>> From: Markus Stockhausen <stockhausen at collogia.de>
>> To: David Li <david_li at sbcglobal.net>; "users at ovirt.org" <users at ovirt.org>
>> Cc:
>> Sent: Tuesday, January 14, 2014 9:43 PM
>> Subject: AW: AW: [Users] What's the correct way to upload a VM ISO image?
>>
>>>   Von: David Li [david_li at sbcglobal.net]
>>>   Gesendet: Dienstag, 14. Januar 2014 22:48
>>>   An: Markus Stockhausen; users at ovirt.org
>>>   Betreff: Re: AW: [Users] What's the correct way to upload a VM ISO
>> image?
>>>
>>>   Markus,
>>>
>>>   Before upload, where was your image located? On the engine? On a different
>> machine?
>>>
>>>   David
>>
>> I ran the iso uploader on the engine host with direct access
>> to the file that I wanted to upload. Therefore I transfered the
>> file to /tmp on the engine and started the upload. In our
>> NFS case the file was created somewhere deep inside the
>> ISO NFS mount point. UUID folder structure see answer
>> before.
>>
>> Having direct access to our NFS servers we simply tried to
>> place other ISO files in the same cryptic directory and
>> "tata" they are recognized. Conclusion: iso uploader does
>> not insert references to those files into the engine database.
>>
>> Wherever your ISO domain is located you must simply
>> "find it with iso uploader". Afterwards you can move around
>> your ISO files as you like.
>>
>> Markus
>>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

all the iso uploader is doing is to copy the .iso files to the 
1111111111 folder created in the storage domain with 36:36 ownership and 
proper permissions.



More information about the Users mailing list