Bug 1287951 - [GlusterD]Probing a node having standalone volume, should not happen
Summary: [GlusterD]Probing a node having standalone volume, should not happen
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: RHGS 3.1.3
Assignee: Atin Mukherjee
QA Contact: Byreddy
URL:
Whiteboard: glusterd
Depends On:
Blocks: 1287992 1288963 1299184
TreeView+ depends on / blocked
 
Reported: 2015-12-03 06:35 UTC by Byreddy
Modified: 2016-06-30 06:42 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.7.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1287992 (view as bug list)
Environment:
Last Closed: 2016-06-23 04:58:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Description Byreddy 2015-12-03 06:35:47 UTC
Description of problem:
=======================
Done the peer probe from a  node having volume with another node having standalone volume (Diff volume names), peer probe got success, which is not correct, here two nodes are individual clusters so merging of two clusters is not supported.

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

How reproducible:
=================
Always


Steps to Reproduce:
===================
1. Have one node (node-1) cluster with volume (Eg: Distributed type)
2. Have one more node (node-2) cluster with volume in it (Eg: Replica type)
3. Now peer from node-2 from node-1, peer probe will pass 

Actual results:
===============
Peer probe happening with node having volume (unclean node)



Expected results:
=================
Peer probe should not happen with node having volume


Additional info:

Comment 3 SATHEESARAN 2016-01-07 09:59:19 UTC
patch http://review.gluster.org/#/c/12864/ is available upstream

Comment 5 Atin Mukherjee 2016-03-22 12:11:18 UTC
The fix is now available in rhgs-3.1.3 branch, hence moving the state to Modified.

Comment 7 Byreddy 2016-04-04 06:59:15 UTC
Verified this bug using the build - "glusterfs-3.7.9-1"

Fix is not allowing to merge two single node cluster with proper console error message saying "peer probe: failed: <hostname of probing node>  is either already part of another cluster or having volumes configured"


Moving the bug to verified state.

Comment 10 errata-xmlrpc 2016-06-23 04:58:46 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://access.redhat.com/errata/RHBA-2016:1240


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