<div dir="ltr"><div>Hi Neils,<br><br></div>Have started my contibutions on the CentOS Storage SIG with GlusterFS:<br><div><div><br><br><br><span style="color:rgb(116,27,71)">---------- Forwarded message ----------<br>From: Javier Romero <<a href="mailto:xavinux@gmail.com">xavinux@gmail.com</a>><br>Date: 2018-02-22 14:02 GMT-03:00<br>Subject: Re: [Gluster-devel] GlusterFS project contribution.<br>To: Shyam Ranganathan <<a href="mailto:srangana@redhat.com">srangana@redhat.com</a>><br>Cc: Amar Tumballi <<a href="mailto:atumball@redhat.com">atumball@redhat.com</a>>, Gluster Devel <<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>>, Humble Chirammal <<a href="mailto:hchiramm@redhat.com">hchiramm@redhat.com</a>>, Raghavendra Talur <<a href="mailto:rtalur@redhat.com">rtalur@redhat.com</a>><br><br><br>Hi Shyam,<br><br>Thanks for your answer.<br><br>> Javier, where is the PR/commit for the same, wanted to understand this better.<br>> Further, Humble maintains the docker images for Gluster (added him here).<br>> @Humble can we know how this ties in with our Docker images?<br><br>As Humble said, he has already merged two pull requests I've sent to<br>the gluster-containers repo at Github:<br><a href="https://github.com/gluster/gluster-containers/pull/66">https://github.com/gluster/gluster-containers/pull/66</a><br><a href="https://github.com/gluster/gluster-containers/pull/68">https://github.com/gluster/gluster-containers/pull/68</a><br><br><br>> Javier, I guess a good start to this is:<br>> <a href="https://github.com/raghavendra-talur/vagrant-cluster-creator">https://github.com/raghavendra-talur/vagrant-cluster-creator</a><br>> rtalur maintains this, although the last commit is a bit old. Also, added him to the CC to enable further discussion on topic.<br><br>Will use that repo as a start point to create a new Vagrant cluster running GlusterFS.<br></span><br><br>Regards,<br><br><br>Javier<br><br><br><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="text-align:left">Javier Romero<i><b><br></b></i></div><br><div style="text-align:left"><br></div> </div></div></div></div></div>
<br><div class="gmail_quote">2018-02-16 16:45 GMT-03:00 Javier Romero <span dir="ltr"><<a href="mailto:xavinux@gmail.com" target="_blank">xavinux@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have created a new Dockerfile for image creation to run containers on<br>
CentOS 7 with GlusterFS 3.13 already installed.<br>
Also sent a pull request on Github to merge a new branch named<br>
gluster-3.13 with this new Dockerfile included.<br>
Test on Centos 7 release 7.4.1708 (Core) with kernel<br>
3.10.0-693.17.1.el7.x86_64 and works ok:<br>
<span class=""><br>
<br>
# docker images<br>
REPOSITORY TAG IMAGE ID<br>
CREATED SIZE<br>
</span>dockerfile-gluster-3.13 latest 07931ac54c87<br>
About an hour ago 371.9 MB<br>
<span class=""><a href="http://docker.io/centos" rel="noreferrer" target="_blank">docker.io/centos</a> 7 ff426288ea90 5<br>
weeks ago 207.2 MB<br>
<br>
<br>
# docker ps -a<br>
CONTAINER ID IMAGE COMMAND<br>
CREATED STATUS PORTS NAMES<br>
</span>4e164d71256f dockerfile-gluster-3.13 "/usr/sbin/init"<br>
About an hour ago Up About an hour<br>
backstabbing_babbage<br>
<br>
<br>
# docker exec -it 4e164d71256f sh<br>
<span class="">sh-4.2# systemctl status glusterd<br>
● glusterd.service - GlusterFS, a clustered file-system server<br>
Loaded: loaded (/usr/lib/systemd/system/<wbr>glusterd.service; enabled;<br>
vendor preset: disabled)<br>
</span> Active: active (running) since Fri 2018-02-16 17:44:22 UTC; 1h 50min ago<br>
Process: 63 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid<br>
<span class="">--log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited,<br>
status=0/SUCCESS)<br>
</span> Main PID: 64 (glusterd)<br>
CGroup: /system.slice/docker-<wbr>4e164d71256f306144b2e2cf0d6b9d<wbr>7c369c9958d0017014ade17fbbdbad<wbr>cf2e.scope/system.slice/<wbr>glusterd.service<br>
└─64 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO<br>
<br>
Feb 16 17:44:16 centos-7 systemd[1]: Starting GlusterFS, a clustered<br>
file-system server...<br>
Feb 16 17:44:22 centos-7 systemd[1]: Started GlusterFS, a clustered<br>
<span class="">file-system server.<br>
<br>
<br>
sh-4.2# glusterd -V<br>
</span>glusterfs 3.13.2<br>
<span class="im HOEnZb">Repository revision: git://<a href="http://git.gluster.org/glusterfs.git" rel="noreferrer" target="_blank">git.gluster.org/<wbr>glusterfs.git</a><br>
Copyright (c) 2006-2016 Red Hat, Inc. <<a href="https://www.gluster.org/" rel="noreferrer" target="_blank">https://www.gluster.org/</a>><br>
GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>
It is licensed to you under your choice of the GNU Lesser<br>
General Public License, version 3 or any later version (LGPLv3<br>
or later), or the GNU General Public License, version 2 (GPLv2),<br>
in all cases as published by the Free Software Foundation.<br>
<br>
Regards,<br>
Javier Romero<br>
<br>
<br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">2018-02-16 13:36 GMT-03:00 Javier Romero <<a href="mailto:xavinux@gmail.com">xavinux@gmail.com</a>>:<br>
> There was just a Dockerfile on the gluster-3.10 branch for building<br>
> GlusterFS 3.10. Have updated that Dockerfile and sent a pull rquest on<br>
> Github.<br>
><br>
> # docker images<br>
> REPOSITORY TAG IMAGE ID<br>
> CREATED SIZE<br>
> dockerfile-gluster-3.10 latest fbedfea074f6 36<br>
> minutes ago 435.5 MB<br>
> <a href="http://docker.io/centos" rel="noreferrer" target="_blank">docker.io/centos</a> 7 ff426288ea90 5<br>
> weeks ago 207.2 MB<br>
><br>
><br>
> # docker ps -a<br>
> CONTAINER ID IMAGE COMMAND<br>
> CREATED STATUS PORTS NAMES<br>
> 0269de7f42bd dockerfile-gluster-3.10 "/usr/sbin/init" 7<br>
> seconds ago Up 6 seconds high_jang<br>
><br>
><br>
> # docker exec -it 0269de7f42bd sh<br>
> sh-4.2# systemctl status glusterd<br>
> ● glusterd.service - GlusterFS, a clustered file-system server<br>
> Loaded: loaded (/usr/lib/systemd/system/<wbr>glusterd.service; enabled;<br>
> vendor preset: disabled)<br>
> Active: active (running) since Fri 2018-02-16 16:03:46 UTC; 28s ago<br>
> Process: 55 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid<br>
> --log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited,<br>
> status=0/SUCCESS)<br>
> Main PID: 62 (glusterd)<br>
> CGroup: /system.slice/docker-<wbr>0269de7f42bd1104c769d1adc4b6b2<wbr>570d64fe7955e7c9634844d4570cd0<wbr>a216.scope/system.slice/<wbr>glusterd.service<br>
> └─62 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO<br>
><br>
> Feb 16 16:03:40 centos-7 systemd[1]: Starting GlusterFS, a clustered<br>
> file-system server...<br>
> Feb 16 16:03:46 centos-7 systemd[1]: Started GlusterFS, a clustered<br>
> file-system server.<br>
><br>
> sh-4.2# glusterd -V<br>
> glusterfs 3.10.10<br>
> Repository revision: git://<a href="http://git.gluster.org/glusterfs.git" rel="noreferrer" target="_blank">git.gluster.org/<wbr>glusterfs.git</a><br>
> Copyright (c) 2006-2016 Red Hat, Inc. <<a href="https://www.gluster.org/" rel="noreferrer" target="_blank">https://www.gluster.org/</a>><br>
> GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>
> It is licensed to you under your choice of the GNU Lesser<br>
> General Public License, version 3 or any later version (LGPLv3<br>
> or later), or the GNU General Public License, version 2 (GPLv2),<br>
> in all cases as published by the Free Software Foundation.<br>
><br>
><br>
> Regards,<br>
> Javier Romero<br>
><br>
><br>
><br>
><br>
> 2018-02-15 13:19 GMT-03:00 Javier Romero <<a href="mailto:xavinux@gmail.com">xavinux@gmail.com</a>>:<br>
>> Hi Niels,<br>
>><br>
>> Built GlusterFS image from Dockerfile:<br>
>><br>
>> # docker images<br>
>> REPOSITORY TAG IMAGE ID<br>
>> CREATED SIZE<br>
>> dockerfile-gluster-3.12 latest 4647c9d71843 53<br>
>> minutes ago 371.2 MB<br>
>> <a href="http://docker.io/centos" rel="noreferrer" target="_blank">docker.io/centos</a> 7 ff426288ea90 5<br>
>> weeks ago 207.2 MB<br>
>><br>
>><br>
>> # docker ps -a<br>
>> CONTAINER ID IMAGE COMMAND<br>
>> CREATED STATUS PORTS NAMES<br>
>> 9afa8c0ab468 dockerfile-gluster-3.12 "/usr/sbin/init" 38<br>
>> minutes ago Up 38 minutes small_shannon<br>
>><br>
>><br>
>> # docker exec -it 9afa8c0ab468 bash<br>
>><br>
>> # glusterd -V<br>
>> glusterfs 3.12.5<br>
>> Repository revision: git://<a href="http://git.gluster.org/glusterfs.git" rel="noreferrer" target="_blank">git.gluster.org/<wbr>glusterfs.git</a><br>
>> Copyright (c) 2006-2016 Red Hat, Inc. <<a href="https://www.gluster.org/" rel="noreferrer" target="_blank">https://www.gluster.org/</a>><br>
>> GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>
>> It is licensed to you under your choice of the GNU Lesser<br>
>> General Public License, version 3 or any later version (LGPLv3<br>
>> or later), or the GNU General Public License, version 2 (GPLv2),<br>
>> in all cases as published by the Free Software Foundation.<br>
>><br>
>> Updated the Dockerfile and changed Gluster version and vendor, a pull<br>
>> request has been sent on Github.<br>
>><br>
>> Regards,<br>
>><br>
>><br>
>> Javier Romero<br>
>> E-mail: <a href="mailto:xavinux@gmail.com">xavinux@gmail.com</a><br>
>> Skype: xavinux<br>
>><br>
>><br>
>><br>
>> 2018-02-14 9:51 GMT-03:00 Javier Romero <<a href="mailto:xavinux@gmail.com">xavinux@gmail.com</a>>:<br>
>>> Niels,<br>
>>><br>
>>> Thanks for your answer. I'll be looking at the container you have<br>
>>> suggested and will let you know how things are going.<br>
>>><br>
>>> Regards,<br>
>>> Javier Romero<br>
>>> E-mail: <a href="mailto:xavinux@gmail.com">xavinux@gmail.com</a><br>
>>> Skype: xavinux<br>
>>><br>
>>><br>
>>><br>
>>> 2018-02-14 6:48 GMT-03:00 Niels de Vos <<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>>:<br>
>>>> On Tue, Feb 13, 2018 at 09:55:02PM -0300, Javier Romero wrote:<br>
>>>>> 2018-02-13 13:07 GMT-03:00 Niels de Vos <<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>>:<br>
>>>>><br>
>>>>> > On Mon, Feb 12, 2018 at 07:32:40PM -0300, Javier Romero wrote:<br>
>>>> ...<br>
>>>>> > > Have also been working with KVM virtual machines in the ISP Datacenter<br>
>>>>> > > for the last eight years, and with Docker since 2015, so think that<br>
>>>>> > > can also help with container and VM images if this can be useful.<br>
>>>>> ><br>
>>>>> > We do have a Gluster container in the CentOS Container Index [3], but<br>
>>>>> > would like to have different versions. At the moment, we actively<br>
>>>>> > maintain Gluster versions 3.10, 3.12, 3.13 and are preparing for 4.0.<br>
>>>>> > Ideally we should have a container for each version.<br>
>>>>> ><br>
>>>>> > For which version of Gluster would you like me to start creating a<br>
>>>>> container image first?<br>
>>>><br>
>>>> Have a look at<br>
>>>> <a href="https://github.com/gluster/gluster-containers/tree/master/CentOS" rel="noreferrer" target="_blank">https://github.com/gluster/<wbr>gluster-containers/tree/<wbr>master/CentOS</a>. This<br>
>>>> is the container that is currently built for the CentOS Registry and<br>
>>>> available at<br>
>>>> <a href="https://registry.centos.org/repo/gluster/storagesig-gluster-centos" rel="noreferrer" target="_blank">https://registry.centos.org/<wbr>repo/gluster/storagesig-<wbr>gluster-centos</a>.<br>
>>>><br>
>>>> This container seems incorrect as well, the centos-release-gluster<br>
>>>> package will install the latest Long-Term-Maintenance version, currently<br>
>>>> 3.12, but the version mentioned in the container is 3.10. In addition to<br>
>>>> that, the Vendor should either be CentOS or Gluster Community. There<br>
>>>> might be more things that can be improved.<br>
>>>><br>
>>>> I suggest to have a go at making sure the current container is correct.<br>
>>>> Once done, add a container for 3.10 (by installing<br>
>>>> centos-release-gluster-310). Maybe place the Dockerfile in a different<br>
>>>> directory, or just name it Dockerfile.3.10 or such. After that is<br>
>>>> merged, it can be added to<br>
>>>> <a href="https://github.com/CentOS/container-index/blob/master/index.d/gluster.yml" rel="noreferrer" target="_blank">https://github.com/CentOS/<wbr>container-index/blob/master/<wbr>index.d/gluster.yml</a><br>
>>>><br>
>>>> Both Humble and Jose have been looking at the container images before.<br>
>>>> They are on CC of this email and can help with any PullRequest reviews<br>
>>>> or further guidance.<br>
>>>><br>
>>>> Thanks!<br>
>>>> Niels<br>
>>>><br>
>>>><br>
>>>> ...<br>
>>>>> > 0. <a href="http://lists.gluster.org/mailman/listinfo/packaging" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/packaging</a><br>
>>>>> > 1. <a href="https://github.com/CentOS-Storage-SIG" rel="noreferrer" target="_blank">https://github.com/CentOS-<wbr>Storage-SIG</a><br>
>>>>> > 2. <a href="https://github.com/CentOS-Storage-SIG/glusterfs" rel="noreferrer" target="_blank">https://github.com/CentOS-<wbr>Storage-SIG/glusterfs</a><br>
>>>>> > 3. <a href="https://github.com/CentOS/container-index" rel="noreferrer" target="_blank">https://github.com/CentOS/<wbr>container-index</a><br>
>>>>> > 4. <a href="https://app.vagrantup.com/centos" rel="noreferrer" target="_blank">https://app.vagrantup.com/<wbr>centos</a><br>
>>>>> ><br>
</div></div></blockquote></div><br></div>