Bug 1077516 - [RFE] :- Move the container for changelogs from /var/run to /var/lib/misc
Summary: [RFE] :- Move the container for changelogs from /var/run to /var/lib/misc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Venky Shankar
QA Contact: amainkar
URL:
Whiteboard:
Depends On:
Blocks: 1095314
TreeView+ depends on / blocked
 
Reported: 2014-03-18 07:10 UTC by Rachana Patel
Modified: 2015-04-20 11:57 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Clone Of:
: 1095314 (view as bug list)
Environment:
Last Closed: 2014-11-11 08:28:54 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2014-03-18 07:10:10 UTC
Description of problem:
In Geo replication, 3 directories - .processing, .processed and .current which has crawl related change logs are stored under  /var/run/gluster/<master>/<slave-url>/<brick-hash>.

/var/run/gluster* is not picked by sosreport and on reboot content of that Directory might wiped out.

So we can move it to some other location


Version-Release number of selected component (if applicable):


How reproducible:
always


Actual results:
logs are stored under /var/run/gluster*

Expected results:
move logs under /var/lib/misc

Additional info:

Comment 1 Anand Avati 2014-04-01 07:35:13 UTC
REVIEW: http://review.gluster.org/7375 (gsyncd / geo-rep: FSH recommended log locations) posted (#1) for review on master by Venky Shankar (vshankar)

Comment 2 Anand Avati 2014-05-07 11:19:45 UTC
REVIEW: http://review.gluster.org/7375 (gsyncd / geo-rep: FSH recommended log locations) posted (#2) for review on master by Kotresh HR (khiremat)

Comment 3 Anand Avati 2014-05-07 12:13:09 UTC
REVIEW: http://review.gluster.org/7375 (gsyncd / geo-rep: FSH recommended log locations) posted (#3) for review on master by Kotresh HR (khiremat)

Comment 4 Anand Avati 2014-05-09 08:34:09 UTC
REVIEW: http://review.gluster.org/7375 (gsyncd / geo-rep: FSH recommended log locations) posted (#4) for review on master by Aravinda VK (avishwan)

Comment 5 Anand Avati 2014-06-06 07:00:25 UTC
REVIEW: http://review.gluster.org/7375 (gsyncd / geo-rep: FSH recommended log locations) posted (#5) for review on master by ajeet jha (ajha)

Comment 6 Anand Avati 2014-06-10 16:56:06 UTC
COMMIT: http://review.gluster.org/7375 committed in master by Venky Shankar (vshankar) 
------
commit ec5d64eafcd77b1746b83173de16f7ec742af7a6
Author: Venky Shankar <vshankar>
Date:   Wed Mar 19 19:32:15 2014 +0530

    gsyncd / geo-rep: FSH recommended log locations
    
    Upgrading "working_dir" on the fly is a bit unclean yet
    (though it works) as currently config upgrade does not
    support "old" values to be expanded by using configuration
    variables.
    
    Change-Id: I44ed65c281f2e0ce3b6b467addc5c1c88ac674e7
    BUG: 1077516
    Signed-off-by: Venky Shankar <vshankar>
    Signed-off-by: Kotresh H R <khiremat>
    Signed-off-by: Aravinda VK <avishwan>
    Signed-off-by: Ajeet Jha <ajha>
    Reviewed-on: http://review.gluster.org/7375
    Tested-by: Gluster Build System <jenkins.com>

Comment 7 Niels de Vos 2014-09-22 12:36:57 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 8 nathan r. hruby 2014-10-09 19:03:52 UTC
Of note that on Ubuntu at least, /var/run is a symlink to /run which is a tmpfs filesystem and of limited size on smaller hosts (such as AWS machines).  As such can easily fill up the filesystem causing geo-replication to fail as well as problems with other services.

Glad this fix is in 3.6.0, thanks much guys!

Comment 9 Niels de Vos 2014-11-11 08:28:54 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users


Note You need to log in before you can comment on or make changes to this bug.