DevHeads.net

CentOS Storage SIG contribution.

Hi,

My name is Javier, live in Buenos Aires, Argentina, and work in the Network
Operations Center of an Internet Service Provider as a Linux Sysadmin. I've
been working with Linux CentOS Servers for the last 10 years and would like
to contribute on the CentOS Storage SIG if there is something where I can
be useful.

Thanks for your kind attention.

Best Regards,

*Javier Romero*

*E-mail: <a href="mailto: ... at gmail dot com"> ... at gmail dot com</a> < ... at gmail dot com>*

*Skype: xavinux*

Comments

Re: CentOS Storage SIG contribution.

By Niels de Vos at 02/12/2018 - 06:25

On Sun, Feb 11, 2018 at 11:23:33PM -0300, Javier Romero wrote:
Hi Javier!

Thanks for the interest in the Storage SIG and the offer to help. There
are different projects in the Storage SIG and a variety of tasks that
can use some extra hands. Could you explain a little more about your
interests? We should be able to find you something where you can enjoy
contributing.

Gluster and Ceph are currently settled in the SIG, but can benefit from
more (automated) testing, assisting with package maintenance and
updated docs in the CentOS wiki. Further improvement for the user
experience can be made as well, by providing container and VM images.

Possibly LizardFS signs up to get added to the Storage SIG soon too. In
that case it will be the 3rd project where you could contribute to.

Cheers,
Niels

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/12/2018 - 18:32

Hi Niels,

Thank you very much for your answer!

I'm interesting in contributing with Gluster, maybe on the testing
area or assisting with packages maintenance,

Have also been working with KVM virtual machines in the ISP Datacenter
for the last eight years, and with Docker since 2015, so think that
can also help with container and VM images if this can be useful.

Thanks again for your attention.

Cheers,

Javier Romero
E-mail: <a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>
Skype: xavinux

2018-02-12 7:25 GMT-03:00 Niels de Vos < ... at redhat dot com>:

Re: CentOS Storage SIG contribution.

By Niels de Vos at 02/13/2018 - 12:07

On Mon, Feb 12, 2018 at 07:32:40PM -0300, Javier Romero wrote:
If you want to help out with the packaging, subscribe to the
<a href="mailto: ... at gluster dot org"> ... at gluster dot org</a> [0] list to get notifications about new releases.
All packages are currently maintained on GitHub [1]. Have a look at the
main glusterfs package [2], it has a README and several branches for the
different versions. Once a new version is available from the Gluster
Community, reply to the packaging list to inform us that you want to
take care of it. You will have to react fast, we try to package the new
versions as soon as possible after the release. Send a PullRequest with
the updated .spec so that we can review and merge it.

We do have a Gluster container in the CentOS Container Index [3], but
would like to have different versions. At the moment, we actively
maintain Gluster versions 3.10, 3.12, 3.13 and are preparing for 4.0.
Ideally we should have a container for each version.

I do not know what is possible for VM images. Maybe we can provide a
Vagrant box [4], but you would have to find out what is needed for that.

Let me know if you want more details, I and others on this list should
be able to assist with getting you started.

Niels

0. <a href="http://lists.gluster.org/mailman/listinfo/packaging" title="http://lists.gluster.org/mailman/listinfo/packaging">http://lists.gluster.org/mailman/listinfo/packaging</a>
1. <a href="https://github.com/CentOS-Storage-SIG" title="https://github.com/CentOS-Storage-SIG">https://github.com/CentOS-Storage-SIG</a>
2. <a href="https://github.com/CentOS-Storage-SIG/glusterfs" title="https://github.com/CentOS-Storage-SIG/glusterfs">https://github.com/CentOS-Storage-SIG/glusterfs</a>
3. <a href="https://github.com/CentOS/container-index" title="https://github.com/CentOS/container-index">https://github.com/CentOS/container-index</a>
4. <a href="https://app.vagrantup.com/centos" title="https://app.vagrantup.com/centos">https://app.vagrantup.com/centos</a>

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/13/2018 - 20:55

2018-02-13 13:07 GMT-03:00 Niels de Vos < ... at redhat dot com>:

Lookking for all requirements needed to create a Vagrant box.

Let me know if you want more details, I and others on this list should

Re: CentOS Storage SIG contribution.

By Niels de Vos at 02/14/2018 - 05:48

