I have 2 hosts with hosted engine in the firts host. The second host also has 
the Domain Storage for the 2 hosts (Glusterfs). 

The Storage Domain is in active status. 
In the firts host I can see : /usr/sbin/glusterfs 
--volfile-server=host2.domain.tld --volfile-id=/gv0 
/rhev/data-center/mnt/glusterSD/host2.domain.tld:_gv0 
What I did for Gluster in the second host: 
# yum -y install glusterfs-server 


# systemctl start glusterd 

# systemctl enable glusterd 

# gluster volume create gv0 transport tcp host2.domain.tld:/home2/brick1 

# gluster volume start gv0 

# gluster volume info 
Volume Name: gv0 
Type: Distribute 
Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b57cf1261 
Status: Started 
Number of Bricks: 1 
Transport-type: tcp 
Bricks: 
Brick1: host2.domain.tld:/home2/brick1 



# chown 36:36 /home2/brick1 

Now I cannot attach the ISO Domain 

The error in the engine.log: 

2015-03-03 09:48:37,376 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-31) [4ee81984] Correlation ID: null, Call 
Stack: null, Custom Event ID: -1, Message: Failed to connect Host host2 to the 
Storage Domains ISO_DOMAIN. 
2015-03-03 09:48:37,378 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-26) [67e35194] Correlation ID: null, Call 
Stack: null, Custom Event ID: -1, Message: Failed to connect Host host11 to the 
Storage Domains ISO_DOMAIN. 
2015-03-03 09:48:37,776 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-32) [7b817504] Correlation 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) 

The iso domain is in the hosted engine: 
# cat /etc/exports 
/home/iso 0.0.0.0/0.0.0.0(rw) 
# ls -l /home/iso 
total 0 
drwxr-xr-x 4 vdsm kvm 32 Feb 26 15:11 240929ec-62e3-47ff-88b0-39cecc53ab8f 

Any idea? 

Thanks 

Jose 

----- Mensagem original -----

De: "Kanagaraj" <kmayi...@redhat.com> 
Para: "Jason Brooks" <jbro...@redhat.com>, supo...@logicworks.pt 
Cc: Users@ovirt.org 
Enviadas: Terça-feira, 3 De Março de 2015 4:43:50 
Assunto: Re: [ovirt-users] Glusterfs storage 

If you are managing the gluster volume through ovirt, you could just 
select the volume in the ui and click "Optimize for virt store". It does 
the job of setting the required parameters for the volume. 

Thanks, 
Kanagaraj 

On 03/02/2015 10:44 PM, Jason Brooks wrote: 
> 
> ----- Original Message ----- 
>> From: supo...@logicworks.pt 
>> To: "Aharon Canan" <aca...@redhat.com> 
>> Cc: Users@ovirt.org 
>> Sent: Monday, March 2, 2015 8:25:13 AM 
>> Subject: Re: [ovirt-users] Glusterfs storage 
>> 
>> Thanks Aharon, 
>> 
>> After a couple of hours, the chown 36:36 did the trick, now I have the 
>> domain 
>> up. 
> This is a good way to set those perms and make them stick: 
> 
> gluster volume set $yourvol storage.owner-uid 36 
> gluster volume set $yourvol storage.owner-gid 36 
> 
> 
> Jason 
> 
> 
>> Thanks a lot 
>> 
>> Jose 
>> 
>> 
>> ----- Mensagem original ----- 
>> 
>> De: "Aharon Canan" <aca...@redhat.com> 
>> Para: supo...@logicworks.pt 
>> Cc: Users@ovirt.org 
>> Enviadas: Segunda-feira, 2 De Março de 2015 16:00:40 
>> Assunto: Re: [ovirt-users] Glusterfs storage 
>> 
>> Hi 
>> 
>> First, You need to create gluster volume. Do not forget to start the volume. 
>> then the "chown 36:36 <volume directory name>" 
>> 
>> now you need to create new glusterfs domain, and to point to the <gluster 
>> server name:/volume name> 
>> 
>> 
>> 
>> 
>> Regards, 
>> __________________________________________________ 
>> Aharon Canan 
>> int phone - 8272036 
>> ext phone - +97297692036 
>> email - aca...@redhat.com 
>> 
>> ----- Mensagem original ----- 
>> 
>> 
>> From: supo...@logicworks.pt 
>> To: Users@ovirt.org 
>> Sent: Monday, March 2, 2015 5:55:33 PM 
>> Subject: [ovirt-users] Glusterfs storage 
>> 
>> Hi, 
>> 
>> I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I 
>> have a spare disk, I want to setup a glusterfs domain storage. 
>> I'm using Centos7 and ovirt 3.5.1. 
>> The 2 hosts and hosted engine are up and running. 
>> How can I configure the glusterfs storage? 
>> I installed glusterfs server on host2: 
>> glusterfs-api-3.6.2-1.el7.x86_64 
>> glusterfs-fuse-3.6.2-1.el7.x86_64 
>> glusterfs-libs-3.6.2-1.el7.x86_64 
>> glusterfs-3.6.2-1.el7.x86_64 
>> glusterfs-rdma-3.6.2-1.el7.x86_64 
>> glusterfs-server-3.6.2-1.el7.x86_64 
>> glusterfs-cli-3.6.2-1.el7.x86_64 
>> 
>> 
>> Do I need first configure a Volume with a brick? I tried that but no 
>> success. 
>> Also tried to ad a Data domains of type glusterfs but no success. 
>> What am I missing? 
>> 
>> 
>> Thanks 
>> 
>> -- 
>> 
>> Jose Ferradeira 
>> http://www.logicworks.pt 
>> 
>> 
>> _______________________________________________ 
>> Users mailing list 
>> Users@ovirt.org 
>> http://lists.ovirt.org/mailman/listinfo/users 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________ 
>> Users mailing list 
>> Users@ovirt.org 
>> http://lists.ovirt.org/mailman/listinfo/users 
>> 
> _______________________________________________ 
> Users mailing list 
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 


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

Reply via email to