Bug 1279314 - [Tier]: After volume restart, unable to stop the started detach tier
Summary: [Tier]: After volume restart, unable to stop the started detach tier
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tier
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.1.2
Assignee: Dan Lambright
QA Contact: Nag Pavan Chilakam
URL:
Whiteboard:
Depends On:
Blocks: 1260783
TreeView+ depends on / blocked
 
Reported: 2015-11-09 07:17 UTC by Byreddy
Modified: 2016-09-17 15:36 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.7.5-17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-01 05:53:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Description Byreddy 2015-11-09 07:17:52 UTC
Description of problem:
=======================
After volume restart the tier detach  stop failing with error message "volume detach-tier stop: failed: Detach-tiernot started" and detach-tier commit is removing the tier.

Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.7.5-5


How reproducible:
=================
100%


Steps to Reproduce:
===================
1.Have a two node cluster
2.Create a replica (1*2) volume using two nodes and start it.
3.Attach tier of type Distributes (1*1) 
4.Restart the volume // gluster volume <vol_name> start force
5.Stop the detach tier  // it will fail
6.Do detach tier commit // it will pass

Actual results:
===============
After volume restart, unable to stop the started detach tier

Expected results:
================
Should be able to stop the detach tier even after volume restart.


Additional info:

Comment 3 Byreddy 2015-11-18 08:55:05 UTC
Small correction in reproducing steps:
======================================

1.Have a two node cluster
2.Create a replica (1*2) volume using two nodes and start it.
3.Attach tier of type Distributes (1*1) 

4.Start the detach tier    ****missed this step previously*****

5.Restart the volume // gluster volume <vol_name> start force
6.Stop the detach tier  // it will fail
7.Do detach tier commit // it will pass

Comment 6 hari gowtham 2016-01-19 12:58:26 UTC
I will try to reproduce it. and update the bug before 20th jan evening

Comment 7 hari gowtham 2016-01-22 07:29:48 UTC
It works on the upstream, master.

Comment 9 hari gowtham 2016-01-22 11:43:18 UTC
The patch set to the upstream master to fix this is:
http://review.gluster.org/#/c/12833/

the patch for 3.7.6 is:
http://review.gluster.org/#/c/12921/

Comment 10 hari gowtham 2016-01-27 06:31:39 UTC
The downstream patch is:
https://code.engineering.redhat.com/gerrit/#/c/63464/

Comment 11 Bhaskarakiran 2016-01-28 11:35:15 UTC
From the mail, the conversion:

The bug 1279314 was marked as known issue. When we were trying to document that, we learned it was fixed and then removed from the tracker.
The RCA for both the bugs turned out to be same and hence fixed with 1284387. Please note the patch in 2 was merged with 1284387, which is fully acked.

Regards,
Vivek

Comment 14 Bhaskarakiran 2016-01-31 16:23:15 UTC
Marking this as verified.

Comment 16 errata-xmlrpc 2016-03-01 05:53:56 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/RHBA-2016-0193.html


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