Bug 1226167 - tiering: use sperate log/socket/pid file for tiering
Summary: tiering: use sperate log/socket/pid file for tiering
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tier
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: RHGS 3.1.0
Assignee: Mohammed Rafi KC
QA Contact: Nag Pavan Chilakam
URL:
Whiteboard: TIERING
Depends On: 1221970
Blocks: 1202842 1221969
TreeView+ depends on / blocked
 
Reported: 2015-05-29 06:18 UTC by Mohammed Rafi KC
Modified: 2016-09-17 15:45 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.7.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1221970
Environment:
Last Closed: 2015-07-29 04:54:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Mohammed Rafi KC 2015-05-29 06:18:46 UTC
+++ This bug was initially created as a clone of Bug #1221970 +++

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

Description of problem:



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-05-15 07:27:32 EDT ---

REVIEW: http://review.gluster.org/10792 (tiering/rebalance: Use separate pid/socket file for tiering) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

--- Additional comment from Anand Avati on 2015-05-28 01:30:28 EDT ---

REVIEW: http://review.gluster.org/10792 (tiering/rebalance: Use separate pid/socket file for tiering) posted (#2) for review on master by mohammed rafi  kc (rkavunga)

--- Additional comment from Anand Avati on 2015-05-28 10:03:25 EDT ---

COMMIT: http://review.gluster.org/10792 committed in master by Kaushal M (kaushal) 
------
commit ffc15b7ef0631b571be00cdb7d091cac84e314f5
Author: Mohammed Rafi KC <rkavunga>
Date:   Fri May 15 16:03:00 2015 +0530

    tiering/rebalance: Use separate pid/socket file for tiering
    
    When promotion/demotion daemon starts, it uses the same pidfile
    as rebalance. This patch will introduce a different pid file
    for the same.
    
    Change-Id: Ic484c53f51e00ae6b2d697748a9600b14829e23b
    BUG: 1221970
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/10792
    Reviewed-by: Atin Mukherjee <amukherj>
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System

Comment 4 Triveni Rao 2015-06-11 17:39:05 UTC
how to validate this? any particular command to execute?

description?

Comment 5 Joseph Elwin Fernandes 2015-06-16 08:46:52 UTC
when tiering rebalancer runs you will find this file 

/var/lib/glusterd/vols/test/tier/<uuid>.pid

thatz the validation of this bug.

It will not the pid file of dht rebalancer.

Comment 6 Nag Pavan Chilakam 2015-06-30 07:15:41 UTC
Noting this snippet from parent bug for QE reference and understanding:

============
tiering/rebalance: Use separate pid/socket file for tiering    
          
    
    When promotion/demotion daemon starts, it uses the same pidfile
    as rebalance. This patch will introduce a different pid file
    for the same.
=============

Comment 7 Nag Pavan Chilakam 2015-06-30 10:44:57 UTC
I have verified the bug in following scenarios:
1)attach-tier ---> tier deamon kicks off
2)detach-tier start------->tier deamon stops
3)rebalance volumename tier start------->tier deamon kicks off
4)stop tier volume--->tier deamon dies
5)New volume has new tier deamon kicked of per node per volume seperately

The Process socket was available at /var/lib/glusterd/vols/<volname>/tier/<pidname>.pid

hence moving the bug to verified
Logs and sosreports are attached

Note: But for a detach-tier start, a seperate PID under rebalance folder is getting created to move files to cold tier

Comment 8 Nag Pavan Chilakam 2015-06-30 11:37:57 UTC
QE verified logs available at rhsqe-repo.lab.eng.blr.redhat.com:/home/repo/sosreports/bug.1226167

Comment 9 Mohammed Rafi KC 2015-07-06 11:02:23 UTC
removing the needinfo

Comment 10 errata-xmlrpc 2015-07-29 04:54:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html


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