Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1226167 - tiering: use sperate log/socket/pid file for tiering
tiering: use sperate log/socket/pid file for tiering
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: tier (Show other bugs)
3.1
Unspecified Unspecified
medium Severity unspecified
: ---
: RHGS 3.1.0
Assigned To: Mohammed Rafi KC
nchilaka
TIERING
: Triaged
Depends On: 1221970
Blocks: 1202842 1221969
  Show dependency treegraph
 
Reported: 2015-05-29 02:18 EDT by Mohammed Rafi KC
Modified: 2016-09-17 11:45 EDT (History)
10 users (show)

See Also:
Fixed In Version: glusterfs-3.7.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1221970
Environment:
Last Closed: 2015-07-29 00:54:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description Mohammed Rafi KC 2015-05-29 02:18:46 EDT
+++ 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@redhat.com)

--- 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@redhat.com)

--- 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@redhat.com) 
------
commit ffc15b7ef0631b571be00cdb7d091cac84e314f5
Author: Mohammed Rafi KC <rkavunga@redhat.com>
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@redhat.com>
    Reviewed-on: http://review.gluster.org/10792
    Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
    Tested-by: Gluster Build System <jenkins@build.gluster.com>
    Tested-by: NetBSD Build System
Comment 4 Triveni Rao 2015-06-11 13:39:05 EDT
how to validate this? any particular command to execute?

description?
Comment 5 Joseph Elwin Fernandes 2015-06-16 04:46:52 EDT
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 nchilaka 2015-06-30 03:15:41 EDT
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 nchilaka 2015-06-30 06:44:57 EDT
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 nchilaka 2015-06-30 07:37:57 EDT
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 07:02:23 EDT
removing the needinfo
Comment 10 errata-xmlrpc 2015-07-29 00:54:04 EDT
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.