<html><body><div style="font-family: Times New Roman; font-size: 10pt; color: #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><div>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<br>What I did for Gluster in the second host:</div><div><span style="color: #000000;" color="#000000" data-mce-style="color: #000000;"><span style="font-size: medium;" size="3" data-mce-style="font-size: medium;"><span style="font-weight: normal;" data-mce-style="font-weight: normal;"># </span></span></span><a href="http://www.server-world.info/en/command/html/yum.html" data-mce-href="http://www.server-world.info/en/command/html/yum.html"><span style="color: #000000;" color="#000000" data-mce-style="color: #000000;"><span style="font-size: medium;" size="3" data-mce-style="font-size: medium;"><span style="text-decoration: none;" data-mce-style="text-decoration: none;"><span style="font-weight: normal;" data-mce-style="font-weight: normal;">yum</span></span></span></span></a><span style="color: #000000;" color="#000000" data-mce-style="color: #000000;"><span style="font-size: medium;" size="3" data-mce-style="font-size: medium;"><span style="font-weight: normal;" data-mce-style="font-weight: normal;"> -y install glusterfs-server </span></span></span></div><div><p style="font-weight: normal; margin: 0px;" data-mce-style="font-weight: normal; margin: 0px;"><span style="color: #000000;" color="#000000" data-mce-style="color: #000000;"><span style="font-size: medium;" size="3" data-mce-style="font-size: medium;"># systemctl start glusterd</span></span></p><p style="font-weight: normal; margin: 0px;" data-mce-style="font-weight: normal; margin: 0px;"><span style="color: #000000;" color="#000000" data-mce-style="color: #000000;"><span style="font-size: medium;" size="3" data-mce-style="font-size: medium;"># systemctl enable glusterd </span></span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"># gluster volume create gv0 transport tcp host2.domain.tld:/home2/brick1</p><p style="margin: 0px;" data-mce-style="margin: 0px;"># gluster volume start gv0</p><p style="margin: 0px;" data-mce-style="margin: 0px;"># gluster volume info</p></div><div>Volume Name: gv0<br>Type: Distribute<br>Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b57cf1261<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 style="margin: 0px;" data-mce-style="margin: 0px;"># chown 36:36 /home2/brick1<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) [4ee81984] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: 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.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.<br>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)<br><br></div><div>The iso domain is in the hosted engine:<br></div><div># cat /etc/exports<br>/home/iso 0.0.0.0/0.0.0.0(rw)<br># ls -l /home/iso<br>total 0<br>drwxr-xr-x 4 vdsm kvm 32 Feb 26 15:11 240929ec-62e3-47ff-88b0-39cecc53ab8f<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="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"Kanagaraj" <kmayilsa@redhat.com><br><b>Para: </b>"Jason Brooks" <jbrooks@redhat.com>, suporte@logicworks.pt<br><b>Cc: </b>Users@ovirt.org<br><b>Enviadas: </b>Terça-feira, 3 De Março de 2015 4:43:50<br><b>Assunto: </b>Re: [ovirt-users] Glusterfs storage<br><div><br></div>If you are managing 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 setting the required parameters for the volume.<br><div><br></div>Thanks,<br>Kanagaraj<br><div><br></div>On 03/02/2015 10:44 PM, Jason Brooks wrote:<br>><br>> ----- Original Message -----<br>>> From: suporte@logicworks.pt<br>>> To: "Aharon Canan" <acanan@redhat.com><br>>> Cc: Users@ovirt.org<br>>> Sent: Monday, March 2, 2015 8:25:13 AM<br>>> 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 $yourvol 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" <acanan@redhat.com><br>>> Para: suporte@logicworks.pt<br>>> Cc: Users@ovirt.org<br>>> Enviadas: Segunda-feira, 2 De Março de 2015 16:00:40<br>>> Assunto: Re: [ovirt-users] Glusterfs storage<br>>><br>>> Hi<br>>><br>>> First, You need to create gluster volume. Do not forget to start the volume.<br>>> then the "chown 36:36 <volume directory name>"<br>>><br>>> now you need to create new glusterfs domain, and to point to the <gluster<br>>> server name:/volume name><br>>><br>>><br>>><br>>><br>>> Regards,<br>>> __________________________________________________<br>>> Aharon Canan<br>>> int phone - 8272036<br>>> ext phone - +97297692036<br>>> email - acanan@redhat.com<br>>><br>>> ----- Mensagem original -----<br>>><br>>><br>>> From: suporte@logicworks.pt<br>>> To: Users@ovirt.org<br>>> Sent: Monday, March 2, 2015 5:55:33 PM<br>>> Subject: [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 domain 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 configure 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 configure a Volume with a brick? I tried that but no success.<br>>> Also tried to ad a Data domains of type glusterfs but no success.<br>>> What am I missing?<br>>><br>>><br>>> Thanks<br>>><br>>> --<br>>><br>>> Jose Ferradeira<br>>> http://www.logicworks.pt<br>>><br>>><br>>> _______________________________________________<br>>> Users mailing list<br>>> Users@ovirt.org<br>>> http://lists.ovirt.org/mailman/listinfo/users<br>>><br>>><br>>><br>>><br>>><br>>><br>>> _______________________________________________<br>>> Users mailing list<br>>> Users@ovirt.org<br>>> http://lists.ovirt.org/mailman/listinfo/users<br>>><br>> _______________________________________________<br>> Users mailing list<br>> Users@ovirt.org<br>> http://lists.ovirt.org/mailman/listinfo/users<br><div><br></div></div><div><br></div></div></body></html>