------=_Part_45079_1887778401.1425376349929
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
I have 2 hosts with hosted engine in the firts host. The second host also h=
as the Domain Storage for the 2 hosts (Glusterfs).=20
The Storage Domain is in active status.=20
In the firts host I can see : /usr/sbin/glusterfs --volfile-server=3Dhost2.=
domain.tld --volfile-id=3D/gv0 /rhev/data-center/mnt/glusterSD/host2.domain=
.tld:_gv0=20
What I did for Gluster in the second host:=20
# yum -y install glusterfs-server=20
# systemctl start glusterd=20
# systemctl enable glusterd=20
# gluster volume create gv0 transport tcp host2.domain.tld:/home2/brick1=20
# gluster volume start gv0=20
# gluster volume info=20
Volume Name: gv0=20
Type: Distribute=20
Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b57cf1261=20
Status: Started=20
Number of Bricks: 1=20
Transport-type: tcp=20
Bricks:=20
Brick1: host2.domain.tld:/home2/brick1=20
# chown 36:36 /home2/brick1=20
Now I cannot attach the ISO Domain=20
The error in the engine.log:=20
2015-03-03 09:48:37,376 ERROR [org.ovirt.engine.core.dal.dbbroker.auditlogh=
andling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [4ee81984] Co=
rrelation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed =
to connect Host host2 to the Storage Domains ISO_DOMAIN.=20
2015-03-03 09:48:37,378 ERROR [org.ovirt.engine.core.dal.dbbroker.auditlogh=
andling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-26) [67e35194] Co=
rrelation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed =
to connect Host host11 to the Storage Domains ISO_DOMAIN.=20
2015-03-03 09:48:37,776 ERROR [org.ovirt.engine.core.dal.dbbroker.auditlogh=
andling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-32) [7b817504] Co=
rrelation ID: 7b817504, Job ID: 1da178db-c072-42f8-92bc-551722c2c656, Call =
Stack: null, Custom Event ID: -1, Message: Failed to attach Storage Domain =
ISO_DOMAIN to Data Center Default. (User: admin@internal)=20
The iso domain is in the hosted engine:=20
# cat /etc/exports=20
/home/iso 0.0.0.0/0.0.0.0(rw)=20
# ls -l /home/iso=20
total 0=20
drwxr-xr-x 4 vdsm kvm 32 Feb 26 15:11 240929ec-62e3-47ff-88b0-39cecc53ab8f=
=20
Any idea?=20
Thanks=20
Jose=20
----- Mensagem original -----
De: "Kanagaraj" <kmayilsa(a)redhat.com>=20
Para: "Jason Brooks" <jbrooks(a)redhat.com>, suporte(a)logicworks.pt=20
Cc: Users(a)ovirt.org=20
Enviadas: Ter=C3=A7a-feira, 3 De Mar=C3=A7o de 2015 4:43:50=20
Assunto: Re: [ovirt-users] Glusterfs storage=20
If you are managing the gluster volume through ovirt, you could just=20
select the volume in the ui and click "Optimize for virt store". It does=20
the job of setting the required parameters for the volume.=20
Thanks,=20
Kanagaraj=20
On 03/02/2015 10:44 PM, Jason Brooks wrote:=20
=20
----- Original Message -----=20
> From: suporte(a)logicworks.pt=20
> To: "Aharon Canan" <acanan(a)redhat.com>=20
> Cc: Users(a)ovirt.org=20
> Sent: Monday, March 2, 2015 8:25:13 AM=20
> Subject: Re: [ovirt-users] Glusterfs storage=20
>=20
> Thanks Aharon,=20
>=20
> After a couple of hours, the chown 36:36 did the trick, now I have the d=
omain=20
> up.=20
This is a good way to set those perms and make them stick:=20
=20
gluster volume set $yourvol storage.owner-uid 36=20
gluster volume set $yourvol storage.owner-gid 36=20
=20
=20
Jason=20
=20
=20
> Thanks a lot=20
>=20
> Jose=20
>=20
>=20
> ----- Mensagem original -----=20
>=20
> De: "Aharon Canan" <acanan(a)redhat.com>=20
> Para: suporte(a)logicworks.pt=20
> Cc: Users(a)ovirt.org=20
> Enviadas: Segunda-feira, 2 De Mar=C3=A7o de 2015 16:00:40=20
> Assunto: Re: [ovirt-users] Glusterfs storage=20
>=20
> Hi=20
>=20
> First, You need to create gluster volume. Do not forget to start the vol=
ume.=20
> then the "chown 36:36 <volume directory
name>"=20
>=20
> now you need to create new glusterfs domain, and to point to the <gluste=
r=20
> server name:/volume name>=20
>=20
>=20
>=20
>=20
> Regards,=20
> __________________________________________________=20
> Aharon Canan=20
> int phone - 8272036=20
> ext phone - +97297692036=20
> email - acanan(a)redhat.com=20
>=20
> ----- Mensagem original -----=20
>=20
>=20
> From: suporte(a)logicworks.pt=20
> To: Users(a)ovirt.org=20
> Sent: Monday, March 2, 2015 5:55:33 PM=20
> Subject: [ovirt-users] Glusterfs storage=20
>=20
> Hi,=20
>=20
> I have setup up 2 hosts, host1 with hosted engine, and on host 2, since =
I=20
> have a spare disk, I want to setup a glusterfs domain
storage.=20
> I'm using Centos7 and ovirt 3.5.1.=20
> The 2 hosts and hosted engine are up and running.=20
> How can I configure the glusterfs storage?=20
> I installed glusterfs server on host2:=20
> glusterfs-api-3.6.2-1.el7.x86_64=20
> glusterfs-fuse-3.6.2-1.el7.x86_64=20
> glusterfs-libs-3.6.2-1.el7.x86_64=20
> glusterfs-3.6.2-1.el7.x86_64=20
> glusterfs-rdma-3.6.2-1.el7.x86_64=20
> glusterfs-server-3.6.2-1.el7.x86_64=20
> glusterfs-cli-3.6.2-1.el7.x86_64=20
>=20
>=20
> Do I need first configure a Volume with a brick? I tried that but no suc=
cess.=20
> Also tried to ad a Data domains of type glusterfs but no
success.=20
> What am I missing?=20
>=20
>=20
> Thanks=20
>=20
> --=20
>=20
> Jose Ferradeira=20
>
http://www.logicworks.pt=20
>=20
>=20
> _______________________________________________=20
> Users mailing list=20
> Users(a)ovirt.org=20
>
http://lists.ovirt.org/mailman/listinfo/users=20
>=20
>=20
>=20
>=20
>=20
>=20
> _______________________________________________=20
> Users mailing list=20
> Users(a)ovirt.org=20
>
http://lists.ovirt.org/mailman/listinfo/users=20
>=20
_______________________________________________=20
Users mailing list=20
Users(a)ovirt.org=20
http://lists.ovirt.org/mailman/listinfo/users=20
------=_Part_45079_1887778401.1425376349929
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: Times New Roman; font-size:
10pt; co=
lor: #000000"><div>I have 2 hosts with hosted engine in the firts host.
The=
second host also has the Domain Storage for the 2 hosts (Glusterfs).<br></=
div><div><br></div><div>The Storage Domain is in active
status.<br></div><d=
iv>In the firts host I can see : /usr/sbin/glusterfs --volfile-server=
=3Dhost2.domain.tld --volfile-id=3D/gv0 /rhev/data-center/mnt/glusterSD/hos=
t2.domain.tld:_gv0<br>What I did for Gluster in the second
host:</div><div>=
<span style=3D"color: #000000;" color=3D"#000000"
data-mce-style=3D"color: =
#000000;"><span style=3D"font-size: medium;" size=3D"3"
data-mce-style=3D"f=
ont-size: medium;"><span style=3D"font-weight: normal;"
data-mce-style=3D"f=
ont-weight: normal;"># </span></span></span><a
href=3D"http://www.server-wo=
rld.info/en/command/html/yum.html" data-mce-href=3D"http://www.server-world=
.info/en/command/html/yum.html"><span style=3D"color: #000000;"
color=3D"#0=
00000" data-mce-style=3D"color: #000000;"><span
style=3D"font-size: medium;=
" size=3D"3" data-mce-style=3D"font-size: medium;"><span
style=3D"text-deco=
ration: none;" data-mce-style=3D"text-decoration: none;"><span
style=3D"fon=
t-weight: normal;" data-mce-style=3D"font-weight:
normal;">yum</span></span=
</span></span></a><span style=3D"color:
#000000;" color=3D"#000000" data-m=
ce-style=3D"color:
#000000;"><span style=3D"font-size: medium;" size=3D"3" =
data-mce-style=3D"font-size: medium;"><span style=3D"font-weight:
normal;" =
data-mce-style=3D"font-weight: normal;"> -y install glusterfs-server
</span=
</span></span></div><div><p
style=3D"font-weight: normal; margin: 0px;" da=
ta-mce-style=3D"font-weight: normal; margin: 0px;"><span
style=3D"color: #0=
00000;" color=3D"#000000" data-mce-style=3D"color:
#000000;"><span style=3D=
"font-size: medium;" size=3D"3" data-mce-style=3D"font-size:
medium;"># sys=
temctl start glusterd</span></span></p><p style=3D"font-weight:
normal; mar=
gin: 0px;" data-mce-style=3D"font-weight: normal; margin: 0px;"><span
style=
=3D"color: #000000;" color=3D"#000000" data-mce-style=3D"color:
#000000;"><=
span style=3D"font-size: medium;" size=3D"3"
data-mce-style=3D"font-size: m=
edium;"># systemctl enable glusterd </span></span></p><p
style=3D"margin: 0=
px;" data-mce-style=3D"margin: 0px;"># gluster volume create gv0
transport =
tcp host2.domain.tld:/home2/brick1</p><p style=3D"margin: 0px;"
data-mce-st=
yle=3D"margin: 0px;"># gluster volume start gv0</p><p
style=3D"margin: 0px;=
" data-mce-style=3D"margin: 0px;"># gluster volume
info</p></div><div>Volum=
e Name: gv0<br>Type: Distribute<br>Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b5=
7cf1261<br>Status: Started<br>Number of Bricks: 1<br>Transport-type:
tcp<br=
Bricks:<br>Brick1:
host2.domain.tld:/home2/brick1<br><br></div><div><p sty=
le=3D"margin: 0px;" data-mce-style=3D"margin: 0px;"># chown
36:36 /home2/br=
ick1<br></p></div><div><br></div><div>Now I
cannot attach the ISO Domain<br=
</div><div><br></div><div>The error in
the engine.log:<br></div><div><br><=
/div><div>2015-03-03 09:48:37,376 ERROR
[org.ovirt.engine.core.dal.dbbroker=
.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [4e=
e81984] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Messag=
e: Failed to connect Host host2 to the Storage Domains ISO_DOMAIN.<br>2015-=
03-03 09:48:37,378 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandli=
ng.AuditLogDirector] (org.ovirt.thread.pool-8-thread-26) [67e35194] Correla=
tion ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to co=
nnect Host host11 to the Storage Domains ISO_DOMAIN.<br>2015-03-03 09:48:37=
,776 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDir=
ector] (org.ovirt.thread.pool-8-thread-32) [7b817504] Correlation ID: 7b817=
504, Job ID: 1da178db-c072-42f8-92bc-551722c2c656, Call Stack: null, Custom=
Event ID: -1, Message: Failed to attach Storage Domain ISO_DOMAIN to Data =
Center Default. (User: admin@internal)<br><br></div><div>The iso
domain is =
in the hosted engine:<br></div><div># cat
/etc/exports<br>/home/iso &n=
bsp; 0.0.0.0/0.0.0.0(rw)<br># ls -l
/home/iso<br>to=
tal 0<br>drwxr-xr-x 4 vdsm kvm 32 Feb 26 15:11 240929ec-62e3-47ff-88b0-39ce=
cc53ab8f<br><br>Any
idea?<br></div><div><br></div><div>Thanks<br></div><div=
<br></div><div>Jose<br></div><div><br></div><hr
id=3D"zwchr"><div style=3D=
"color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-=
family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style=3D"color:=
#000; font-weight: normal; font-style: normal; text-decoration: none; font=
-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De:
</b>"Kanagara=
j" &lt;kmayilsa(a)redhat.com&gt;<br><b>Para: </b>"Jason
Brooks" <jbrooks@r=
edhat.com>, suporte(a)logicworks.pt<br><b>Cc:
</b>Users(a)ovirt.org<br><b>En=
viadas: </b>Ter=C3=A7a-feira, 3 De Mar=C3=A7o de 2015
4:43:50<br><b>Assunto=
: </b>Re: [ovirt-users] Glusterfs
storage<br><div><br></div>If you are mana=
ging the gluster volume through ovirt, you could just <br>select the volume=
in the ui and click "Optimize for virt store". It does <br>the job of
sett=
ing the required parameters for the
volume.<br><div><br></div>Thanks,<br>Ka=
nagaraj<br><div><br></div>On 03/02/2015 10:44 PM, Jason Brooks
wrote:<br>&g=
t;<br>> ----- Original Message -----<br>>> From:
suporte@logicwork=
s.pt<br>>> To: "Aharon Canan"
&lt;acanan(a)redhat.com&gt;<br>&gt;&gt; C=
c: Users(a)ovirt.org<br>&gt;&gt; Sent: Monday, March 2, 2015 8:25:13
AM<br>&g=
t;> Subject: Re: [ovirt-users] Glusterfs
storage<br>>><br>>>=
Thanks Aharon,<br>>><br>>> After a couple of
hours, the chown =
36:36 did the trick, now I have the domain<br>>> up.<br>>
This is =
a good way to set those perms and make them stick:<br>><br>>
gluster =
volume set $yourvol storage.owner-uid 36<br>> gluster volume set $yourvo=
l storage.owner-gid 36<br>><br>><br>>
Jason<br>><br>><br>>=
;> Thanks a lot<br>>><br>>>
Jose<br>>><br>>><br>=
>> ----- Mensagem original
-----<br>>><br>>> De: "Aharon =
Canan" &lt;acanan(a)redhat.com&gt;<br>&gt;&gt; Para:
suporte(a)logicworks.pt<br=
>> Cc: Users(a)ovirt.org<br>&gt;&gt;
Enviadas: Segunda-feira, 2 De Mar=
=C3=A7o de 2015
16:00:40<br>>> Assunto: Re: [ovirt-users] Glusterfs s=
torage<br>>><br>>>
Hi<br>>><br>>> First, You need t=
o create gluster volume. Do not forget to start the volume.<br>>>
the=
n the "chown 36:36 <volume directory
name>"<br>>><br>>> n=
ow you need to create new glusterfs domain, and to point to the <gluster=
<br>>> server name:/volume
name><br>>><br>>><br>>&g=
t;<br>>><br>>> Regards,<br>>>
___________________________=
_______________________<br>>> Aharon Canan<br>>>
int phone - 82=
72036<br>>> ext phone - +97297692036<br>>> email -
acanan@redha=
t.com<br>>><br>>> ----- Mensagem original
-----<br>>><br>=
>><br>>> From:
suporte(a)logicworks.pt<br>&gt;&gt; To: Users@ovir=
t.org<br>>> Sent: Monday, March 2, 2015 5:55:33
PM<br>>> Subjec=
t: [ovirt-users] Glusterfs storage<br>>><br>>>
Hi,<br>>><=
br>>> I have setup up 2 hosts, host1 with hosted engine, and on host =
2, since I<br>>> have a spare disk, I want to setup a glusterfs
domai=
n storage.<br>>> I'm using Centos7 and ovirt
3.5.1.<br>>> The 2=
hosts and hosted engine are up and running.<br>>> How can I
configur=
e the glusterfs storage?<br>>> I installed glusterfs server on
host2:=
<br>>> glusterfs-api-3.6.2-1.el7.x86_64<br>>>
glusterfs-fuse-3.=
6.2-1.el7.x86_64<br>>>
glusterfs-libs-3.6.2-1.el7.x86_64<br>>> =
glusterfs-3.6.2-1.el7.x86_64<br>>>
glusterfs-rdma-3.6.2-1.el7.x86_64<=
br>>> glusterfs-server-3.6.2-1.el7.x86_64<br>>>
glusterfs-cli-3=
.6.2-1.el7.x86_64<br>>><br>>><br>>>
Do I need first confi=
gure a Volume with a brick? I tried that but no success.<br>>> Also
t=
ried to ad a Data domains of type glusterfs but no success.<br>>>
Wha=
t am I
missing?<br>>><br>>><br>>>
Thanks<br>>><br>&=
gt;> --<br>>><br>>> Jose
Ferradeira<br>>>
http://www.l=
ogicworks.pt<br>>><br>>><br>>>
__________________________=
_____________________<br>>> Users mailing
list<br>>> Users@ovir=
t.org<br>>>
http://lists.ovirt.org/mailman/listinfo/users<br>>>=
<br>>><br>>><br>>><br>>><br>>><br>>>
__=
_____________________________________________<br>>> Users mailing
lis=
t<br>>> Users(a)ovirt.org<br>&gt;&gt;
http://lists.ovirt.org/mailman/li=
stinfo/users<br>>><br>>
__________________________________________=
_____<br>> Users mailing list<br>>
Users(a)ovirt.org<br>&gt;
http://lis=
ts.ovirt.org/mailman/listinfo/users<br><div><br></di...
</div></body></html>
------=_Part_45079_1887778401.1425376349929--