Just an FYI I am using ovirt as an NFS Data Center MAIN,ISO,and EXPORT.  I updated ovirt to newest rpms and reinstalled.  I added one host machine.  I then created another node (machine) using Openfiler and created NFS shares on that machine.  Once permissions were set I was able to create Main storage (NFS), ISO (NFS), and Export (NFS).  I mounted the ISO folder locally to one of my linux boxes and dropped Ubuntu and Fedora into the folder.  It copied fine and I was able to see the new iso&#39;s in my attach a drive area when I went to install operating systems.  I have just done all of that today.<div>
<br></div><div>Dominic<br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 11:17 PM, Spyro Polymiadis <span dir="ltr">&lt;<a href="mailto:spyro@rsp.com.au">spyro@rsp.com.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sorry to jump on the bandwagon here - ive also uploaded an iso to the ISO domain - which i said yes to create it locally on the engine-management host.<br>
default exported as /mnt/iso - i didnt have to manually do anything to add it to the domain, only activate it.<br>
<br>
cat /etc/exports<br>
/mnt/iso        <a href="http://0.0.0.0/0.0.0.0(rw)" target="_blank">0.0.0.0/0.0.0.0(rw)</a>     #rhev installer<br>
<br>
<br>
i uploaded my iso like so:<br>
<br>
 /usr/bin/engine-iso-uploader -i ISO -u admin@internal -r <a href="http://ovirtmgr.foo.com:8443" target="_blank">ovirtmgr.foo.com:8443</a> upload os_2.0-784729f4-19.iso<br>
<br>
It finished successfully, the iso is owned vdsm.kvm and has the default 640 permissions.<br>
I tried setting them to 755 as mentioned in one of these threads - but that didnt help..<br>
<br>
$ tree -pug /mnt/iso<br>
<br>
/mnt/iso<br>
    └── [drwxr-xr-x vdsm     kvm     ]  23340f35-95ca-4b46-90ec-0c8b83a82786<br>
        ├── [drwxr-xr-x vdsm     kvm     ]  dom_md<br>
        │   ├── [-rw-r--r-- vdsm     kvm     ]  ids<br>
        │   ├── [-rw-r--r-- vdsm     kvm     ]  inbox<br>
        │   ├── [-rw-r--r-- vdsm     kvm     ]  leases<br>
        │   ├── [-rw-r--r-- vdsm     kvm     ]  metadata<br>
        │   └── [-rw-r--r-- vdsm     kvm     ]  outbox<br>
        └── [drwxr-xr-x vdsm     kvm     ]  images<br>
            └── [drwxr-xr-x vdsm     kvm     ]  11111111-1111-1111-1111-111111111111<br>
                └── [-rw-r----- vdsm     kvm     ]  os_2.0-784729f4-19.iso<br>