On Tue, Feb 13, 2018 at 09:55:02PM -0300, Javier Romero wrote:
Have a look at
<a href="https://github.com/gluster/gluster-containers/tree/master/CentOS" title="https://github.com/gluster/gluster-containers/tree/master/CentOS">https://github.com/gluster/gluster-containers/tree/master/CentOS</a>. This
is the container that is currently built for the CentOS Registry and
available at
<a href="https://registry.centos.org/repo/gluster/storagesig-gluster-centos" title="https://registry.centos.org/repo/gluster/storagesig-gluster-centos">https://registry.centos.org/repo/gluster/storagesig-gluster-centos</a>.

This container seems incorrect as well, the centos-release-gluster
package will install the latest Long-Term-Maintenance version, currently
3.12, but the version mentioned in the container is 3.10. In addition to
that, the Vendor should either be CentOS or Gluster Community. There
might be more things that can be improved.

I suggest to have a go at making sure the current container is correct.
Once done, add a container for 3.10 (by installing
centos-release-gluster-310). Maybe place the Dockerfile in a different
directory, or just name it Dockerfile.3.10 or such. After that is
merged, it can be added to
<a href="https://github.com/CentOS/container-index/blob/master/index.d/gluster.yml" title="https://github.com/CentOS/container-index/blob/master/index.d/gluster.yml">https://github.com/CentOS/container-index/blob/master/index.d/gluster.yml</a>

Both Humble and Jose have been looking at the container images before.
They are on CC of this email and can help with any PullRequest reviews
or further guidance.

Thanks!
Niels

...

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/14/2018 - 08:51

Niels,

Thanks for your answer. I'll be looking at the container you have
suggested and will let you know how things are going.

Regards,
Javier Romero
E-mail: <a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>
Skype: xavinux

2018-02-14 6:48 GMT-03:00 Niels de Vos < ... at redhat dot com>:

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/15/2018 - 12:19

Hi Niels,

Built GlusterFS image from Dockerfile:

# docker images
REPOSITORY TAG IMAGE ID
CREATED SIZE
dockerfile-gluster-3.12 latest 4647c9d71843 53
minutes ago 371.2 MB
docker.io/centos 7 ff426288ea90 5
weeks ago 207.2 MB

# docker ps -a
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
9afa8c0ab468 dockerfile-gluster-3.12 "/usr/sbin/init" 38
minutes ago Up 38 minutes small_shannon

# docker exec -it 9afa8c0ab468 bash

# glusterd -V
glusterfs 3.12.5
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

Updated the Dockerfile and changed Gluster version and vendor, a pull
request has been sent on Github.

Regards,

Javier Romero
E-mail: <a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>
Skype: xavinux

2018-02-14 9:51 GMT-03:00 Javier Romero < ... at gmail dot com>:

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/16/2018 - 12:36

There was just a Dockerfile on the gluster-3.10 branch for building
GlusterFS 3.10. Have updated that Dockerfile and sent a pull rquest on
Github.

# docker images
REPOSITORY TAG IMAGE ID
CREATED SIZE
dockerfile-gluster-3.10 latest fbedfea074f6 36
minutes ago 435.5 MB
docker.io/centos 7 ff426288ea90 5
weeks ago 207.2 MB

# docker ps -a
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
0269de7f42bd dockerfile-gluster-3.10 "/usr/sbin/init" 7
seconds ago Up 6 seconds high_jang

# docker exec -it 0269de7f42bd sh
sh-4.2# systemctl status glusterd
● glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled;
vendor preset: disabled)
Active: active (running) since Fri 2018-02-16 16:03:46 UTC; 28s ago
Process: 55 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid
--log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited,
status=0/SUCCESS)
Main PID: 62 (glusterd)
CGroup: /system.slice/docker-0269de7f42bd1104c769d1adc4b6b2570d64fe7955e7c9634844d4570cd0a216.scope/system.slice/glusterd.service
└─62 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO

Feb 16 16:03:40 centos-7 systemd[1]: Starting GlusterFS, a clustered
file-system server...
Feb 16 16:03:46 centos-7 systemd[1]: Started GlusterFS, a clustered
file-system server.

sh-4.2# glusterd -V
glusterfs 3.10.10
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

Regards,
Javier Romero

2018-02-15 13:19 GMT-03:00 Javier Romero < ... at gmail dot com>:

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/16/2018 - 15:45

