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

2014-01-17 Thread Itamar Heim

On 01/16/2014 08:38 PM, Joop wrote:

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 


It could be me, but doesn't engine-iso-uploader ask for the admin
password to be able to upload? but how are you going to input that with
the '' at the end of your commandline?
I bet if you do ps -ef | grep engine-iso you will find you process still
waiting for you to type the password.


actually no.
it asks for the admin password to get the nfs path from ovirt-engine (if 
you just give the domain name), and to ask the engine to refresh the iso 
domain (which would happen after 5 minutes as well).


you can upload iso images without the engine password as well if you use 
the full nfs path.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-16 Thread Joop

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 

  
It could be me, but doesn't engine-iso-uploader ask for the admin 
password to be able to upload? but how are you going to input that with 
the '' at the end of your commandline?
I bet if you do ps -ef | grep engine-iso you will find you process still 
waiting for you to type the password.


Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-15 Thread David Li


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@localhost ----]# 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 stockhau...@collogia.de
 To: David Li david...@sbcglobal.net; users@ovirt.org users@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...@sbcglobal.net]
  Gesendet: Dienstag, 14. Januar 2014 22:48
  An: Markus Stockhausen; users@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-15 Thread Itamar Heim

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@localhost ----]# 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 kvm0 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 stockhau...@collogia.de
To: David Li david...@sbcglobal.net; users@ovirt.org users@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...@sbcglobal.net]
  Gesendet: Dienstag, 14. Januar 2014 22:48
  An: Markus Stockhausen; users@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-14 Thread David Li
Hi,

I am a little confused by the quick start guide. It lists a command to upload 
the ISO image:

engine-iso-uploader upload -i local-iso-share [file1] [file2]  [fileN]

My questions are:

1. Do I have to copy the files (ISO images) from somewhere else to the engine 
machine before using this cmd? If image files are on a different server, what's 
the right syntax to upload them?

2. Is local-iso-share the name of the ISO domain? For example, should I use 
ISO_DOMAIN if I have the following:


ISO Storage Domain Name   | Datacenter                | ISO Domain Status
ISO_DOMAIN                | DC-CPA3                   | active


3. If I don't use engine-iso-uploader command, instead I prefer to uploading 
the image myself. What is the right directory for me to put my images in? Is it 
/var/lib/exports/iso on the machine running the ovirt engine? 

Thanks.

David
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-14 Thread Markus Stockhausen
 Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag von 
 quot;David Li [david...@sbcglobal.net]
 Gesendet: Dienstag, 14. Januar 2014 21:06
An: users@ovirt.org
 Betreff: [Users] What's the correct way to upload a VM ISO image?
 ...
 3. If I don't use engine-iso-uploader command, instead I prefer 
 to uploading the image myself. What is the right directory for 
 me to put my images in? Is it /var/lib/exports/iso on the machine 
 running the ovirt engine?

We use NFS and uploaded the first image with the Uploader to find
the right location.Aat least in our case we have very cryptic directory
names:

# pwd
/rhev/data-center/mnt/10.10.30.253:_var_nas3_OVirtISO/bff3a2be-fdd9-4e37-b416-fa4ef7fafba2/images/----
# ls
SLES-11-SP3-DVD-x86_64-GM-DVD1.iso
SLES-11-SP3-DVD-x86_64-GM-DVD2.iso
...

Even if the root folders do not match in your case I expect similar 
UUID based folder names.
Markus
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-14 Thread David Li
Markus,

Before upload, where was your image located? On the engine? On a different 
machine? 

David



- Original Message -
 From: Markus Stockhausen stockhau...@collogia.de
 To: David Li david...@sbcglobal.net; users@ovirt.org users@ovirt.org
 Cc: 
 Sent: Tuesday, January 14, 2014 12:13 PM
 Subject: AW: [Users] What's the correct way to upload a VM ISO image?
 
  Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag 
 von quot;David Li [david...@sbcglobal.net]
  Gesendet: Dienstag, 14. Januar 2014 21:06
 An: users@ovirt.org
  Betreff: [Users] What's the correct way to upload a VM ISO image?
  ...
  3. If I don't use engine-iso-uploader command, instead I prefer 
  to uploading the image myself. What is the right directory for 
  me to put my images in? Is it /var/lib/exports/iso on the machine 
  running the ovirt engine?
 
 We use NFS and uploaded the first image with the Uploader to find
 the right location.Aat least in our case we have very cryptic directory
 names:
 
 # pwd
 /rhev/data-center/mnt/10.10.30.253:_var_nas3_OVirtISO/bff3a2be-fdd9-4e37-b416-fa4ef7fafba2/images/----
 # ls
 SLES-11-SP3-DVD-x86_64-GM-DVD1.iso
 SLES-11-SP3-DVD-x86_64-GM-DVD2.iso
 ...
 
 Even if the root folders do not match in your case I expect similar 
 UUID based folder names.
 Markus
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users