<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/extras, branch v6.7</title>
<subtitle>GlusterFS is a distributed file-system capable of scaling to several petabytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/'/>
<entry>
<title>extras: Cgroup(CPU/Mem) restriction are not working on gluster process</title>
<updated>2019-11-19T13:31:52+00:00</updated>
<author>
<name>Mohit Agrawal</name>
<email>moagrawal@redhat.com</email>
</author>
<published>2019-10-22T13:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=c95bfb0fddc609d39c2e2a44fe7dce1d95ccf506'/>
<id>c95bfb0fddc609d39c2e2a44fe7dce1d95ccf506</id>
<content type='text'>
Problem: After Configure the Cgroup(CPU/MEM) limit to a gluster processes
         resource(CPU/MEM) limits are not applicable to the gluster
         processes.Cgroup limits are not applicable because all threads are
         not moved into a newly created cgroup to apply restriction.

Solution: To move a gluster thread to newly created cgroup change the
          condition in script

&gt; Change-Id: I8ad81c69200e4ec43a74f6052481551cf835354c
&gt; Fixes: bz#1764208
&gt; Signed-off-by: Mohit Agrawal &lt;moagrawal@redhat.com&gt;
&gt; (cherry picked from commit f5811979935ce607391825ac6913a95f588818e3)
&gt; (Reviewed on upstream link https://review.gluster.org/#/c/glusterfs/+/23599/)

Change-Id: I8ad81c69200e4ec43a74f6052481551cf835354c
Fixes: bz#1766425
Signed-off-by: Mohit Agrawal &lt;moagrawal@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: After Configure the Cgroup(CPU/MEM) limit to a gluster processes
         resource(CPU/MEM) limits are not applicable to the gluster
         processes.Cgroup limits are not applicable because all threads are
         not moved into a newly created cgroup to apply restriction.

Solution: To move a gluster thread to newly created cgroup change the
          condition in script

&gt; Change-Id: I8ad81c69200e4ec43a74f6052481551cf835354c
&gt; Fixes: bz#1764208
&gt; Signed-off-by: Mohit Agrawal &lt;moagrawal@redhat.com&gt;
&gt; (cherry picked from commit f5811979935ce607391825ac6913a95f588818e3)
&gt; (Reviewed on upstream link https://review.gluster.org/#/c/glusterfs/+/23599/)

Change-Id: I8ad81c69200e4ec43a74f6052481551cf835354c
Fixes: bz#1766425
Signed-off-by: Mohit Agrawal &lt;moagrawal@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extras/hooks: Install and package newly added post add-brick hook script</title>
<updated>2019-07-16T05:02:47+00:00</updated>
<author>
<name>Anoop C S</name>
<email>anoopcs@redhat.com</email>
</author>
<published>2019-06-12T10:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=08f8a3b8ea85cae64083f0425c7cee9500d27a16'/>
<id>08f8a3b8ea85cae64083f0425c7cee9500d27a16</id>
<content type='text'>
https://review.gluster.org/c/glusterfs/+/22913 added a new SELinux hook
script as a post add-brick operation to label new brick paths. But the
change failed to install and package new script. Therefore making
necessary changes to Makefile and spec file to get it installed and
packaged.

Backport of:
&gt; Change-Id: I67b8f4982c2783c34a4bc749fb4387c19a038225
&gt; fixes: bz#1717953
&gt; Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;

Change-Id: I67b8f4982c2783c34a4bc749fb4387c19a038225
fixes: bz#1718227
Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
(cherry picked from commit 647a1b83fa39a635b01fcba38a330485fcd6afdb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://review.gluster.org/c/glusterfs/+/22913 added a new SELinux hook
script as a post add-brick operation to label new brick paths. But the
change failed to install and package new script. Therefore making
necessary changes to Makefile and spec file to get it installed and
packaged.

Backport of:
&gt; Change-Id: I67b8f4982c2783c34a4bc749fb4387c19a038225
&gt; fixes: bz#1717953
&gt; Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;

Change-Id: I67b8f4982c2783c34a4bc749fb4387c19a038225
fixes: bz#1718227
Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
(cherry picked from commit 647a1b83fa39a635b01fcba38a330485fcd6afdb)
</pre>
</div>
</content>
</entry>
<entry>
<title>extras/hooks: Add SELinux label on new bricks during add-brick</title>
<updated>2019-07-04T05:52:05+00:00</updated>
<author>
<name>Anoop C S</name>
<email>anoopcs@redhat.com</email>
</author>
<published>2019-06-06T13:03:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=c6391433b67f7ab4eab7f85e080aec11019acf2c'/>
<id>c6391433b67f7ab4eab7f85e080aec11019acf2c</id>
<content type='text'>
Backport of:
&gt; Change-Id: Ifd8ae5eeb91b968cc1a9a9b5d15844c5233d56db
&gt; fixes: bz#1717953
&gt; Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;

Change-Id: Ifd8ae5eeb91b968cc1a9a9b5d15844c5233d56db
fixes: bz#1718227
Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
(cherry picked from commit 582f91fcad42b6b7da653d2a587d196a7a1e0204)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport of:
&gt; Change-Id: Ifd8ae5eeb91b968cc1a9a9b5d15844c5233d56db
&gt; fixes: bz#1717953
&gt; Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;

Change-Id: Ifd8ae5eeb91b968cc1a9a9b5d15844c5233d56db
fixes: bz#1718227
Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
(cherry picked from commit 582f91fcad42b6b7da653d2a587d196a7a1e0204)
</pre>
</div>
</content>
</entry>
<entry>
<title>extras/hooks: syntactical errors in SELinux hooks, scipt logic improved</title>
<updated>2019-05-08T13:56:20+00:00</updated>
<author>
<name>Milan Zink</name>
<email>mzink@redhat.com</email>
</author>
<published>2018-02-05T14:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=2aa9898720e3be2a203bec960103afc2558ddff6'/>
<id>2aa9898720e3be2a203bec960103afc2558ddff6</id>
<content type='text'>
Fixes: bz#1701818
Change-Id: Ia5fa1df81bbaec3a84653d136a331c76b457f42c
Signed-off-by: Milan Zink &lt;zeten30@gmail.com&gt;
(cherry picked from commit 1ad201a9fd6748d7ef49fb073fcfe8c6858d557d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: bz#1701818
Change-Id: Ia5fa1df81bbaec3a84653d136a331c76b457f42c
Signed-off-by: Milan Zink &lt;zeten30@gmail.com&gt;
(cherry picked from commit 1ad201a9fd6748d7ef49fb073fcfe8c6858d557d)
</pre>
</div>
</content>
</entry>
<entry>
<title>rpm: add thin-arbiter package</title>
<updated>2019-03-13T01:48:26+00:00</updated>
<author>
<name>Ashish Pandey</name>
<email>aspandey@redhat.com</email>
</author>
<published>2019-01-30T08:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=3bcf210a5a9b922ea78b31ef0de8eaf97ff4dcb4'/>
<id>3bcf210a5a9b922ea78b31ef0de8eaf97ff4dcb4</id>
<content type='text'>
Discussion on thin arbiter volume -
https://github.com/gluster/glusterfs/issues/352#issuecomment-350981148

Main idea of having this rpm package is to deploy thin-arbiter
without glusterd and other commands on a node, and all we need
on that tie-breaker node is to run a single glusterfs command.
Also note that, no other glusterfs installation needs
thin-arbiter.so.

Make sure RPM contains sample vol file, which can work by default,
and a script to configure that volfile, along with translator image.

Change-Id: Ibace758373d8a991b6a19b2ecc60c93b2f8fc489
updates: bz#1672818
Signed-off-by: Amar Tumballi &lt;amarts@redhat.com&gt;
Signed-off-by: Ashish Pandey &lt;aspandey@redhat.com&gt;
(cherry picked from commit ca9bef7f1538beb570fcb190ff94f86f0b8ba38a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discussion on thin arbiter volume -
https://github.com/gluster/glusterfs/issues/352#issuecomment-350981148

Main idea of having this rpm package is to deploy thin-arbiter
without glusterd and other commands on a node, and all we need
on that tie-breaker node is to run a single glusterfs command.
Also note that, no other glusterfs installation needs
thin-arbiter.so.

Make sure RPM contains sample vol file, which can work by default,
and a script to configure that volfile, along with translator image.

Change-Id: Ibace758373d8a991b6a19b2ecc60c93b2f8fc489
updates: bz#1672818
Signed-off-by: Amar Tumballi &lt;amarts@redhat.com&gt;
Signed-off-by: Ashish Pandey &lt;aspandey@redhat.com&gt;
(cherry picked from commit ca9bef7f1538beb570fcb190ff94f86f0b8ba38a)
</pre>
</div>
</content>
</entry>
<entry>
<title>build: include gluster/__init__.* files for python packaging</title>
<updated>2019-02-25T11:16:43+00:00</updated>
<author>
<name>Niels de Vos</name>
<email>ndevos@redhat.com</email>
</author>
<published>2019-02-22T14:17:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=fce763a6fcd9331356e7d32c1aa8daf9e991aa56'/>
<id>fce763a6fcd9331356e7d32c1aa8daf9e991aa56</id>
<content type='text'>
The gluster/__init__.py file was originaly part of the glupy
installation. This file is required to have the python-gluster package
function correctly, it is expected to provide the 'gluster' namespace
for other python packages (like from the libgfapi-python project).

Because glupy does not exist anymore, this file is now added to in a new
extras/python directory.

Backport of commit b235a56394c09bb1d7308a620053dbe098d15967:
&gt; Change-Id: I14fe959778ee3344d7d54ba342c7928a4d8080a2
&gt; Fixes: c3fcff9ccbfcec1be242fd5cf210c9995586b078
&gt; Fixes: 8293d21280fd6ddfc9bb54068cf87794fc6be207
&gt; Updates: bz#1642810
&gt; Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;

Change-Id: I04e1e0dc4022b53c02053d5452f305b78e56c389
Updates: bz#1680585
Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The gluster/__init__.py file was originaly part of the glupy
installation. This file is required to have the python-gluster package
function correctly, it is expected to provide the 'gluster' namespace
for other python packages (like from the libgfapi-python project).

Because glupy does not exist anymore, this file is now added to in a new
extras/python directory.

Backport of commit b235a56394c09bb1d7308a620053dbe098d15967:
&gt; Change-Id: I14fe959778ee3344d7d54ba342c7928a4d8080a2
&gt; Fixes: c3fcff9ccbfcec1be242fd5cf210c9995586b078
&gt; Fixes: 8293d21280fd6ddfc9bb54068cf87794fc6be207
&gt; Updates: bz#1642810
&gt; Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;

Change-Id: I04e1e0dc4022b53c02053d5452f305b78e56c389
Updates: bz#1680585
Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extras/systemd: Remove socket activated syslog.target and add documentation keys</title>
<updated>2019-01-11T07:30:06+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vbellur@redhat.com</email>
</author>
<published>2018-11-27T06:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=aa85b54c6fa329f05ec24c1e98c59b2f993bf32b'/>
<id>aa85b54c6fa329f05ec24c1e98c59b2f993bf32b</id>
<content type='text'>
Adopting patch provided by Patrick Matthäi &lt;pmatthaei@debian.org&gt; at:

https://bugzilla.redhat.com/attachment.cgi?id=1470751

fixes: bz#1560561
Change-Id: I363a049c743c65823e6c4f153cbe20b47fcb64fb
Signed-off-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adopting patch provided by Patrick Matthäi &lt;pmatthaei@debian.org&gt; at:

https://bugzilla.redhat.com/attachment.cgi?id=1470751

fixes: bz#1560561
Change-Id: I363a049c743c65823e6c4f153cbe20b47fcb64fb
Signed-off-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extras: Add readdir-ahead to samba group command</title>
<updated>2019-01-04T01:48:23+00:00</updated>
<author>
<name>Anoop C S</name>
<email>anoopcs@redhat.com</email>
</author>
<published>2019-01-03T05:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=f6d0141b47ac36f6d2b100252241ed64bc92f913'/>
<id>f6d0141b47ac36f6d2b100252241ed64bc92f913</id>
<content type='text'>
Change-Id: I310f014a9ab8416d9833f5711ff902da1457f415
updates: bz#1193929
Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I310f014a9ab8416d9833f5711ff902da1457f415
updates: bz#1193929
Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glusterd: define max-port to 60999</title>
<updated>2018-12-18T04:42:31+00:00</updated>
<author>
<name>Atin Mukherjee</name>
<email>amukherj@redhat.com</email>
</author>
<published>2018-12-17T03:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=f9220c89ae848c72df8232163d5a990283f15f5a'/>
<id>f9220c89ae848c72df8232163d5a990283f15f5a</id>
<content type='text'>
As glusterd scans through all the ports in its defined range, with RHEL
7.3 onwards any port beyond 60999 isn't within the ephemeral port range
and following AVC denial message is seen.

type=AVC msg=audit(1471946614.154:109): avc:  denied  { name_bind } for
pid=2302 comm="glusterd" src=61000 scontext=system_u:system_r:glusterd_t:s0
tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket

Fix is to define the max port range to 60999 in glusterd.vol file. The
port range can be tweaked through a reconfigure of this configuration
file though.

Fixes: bz#1659857
Change-Id: I60fd4a421d8509b8dca4ca13b73999ae33965f72
Signed-off-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As glusterd scans through all the ports in its defined range, with RHEL
7.3 onwards any port beyond 60999 isn't within the ephemeral port range
and following AVC denial message is seen.

type=AVC msg=audit(1471946614.154:109): avc:  denied  { name_bind } for
pid=2302 comm="glusterd" src=61000 scontext=system_u:system_r:glusterd_t:s0
tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket

Fix is to define the max port range to 60999 in glusterd.vol file. The
port range can be tweaked through a reconfigure of this configuration
file though.

Fixes: bz#1659857
Change-Id: I60fd4a421d8509b8dca4ca13b73999ae33965f72
Signed-off-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>geo-rep : fix slave volume read-only option</title>
<updated>2018-12-17T17:21:51+00:00</updated>
<author>
<name>Sunny Kumar</name>
<email>sunkumar@redhat.com</email>
</author>
<published>2018-12-17T08:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/anoopcs/public_git/glusterfs.git/commit/?id=822779332e193471a6caa3199f0f618d2aa2c900'/>
<id>822779332e193471a6caa3199f0f618d2aa2c900</id>
<content type='text'>
Problem: When separate ssh key is given for non root user setting slave volume
         read-only option results in failure.

Solution: Check for extra param in case separate key is given for non-root user
          and take action accordingly.

Change-Id: Iafe9a2aa6b86cde1dcd7d63771048a6ae33c2cde
fixes: bz#1659971
Signed-off-by: Sunny Kumar &lt;sunkumar@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: When separate ssh key is given for non root user setting slave volume
         read-only option results in failure.

Solution: Check for extra param in case separate key is given for non-root user
          and take action accordingly.

Change-Id: Iafe9a2aa6b86cde1dcd7d63771048a6ae33c2cde
fixes: bz#1659971
Signed-off-by: Sunny Kumar &lt;sunkumar@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