Have created a new Dockerfile for image creation to run containers on
CentOS 7 with GlusterFS 3.13 already installed.
Also sent a pull request on Github to merge a new branch named
gluster-3.13 with this new Dockerfile included.
Test on Centos 7 release 7.4.1708 (Core) with kernel
3.10.0-693.17.1.el7.x86_64 and works ok:

# docker images
REPOSITORY TAG IMAGE ID
CREATED SIZE
dockerfile-gluster-3.13 latest 07931ac54c87
About an hour ago 371.9 MB
docker.io/centos 7 ff426288ea90 5
weeks ago 207.2 MB

# docker ps -a
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
4e164d71256f dockerfile-gluster-3.13 "/usr/sbin/init"
About an hour ago Up About an hour
backstabbing_babbage

# docker exec -it 4e164d71256f sh
sh-4.2# systemctl status glusterd
● glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled;
vendor preset: disabled)
Active: active (running) since Fri 2018-02-16 17:44:22 UTC; 1h 50min ago
Process: 63 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid
--log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited,
status=0/SUCCESS)
Main PID: 64 (glusterd)
CGroup: /system.slice/docker-4e164d71256f306144b2e2cf0d6b9d7c369c9958d0017014ade17fbbdbadcf2e.scope/system.slice/glusterd.service
└─64 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO

Feb 16 17:44:16 centos-7 systemd[1]: Starting GlusterFS, a clustered
file-system server...
Feb 16 17:44:22 centos-7 systemd[1]: Started GlusterFS, a clustered
file-system server.

sh-4.2# glusterd -V
glusterfs 3.13.2
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

Regards,
Javier Romero

2018-02-16 13:36 GMT-03:00 Javier Romero < ... at gmail dot com>:

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/23/2018 - 08:22

Hi Neils,

Have started my contibutions on the CentOS Storage SIG with GlusterFS:

Cc: Amar Tumballi < ... at redhat dot com>, Gluster Devel <
gluster- ... at gluster dot org>, Humble Chirammal < ... at redhat dot com>,
Raghavendra Talur < ... at redhat dot com>

Hi Shyam,

Thanks for your answer.

As Humble said, he has already merged two pull requests I've sent to
the gluster-containers repo at Github:
<a href="https://github.com/gluster/gluster-containers/pull/66" title="https://github.com/gluster/gluster-containers/pull/66">https://github.com/gluster/gluster-containers/pull/66</a>
<a href="https://github.com/gluster/gluster-containers/pull/68" title="https://github.com/gluster/gluster-containers/pull/68">https://github.com/gluster/gluster-containers/pull/68</a>

Will use that repo as a start point to create a new Vagrant cluster running
GlusterFS.

Regards,

Javier

Javier Romero

2018-02-16 16:45 GMT-03:00 Javier Romero < ... at gmail dot com>:

Re: CentOS Storage SIG contribution.

By Niels de Vos at 02/23/2018 - 13:04

Hey Javier,

Great to see your contributions rolling in! As you're noticing, others
will assist, guide and review the work you're doing. That's really good
because I'm on holidays and traveling for an other 2 weeks with little
time/access to emails.

Thanks for your efforts and I'm looking forward to see more improvements
coming from you :)

Cheers,
Niels

On Fri, Feb 23, 2018 at 09:22:26AM -0300, Javier Romero wrote:

Re: CentOS Storage SIG contribution.

By Javier Romero at 03/02/2018 - 13:32

Hi,

Have just finished a Vagrant cluster running Centos 7 with GlusterFS
3.13 just installed. Here is the link to the Github repo:

<a href="https://github.com/xavinux/gluster-virtual-machines" title="https://github.com/xavinux/gluster-virtual-machines">https://github.com/xavinux/gluster-virtual-machines</a>

Regards,

Javier Romero

2018-02-23 14:04 GMT-03:00 Niels de Vos < ... at redhat dot com>:

Re: CentOS Storage SIG contribution.

By Javier Romero at 02/23/2018 - 13:35

Hey Niels,

Thanks for your answer. I've started working on a Vagrant VM Gluster repo
on Github:

<a href="https://github.com/xavinux/gluster-virtual-machines/blob/master/README.md" title="https://github.com/xavinux/gluster-virtual-machines/blob/master/README.md">https://github.com/xavinux/gluster-virtual-machines/blob/master/README.md</a>

Hope you have a nice holidays!

Cheers,

Javier Romero

2018-02-23 14:04 GMT-03:00 Niels de Vos < ... at redhat dot com>: