--Apple-Mail=_9D66A743-BD9D-4E5E-958D-FC2200E84408
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
I managed to get this fixed, it was an issues with what user was =
mounting the nfs.
Thanks for the help, I am doing a detailed blog I will share with other =
when complete.
Kyle
On Sep 8, 2015, at 5:02 PM, Alexander Wels <awels(a)redhat.com>
wrote:
=20
On Tuesday, September 08, 2015 04:54:46 PM Kyle Bassett wrote:
> OK makes sense, I am using a freeness appliance=E2=80=A6
>=20
> So I somehow need to create those users? kvm (36)/group vdsm(36) and =
set
> that permission to the iso directory?
>=20
> I suspect I wold have to do the same for any other shared storage I =
plan to
> use for virtual machines in the cluster?
>=20
> Thanks
> Kyle
>=20
=20
I have never used freenas so I can't help you there, but I am assuming =
you
can=20
add users to it using the UI, you just have to make sure the =
user/group id is=20
both 36 (kvm/vdsm) and that the user is able read/write to the =
appropriate=20
exported directories. On the other hand I am wondering how you
managed =
to add=20
the data/iso domains if the HVs are unable to connect to it.
=20
>> On Sep 8, 2015, at 4:51 PM, Alexander Wels <awels(a)redhat.com> wrote:
>>=20
>> On Tuesday, September 08, 2015 04:42:31 PM Kyle Bassett wrote:
>>> Do I have to do this from the overt-engin or a hypervisor. (when I =
ssh to
>>> a
>>> hv I get the guy menu - not command line).
>>>=20
>>> I ran the iso upload from the engine - I am using a nfs iso repo - =
not
>>> local
>>>=20
>>> [root@ovirt-engine-01 /]# engine-iso-uploader list
>>> Please provide the REST API password for the admin@internal oVirt =
Engine
>>> user (CTRL+D to abort): ISO Storage Domain Name |
Datacenter
>>>=20
>>> | ISO Domain Status freenas-01-ISO | oVirt-DC-01
>>> |=20
>>> | active
>>>=20
>>> [root@ovirt-engine-01 /]#
>>>=20
>>> I am not sure how to check and set the proper permissions on the =
nfs/iso
>>> location.
>>=20
>> Do this on the nfs-server. Basically what happens in the background =
is
>> your hv is making a connection to the NFS server as user kvm
=
(36)/group
>> vdsm(36) in order to obtain the iso information. If the NFS
server
>> doesn't have that user or the permissions to read the directory it =
will
>> fail.
>>=20
>> Note that the engine itself doesn't need to be able to connect to =
the
nfs-
>> server, its the HV (the vdsm process to be exact) that makes
the
>> connection. The engine just tells the vdsm process what it wants =
done.
>> This is also why when the engine is down your VMs will be
unaffected =
as
>> its actually vdsm controlling stuff.
>>=20
>>> Kyle
>>>=20
>>>> On Sep 8, 2015, at 4:39 PM, Alexander Wels <awels(a)redhat.com
>>>> <mailto:awels@redhat.com <mailto:awels@redhat.com>>>
wrote:>>>=20
>>>> On Tuesday, September 08, 2015 04:34:46 PM Kyle Bassett wrote:
>>>>> Yes, I suspect it may be related to this
>>>>>=20
>>>>>
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues =
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>>>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>
<
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues>>>>
>>>>>=20
>>>>> I followed all the instruction to a tee.
>>>>>=20
>>>>> I will try these instructions but this could be a documentation =
issues
>>>>> in
>>>>> the starter guide=E2=80=A6
>>>>>=20
>>>>> Kyle
>>>>=20
>>>> In that case I would check to make sure the owner of the file is =
correct
>>>> in the actual directory, make sure the files are
owned by vdsm/kvm
>>>> (36/36).
>>>>=20
>>>> Also make sure your export is correct, here is mine for my NFS iso
>>>> domain:
>>>> /export/iso
>>>> *(rw,sync,no_subtree_check,all_squash,anonuid=3D36,anongid=3D36)
>>>>=20
>>>>>> On Sep 8, 2015, at 4:31 PM, Alexander Wels <awels(a)redhat.com =
<mailto:awels@redhat.com>> wrote:
>>>>>>=20
>>>>>> On Tuesday, September 08, 2015 04:18:07 PM Kyle Bassett wrote:
>>>>>>> Following the instructions here:
>>>>>>>
http://www.ovirt.org/Quick_Start_Guide =
<
http://www.ovirt.org/Quick_Start_Guide>
<
http://www.ovirt.org/Quick_Start_Guide>>
>>>>>>>=20
>>>>>>> I managed to upload an ISO, but it won=E2=80=99t show in the
UI =
- do I need
>>>>>>> to do
>>>>>>> something to make it show up? I hit refresh but nothing is =
showing
>>>>>>> under
>>>>>>> this ISO section of the UI
>>>>>>=20
>>>>>> Did you follow step 3?
>>>>>>=20
>>>>>> Storage->select ISO domain->go the images sub tab. That
will =
re-read
>>>>>> the
>>>>>> contents of the directory and should show your images.
>>>>>>=20
>>>>>>> I tried it again, and it says it exists from the overt
command =
line=E2=80=A6
>>>>>>>=20
>>>>>>>=20
>>>>>>> [root@ovirt-engine-01 fedora]# engine-iso-uploader upload -i
>>>>>>> freenas-01-ISO
>>>>>>> ubuntu-14.04.3-desktop-amd64.iso Please provide the REST API
=
password
>>>>>>> for
>>>>>>> the admin@internal oVirt Engine user (CTRL+D to abort): =
Uploading,
>>>>>>> please
>>>>>>> wait...
>>>>>>> INFO: Start uploading ubuntu-14.04.3-desktop-amd64.iso
>>>>>>> ERROR: ubuntu-14.04.3-desktop-amd64.iso exists on 10.0.0.10.
=
Either
>>>>>>> remove
>>>>>>> it or supply the --force option to overwrite it.
>>>>>>> [root@ovirt-engine-01
>>>>>>> fedora]#
>>>>>>>=20
>>>>>>> Thanks
>>>>>>> Kyle
--Apple-Mail=_9D66A743-BD9D-4E5E-958D-FC2200E84408
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">I managed to get this fixed, it was an issues with what user =
was mounting the nfs.<div class=3D""><br
class=3D""></div><div =
class=3D"">Thanks for the help, I am doing a detailed blog I will share =
with other when complete.</div><div class=3D""><br
class=3D""></div><div =
class=3D"">Kyle</div><div class=3D""><br
class=3D""><div><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Sep 8,
2015, at 5:02 PM, =
Alexander Wels <<a href=3D"mailto:awels@redhat.com" =
class=3D"">awels(a)redhat.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span
=
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Tuesday, September 08, 2015 04:54:46 PM Kyle
=
Bassett wrote:</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family:
Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">OK makes sense, I am using a freeness
appliance=E2=80=A6<=
br class=3D""><br class=3D"">So I somehow need to create
those users? =
kvm (36)/group vdsm(36) and set<br class=3D"">that permission to
=
the iso directory?<br class=3D""><br class=3D"">I suspect
I wold have to =
do the same for any other shared storage I plan to<br class=3D"">use for
=
virtual machines in the cluster?<br class=3D""><br
class=3D"">Thanks<br =
class=3D"">Kyle<br class=3D""><br
class=3D""></blockquote><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">I have never used freenas so I can't help
you =
there, but I am assuming you can<span =
class=3D"Apple-converted-space"> </span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">add users to it using the UI, you just have to
=
make sure the user/group id is<span =
class=3D"Apple-converted-space"> </span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">both 36 (kvm/vdsm) and that the user is able =
read/write to the appropriate<span =
class=3D"Apple-converted-space"> </span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">exported directories. On the other hand I am =
wondering how you managed to add<span =
class=3D"Apple-converted-space"> </span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">the data/iso domains if the HVs are unable to =
connect to it.</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family:
Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><blockquote type=3D"cite"
class=3D"">On Sep 8, 2015, at =
4:51 PM, Alexander Wels <<a href=3D"mailto:awels@redhat.com" =
class=3D"">awels(a)redhat.com</a>&gt; wrote:<br
class=3D""><br class=3D"">On=
Tuesday, September 08, 2015 04:42:31 PM Kyle Bassett wrote:<br =
class=3D""><blockquote type=3D"cite" class=3D"">Do
I have to do this =
from the overt-engin or a hypervisor. (when I ssh to<br class=3D"">a<br
=
class=3D"">hv I get the guy menu - not command line).<br
class=3D""><br =
class=3D"">I ran the iso upload from the engine - I am using a nfs iso =
repo - not<br class=3D"">local<br class=3D""><br =
class=3D"">[root@ovirt-engine-01 /]# engine-iso-uploader list<br =
class=3D"">Please provide the REST API password for the admin@internal =
oVirt Engine<br class=3D"">user (CTRL+D to abort): ISO Storage Domain =
Name | Datacenter<br class=3D""><br
class=3D"">| ISO Domain =
Status freenas-01-ISO =
|
=
oVirt-DC-01<br class=3D"">|<span =
class=3D"Apple-converted-space"> </span><br
class=3D"">| active<br =
class=3D""><br class=3D"">[root@ovirt-engine-01 /]#<br
class=3D""><br =
class=3D"">I am not sure how to check and set the proper permissions on =
the nfs/iso<br class=3D"">location.<br
class=3D""></blockquote><br =
class=3D"">Do this on the nfs-server. Basically what happens in the =
background is<br class=3D"">your hv is making a connection to the NFS =
server as user kvm (36)/group<br class=3D"">vdsm(36) in order to obtain =
the iso information. If the NFS server<br class=3D"">doesn't have that
=
user or the permissions to read the directory it will<br =
class=3D"">fail.<br class=3D""><br
class=3D"">Note that the engine =
itself doesn't need to be able to connect to the nfs-<br =
class=3D"">server, its the HV (the vdsm process to be exact) that makes =
the<br class=3D"">connection. The engine just tells the vdsm process =
what it wants done.<br class=3D"">This is also why when the engine is =
down your VMs will be unaffected as<br class=3D"">its actually vdsm =
controlling stuff.<br class=3D""><br
class=3D""><blockquote type=3D"cite" =
class=3D"">Kyle<br class=3D""><br
class=3D""><blockquote type=3D"cite" =
class=3D"">On Sep 8, 2015, at 4:39 PM, Alexander Wels <<a =
href=3D"mailto:awels@redhat.com"
class=3D"">awels(a)redhat.com</a><br =
class=3D""><<a href=3D"mailto:awels@redhat.com" =
class=3D"">mailto:awels@redhat.com</a>>>
wrote:>>><span =
class=3D"Apple-converted-space"> </span><br
class=3D"">On Tuesday, =
September 08, 2015 04:34:46 PM Kyle Bassett wrote:<br =
class=3D""><blockquote type=3D"cite"
class=3D"">Yes, I suspect it may be =
related to this<br class=3D""><br class=3D""><a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
=
class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
<br class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
=
class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
><br class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
=
class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
<br class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
=
class=3D""><<a =
href=3D"http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues" =
class=3D"">http://www.ovirt.org/Troubleshooting_NFS_Storage_...
>><br class=3D""><br class=3D"">I followed
all the instruction to =
a tee.<br class=3D""><br class=3D"">I will try these
instructions but =
this could be a documentation issues<br class=3D"">in<br
class=3D"">the =
starter guide=E2=80=A6<br class=3D""><br
class=3D"">Kyle<br =
class=3D""></blockquote><br class=3D"">In that case I
would check to =
make sure the owner of the file is correct<br class=3D"">in the actual =
directory, make sure the files are owned by vdsm/kvm<br =
class=3D"">(36/36).<br class=3D""><br
class=3D"">Also make sure your =
export is correct, here is mine for my NFS iso<br class=3D"">domain:<br
=
class=3D"">/export/iso<br =
class=3D"">*(rw,sync,no_subtree_check,all_squash,anonuid=3D36,anongid=3D36=
)<br class=3D""><br class=3D""><blockquote
type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D"">On
Sep 8, 2015, at 4:31 =
PM, Alexander Wels <<a href=3D"mailto:awels@redhat.com" =
class=3D"">awels(a)redhat.com</a>&gt; wrote:<br
class=3D""><br class=3D"">On=
Tuesday, September 08, 2015 04:18:07 PM Kyle Bassett wrote:<br =
class=3D""><blockquote type=3D"cite"
class=3D"">Following the =
instructions here:<br class=3D""><a =
href=3D"http://www.ovirt.org/Quick_Start_Guide" =
class=3D"">http://www.ovirt.org/Quick_Start_Guide</a>&...
class=3D""><<a=
href=3D"http://www.ovirt.org/Quick_Start_Guide" =
class=3D"">http://www.ovirt.org/Quick_Start_Guide</a>&... =
class=3D""><br class=3D"">I managed to upload an ISO, but it
won=E2=80=99t=
show in the UI - do I need<br class=3D"">to do<br
class=3D"">something =
to make it show up? I hit refresh but nothing is showing<br =
class=3D"">under<br class=3D"">this ISO section of the
UI<br =
class=3D""></blockquote><br class=3D"">Did you follow
step 3?<br =
class=3D""><br class=3D"">Storage->select ISO
domain->go the =
images sub tab. That will re-read<br class=3D"">the<br
class=3D"">contents=
of the directory and should show your images.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">I
tried it again, and it =
says it exists from the overt command line=E2=80=A6<br class=3D""><br
=
class=3D""><br class=3D"">[root@ovirt-engine-01 fedora]# =
engine-iso-uploader upload -i<br class=3D"">freenas-01-ISO<br =
class=3D"">ubuntu-14.04.3-desktop-amd64.iso Please provide the REST API =
password<br class=3D"">for<br class=3D"">the
admin@internal oVirt Engine =
user (CTRL+D to abort): Uploading,<br class=3D"">please<br =
class=3D"">wait...<br class=3D"">INFO: Start uploading =
ubuntu-14.04.3-desktop-amd64.iso<br class=3D"">ERROR: =
ubuntu-14.04.3-desktop-amd64.iso exists on 10.0.0.10. Either<br =
class=3D"">remove<br class=3D"">it or supply the --force
option to =
overwrite it.<br class=3D"">[root@ovirt-engine-01<br =
class=3D"">fedora]#<br class=3D""><br
class=3D"">Thanks<br =
class=3D"">Kyle</blockquote></blockquote></blockquote></blockquote></block=
quote></blockquote></blockquote></div></blockquote></div><br
=
class=3D""></div></body></html>=
--Apple-Mail=_9D66A743-BD9D-4E5E-958D-FC2200E84408--