<br>
I havent rebooted the ovirtmgr host yet incase that &quot;fixes&quot; it<br>
<br>
Any ideas?<br>
<br>
<br>
----- Original Message -----<br>
From: &quot;Keith Robertson&quot; &lt;<a href="mailto:kroberts@redhat.com">kroberts@redhat.com</a>&gt;<br>
To: &quot;Andrew Dunlop&quot; &lt;<a href="mailto:ajdunlop@gmail.com">ajdunlop@gmail.com</a>&gt;, &quot;Chris Brown (GE Healthcare)&quot; &lt;<a href="mailto:Christopher.Brown@med.ge.com">Christopher.Brown@med.ge.com</a>&gt;<br>

Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
Sent: Saturday, 4 February, 2012 1:28:20 AM<br>
Subject: Re: [Users] Unable to add ISOs to default ISO storage domain<br>
<br>
Andrew and Chris,<br>
<br>
You shouldn&#39;t need to manually place images on the NFS share and<br>
subsequently chmod them. The ISO uploader should be doing both the<br>
uploading and the chmod-ing for you, and if it is not doing this then<br>
it&#39;s a bug.<br>
<br>
Here is a Successful Example:<br>
[root@ovirt ~]# vim keith.iso &lt;-- Create a junk file.<br>
[root@ovirt ~]# chmod 400 keith.iso &lt;-- Set restrictive perms on it.<br>
[root@ovirt ~]# ovirt-iso-uploader -i iso1 upload keith.iso<br>
Please provide the REST API password for RHEV-M (CTRL+D to abort):<br>
<br>
// Let&#39;s check our work...<br>
[root@ovirt ~]# mount &lt;ip scrubbed&gt;:/data/ovirt/iso1 /mnt/isodomain/ &lt;--<br>
mount the iso export domain<br>
[root@ovirt ~]# su - vdsm<br>
-bash-4.1$ ll<br>
/mnt/isodomain/92cf90c2-3698-48b5-84fd-d8e4f8684547/images/11111111-1111-1111-1111-111111111111/keith.iso<br>
-rw-r-----. 1 vdsm kvm 10 Feb 3 07:45<br>
/mnt/isodomain/92cf90c2-3698-48b5-84fd-d8e4f8684547/images/11111111-1111-1111-1111-111111111111/keith.iso<br>
&lt;-- w00t!<br>
<br>
<br>
Andrew, to help me debug, could you...<br>
1. Is your ISO export domain being exported by a *nix system? If so can<br>
you reply with the line in /etc/exports that does the exporting. It<br>
looks something like mine below...<br>
[root@inductor ~]# cat /etc/exports<br>
/export *(rw,sync,no_root_squash)<br>
<br>
2. Send me the output of &quot;tree -pug&quot; from the iso domain:<br>
[root@ovirt ~]# su - vdsm<br>
-bash-4.1$ cd /mnt/isodomain/92cf90c2-3698-48b5-84fd-d8e4f8684547/<br>
-bash-4.1$ tree -pug<br>
dom_md/ images/<br>
-bash-4.1$ tree -pug images<br>
images<br>
└── [drwxr-xr-x vdsm kvm ] 11111111-1111-1111-1111-111111111111<br>
&lt;snip&gt;<br>
<br>
Cheers,<br>
Keith<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 02/03/2012 05:31 AM, Itamar Heim wrote:<br>
&gt; On 02/03/2012 11:26 AM, Andrew Dunlop wrote:<br>
&gt;&gt; It would appear that the problem was the permissions on the files.<br>
&gt;&gt; after I did a chmod 0755 to the .iso it appeared almost immediately in<br>
&gt;&gt; the web admin.<br>
&gt;&gt; Should the iso-uploader script not have changed the permissions of the<br>
&gt;&gt; file? It appears to have set the correct owner.<br>
&gt;<br>
&gt; Keith ---^ ?<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 2 February 2012 17:09, Brown, Chris (GE Healthcare)<br>
&gt;&gt; &lt;<a href="mailto:Christopher.Brown@med.ge.com">Christopher.Brown@med.ge.com</a>&gt; wrote:<br>
&gt;&gt;&gt; Easiest way to go about this, at least the way I go about it...<br>
&gt;&gt;&gt; Manually<br>
&gt;&gt;&gt; place your iso images on the NFS ISO share.<br>
&gt;&gt;&gt; This can be accomplished two ways:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Example 1: If you have direct access to your fileserver EG: NAS/etc and<br>
&gt;&gt;&gt; it is linux based.<br>
&gt;&gt;&gt; Simply login and sftp/scp/NFS/CIFS retrieve and/or copy the images into<br>
&gt;&gt;&gt; /export/path/to/iso/domain/&lt;domUUID/images/11111111-1111-1111-1111-11111<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1111111<br>
&gt;&gt;&gt; Then chown 36:36<br>
&gt;&gt;&gt; /export/path/to/iso/domain/&lt;domUUID/images/11111111-1111-1111-1111-11111<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1111111/*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Example 2: Mount said NFS mount point on another client and copy the<br>
&gt;&gt;&gt; images into it.<br>
&gt;&gt;&gt; Export on NFS server is for example /rhev/iso --&gt; mount<br>
&gt;&gt;&gt; &lt;servername_or_ip&gt;:/rhev/iso /mnt<br>
&gt;&gt;&gt; Copy the images into<br>
&gt;&gt;&gt; /mnt/&lt;domUUID/images/11111111-1111-1111-1111-111111111111/<br>
&gt;&gt;&gt; Then chown 36:36<br>
&gt;&gt;&gt; /mnt/&lt;domUUID/images/11111111-1111-1111-1111-111111111111/*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - Chris<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -----Original Message-----<br>
&gt;&gt;&gt; From: <a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> [mailto:<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a>] On<br>
&gt;&gt;&gt; Behalf<br>
&gt;&gt;&gt; Of Andrew Dunlop<br>
&gt;&gt;&gt; Sent: Thursday, February 02, 2012 10:59 AM<br>
&gt;&gt;&gt; To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
&gt;&gt;&gt; Subject: [Users] Unable to add ISOs to default ISO storage domain<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have been trying to upload ISOs onto my ISO Storage Domain, set up<br>
&gt;&gt;&gt; when I ran engine-setup.<br>
&gt;&gt;&gt; I can run the command and the .iso file is correctly put in place,<br>
&gt;&gt;&gt; however this never appears in the available images for this domain on<br>
&gt;&gt;&gt; the web-admin.<br>
&gt;&gt;&gt; I notice that there are no file entries in<br>
&gt;&gt;&gt; <a href="https://xxxx.xxxx.co.uk:8443/api/storagedomains/a677acff-601b-4b6d-86ce-" target="_blank">https://xxxx.xxxx.co.uk:8443/api/storagedomains/a677acff-601b-4b6d-86ce-</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 0798f3833629/files/<br>
&gt;&gt;&gt; just what is given in the verbose output from the uploader.<br>
&gt;&gt;&gt; Any ideas what the problem might be? I have tried a couple of ISOs and<br>
&gt;&gt;&gt; have also done a cleanup and setup.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Below is the verbose output from the uploader:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [admin@xxxx ~]$ sudo engine-iso-uploader -v -f -i ISOs upload<br>
&gt;&gt;&gt; Downloads/TinyCore-current.iso [sudo] password for admin:<br>
&gt;&gt;&gt; Please provide the REST API password for the admin@internal oVirt<br>
&gt;&gt;&gt; Engine<br>
&gt;&gt;&gt; user (CTRL+D to abort):<br>
&gt;&gt;&gt; DEBUG: URL is<br>
&gt;&gt;&gt; <a href="https://xxxx.xxxx.co.uk:8443/api/storagedomains?search=name%3DISOs" target="_blank">https://xxxx.xxxx.co.uk:8443/api/storagedomains?search=name%3DISOs</a><br>
&gt;&gt;&gt; DEBUG: Returned XML is<br>
&gt;&gt;&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;<br>
&gt;&gt;&gt; &lt;storage_domains&gt;<br>
&gt;&gt;&gt; &lt;storage_domain<br>
&gt;&gt;&gt; href=&quot;/api/storagedomains/a677acff-601b-4b6d-86ce-0798f3833629&quot;<br>
&gt;&gt;&gt; id=&quot;a677acff-601b-4b6d-86ce-0798f3833629&quot;&gt;<br>
&gt;&gt;&gt; &lt;name&gt;ISOs&lt;/name&gt;<br>
&gt;&gt;&gt; &lt;link<br>
&gt;&gt;&gt; href=&quot;/api/storagedomains/a677acff-601b-4b6d-86ce-0798f3833629/permissio<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ns&quot;<br>
&gt;&gt;&gt; rel=&quot;permissions&quot;/&gt;<br>
&gt;&gt;&gt; &lt;link<br>
&gt;&gt;&gt; href=&quot;/api/storagedomains/a677acff-601b-4b6d-86ce-0798f3833629/files&quot;<br>
&gt;&gt;&gt; rel=&quot;files&quot;/&gt;<br>
&gt;&gt;&gt; &lt;type&gt;iso&lt;/type&gt;<br>
&gt;&gt;&gt; &lt;master&gt;false&lt;/master&gt;<br>
&gt;&gt;&gt; &lt;storage&gt;<br>
&gt;&gt;&gt; &lt;type&gt;nfs&lt;/type&gt;srmr<br>
&gt;&gt;&gt; &lt;address&gt;<a href="http://xxxx.xxxx.co.uk" target="_blank">xxxx.xxxx.co.uk</a>&lt;/address&gt;<br>
&gt;&gt;&gt; &lt;path&gt;/isos&lt;/path&gt;<br>
&gt;&gt;&gt; &lt;/storage&gt;users@<br>
&gt;&gt;&gt; &lt;available&gt;48318382080&lt;/available&gt;<br>
&gt;&gt;&gt; &lt;used&gt;4294967296&lt;/used&gt;<br>
&gt;&gt;&gt; &lt;committed&gt;0&lt;/committed&gt;<br>
&gt;&gt;&gt; &lt;storage_format&gt;v1&lt;/storage_format&gt;<br>
&gt;&gt;&gt; &lt;/storage_domain&gt;<br>
&gt;&gt;&gt; &lt;/storage_domains&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; DEBUG: id=a677acff-601b-4b6d-86ce-0798f3833629 address=<a href="http://xxxx.xxxx.co.uk" target="_blank">xxxx.xxxx.co.uk</a><br>
&gt;&gt;&gt; path=/isos<br>
&gt;&gt;&gt; DEBUG: local NFS mount point is /tmp/tmpX03eVj<br>
&gt;&gt;&gt; DEBUG: NFS mount command (/bin/mount -t nfs -o rw,sync,soft<br>
&gt;&gt;&gt; xxxx.xxxx.co.uk:/isos /tmp/tmpX03eVj)<br>
&gt;&gt;&gt; DEBUG: /bin/mount -t nfs -o rw,sync,soft xxxx.xxxx.co.uk:/isos<br>
&gt;&gt;&gt; /tmp/tmpX03eVj<br>
&gt;&gt;&gt; DEBUG: _cmds([&#39;/bin/mount&#39;, &#39;-t&#39;, &#39;nfs&#39;, &#39;-o&#39;, &#39;rw,sync,soft&#39;,<br>
&gt;&gt;&gt; &#39;xxxx.xxxx.co.uk:/isos&#39;, &#39;/tmp/tmpX03eVj&#39;])<br>
&gt;&gt;&gt; DEBUG: returncode(0)<br>
&gt;&gt;&gt; DEBUG: STDOUT()<br>
&gt;&gt;&gt; DEBUG: STDERR()<br>
&gt;&gt;&gt; DEBUG: Size of Downloads/TinyCore-current.iso: 12507136 bytes 12214.0<br>
&gt;&gt;&gt; 1K-blocks 11.0 MB<br>
&gt;&gt;&gt; DEBUG: Available space in<br>
&gt;&gt;&gt; /tmp/tmpX03eVj/a677acff-601b-4b6d-86ce-0798f3833629/images/11111111-1111<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -1111-1111-111111111111: 48557457408<br>
&gt;&gt;&gt; bytes 47419392.0 1K-blocks 46308.0 MB<br>
&gt;&gt;&gt; DEBUG: euid(0) egid(0)<br>
&gt;&gt;&gt; DEBUG: euid(0) egid(0)<br>
&gt;&gt;&gt; DEBUG: URL is<br>
&gt;&gt;&gt; <a href="https://xxxx.xxxx.co.uk:8443/api/storagedomains/a677acff-601b-4b6d-86ce-" target="_blank">https://xxxx.xxxx.co.uk:8443/api/storagedomains/a677acff-601b-4b6d-86ce-</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 0798f3833629/files<br>
&gt;&gt;&gt; DEBUG: Returned XML is<br>
&gt;&gt;&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt; &lt;files/&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; DEBUG: /bin/umount -t nfs -f /tmp/tmpX03eVj<br>
&gt;&gt;&gt; DEBUG: /bin/umount -t nfs -f /tmp/tmpX03eVj<br>
&gt;&gt;&gt; DEBUG: _cmds([&#39;/bin/umount&#39;, &#39;-t&#39;, &#39;nfs&#39;, &#39;-f&#39;, &#39;/tmp/tmpX03eVj&#39;])<br>
&gt;&gt;&gt; DEBUG: returncode(0)<br>
&gt;&gt;&gt; DEBUG: STDOUT()<br>
&gt;&gt;&gt; DEBUG: STDERR()<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt;&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Dominic Kaiser<br>Greater Boston Vineyard<br>Director of Operations<br><br>cell: 617-230-1412<br>fax: 617-252-0238<br>email: <a href="mailto:dominic@bostonvineyard.org">dominic@bostonvineyard.org</a><br>
<br><br>
</div>