--Apple-Mail=_CDB83493-834F-4B9F-BD02-3DB20136442C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
OK makes sense, I am using a freeness appliance=E2=80=A6
So I somehow need to create those users? kvm (36)/group vdsm(36) and =
set that permission to the iso directory?
I suspect I wold have to do the same for any other shared storage I plan =
to use for virtual machines in the cluster?
Thanks
Kyle
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
> [root@ovirt-engine-01 /]#
>=20
> I am not sure how to check and set the proper permissions on the =
nfs/iso
> location.
>=20
=20
Do this on the nfs-server. Basically what happens in the background is =
your
hv=20
is making a connection to the NFS server as user kvm (36)/group =
vdsm(36) in=20
order to obtain the iso information. If the NFS server doesn't
have =
that user=20
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. =20
The engine just tells the vdsm process what it wants done. This is =
also why=20
when the engine is down your VMs will be unaffected as its actually =
vdsm=20
controlling stuff.
=20
=20
=20
> Kyle
>=20
>> On Sep 8, 2015, at 4:39 PM, Alexander Wels <awels(a)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>>>
>>>=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 =20
>> *(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> =
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>
>>>>>=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=_CDB83493-834F-4B9F-BD02-3DB20136442C
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"">OK makes sense, I am using a freeness appliance=E2=80=A6<div =
class=3D""><br class=3D""></div><div
class=3D"">So I somehow need to =
create those users? kvm (36)/group vdsm(36) and set that =
permission to the iso directory?</div><div class=3D""><br =
class=3D""></div><div class=3D"">I suspect I wold have
to do the same =
for any other shared storage I plan to use for virtual machines in the =
cluster?</div><div class=3D""><br
class=3D""></div><div =
class=3D"">Thanks</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 4:51 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:42:31 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"">Do I have to do this from the overt-engin or a =
hypervisor. (when I ssh to 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 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 =
<b=
r class=3D""> | ISO Domain Status freenas-01-ISO =
|
=
oVirt-DC-01 =
&n=
bsp;<br class=3D"">| active<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""><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"">Do this on the nfs-server.
=
Basically what happens in the background is your hv<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"">is making a connection to the NFS server as user
=
kvm (36)/group vdsm(36) in<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"">order to obtain the iso information. If the NFS
=
server doesn't have that user<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"">or the permissions to read the directory it will
=
fail.</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""><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"">Note that the engine =
itself doesn't need to be able to connect to the nfs-</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"">server, its the HV (the vdsm process to be =
exact) that makes the connection. </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 engine just tells the vdsm process what it
=
wants done. This is also why<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"">when the engine is down your VMs will be =
unaffected as its actually vdsm<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"">controlling stuff.</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""><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"">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>&gt; wrote:<br
class=3D""><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""><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 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""><http://www.ovirt.org/Quick_Start_Guide&am... =
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></div></blockquote></div><br
class=3D""></div></body></html>=
--Apple-Mail=_CDB83493-834F-4B9F-BD02-3DB20136442C--