[Bugs] [Bug 1302200] New: Unable to get the client statedump, as /var/run/gluster directory is not available by default

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 27 06:52:28 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1302200

            Bug ID: 1302200
           Summary: Unable to get the client statedump, as
                    /var/run/gluster directory is not available by default
           Product: GlusterFS
           Version: mainline
         Component: build
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: mchangir at redhat.com
                CC: amukherj at redhat.com, bugs at gluster.org,
                    ndevos at redhat.com, nlevinki at redhat.com,
                    rhs-bugs at redhat.com, sasundar at redhat.com,
                    vagarwal at redhat.com
        Depends On: 1298118



+++ This bug was initially created as a clone of Bug #1298118 +++

Description of problem:
-----------------------
/var/run/gluster should automatically created after installing glusterfs fuse
client rpms

Consequences of this issue is that the user unable to get the to get the
statedump of fuse mount process ( client side statedump )

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHGS 3.1.1 ( glusterfs-3.7.1-16.el7 )

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Look for the director /var/run/gluster
(ie) ls /var/run/gluster

Actual results:
---------------
/var/run/gluster directory is not available after install client rpms

Expected results:
-----------------
/var/run/gluster should be created by the client rpms

Additional info:
----------------
Consequence of this issue would be user unable to get the client statedump

Workaround is to create : /var/run/gluster and then initiate statedump

--- Additional comment from Milind Changire on 2016-01-14 00:21:45 EST ---

As per downstream glusterfs.spec.in, /var/run/gluster is packaged only with the
glusterfs-server RPM and specifically excluded for non-server RPM packaging. So
any client only RPM install will not have that directory created.

Also, as per Niels comment for his upstream patch on making /var/run/gluster
available, it should have been made available for native client installs as
well ... but its not so in downstream packaging.

I'll have to move the directory packaging in downstream RPMs to a common RPM
like the primary package 'glusterfs'.

Is this acceptable?

--- Additional comment from Niels de Vos on 2016-01-25 10:03:02 EST ---

(In reply to Milind Changire from comment #1)
...
> I'll have to move the directory packaging in downstream RPMs to a common RPM
> like the primary package 'glusterfs'.
> 
> Is this acceptable?

Yes, that should be acceptable. Please make sure to file a bug+patch for this
in upstream as well if the problem exists there still.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1298118
[Bug 1298118] Unable to get the client statedump, as /var/run/gluster
directory is not available by default
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list