Bug 1287951

Summary: [GlusterD]Probing a node having standalone volume, should not happen
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Byreddy <bsrirama>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Byreddy <bsrirama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, nlevinki, rhinduja, sasundar, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: x86_64   
OS: Linux   
Whiteboard: glusterd
Fixed In Version: glusterfs-3.7.9-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1287992 (view as bug list) Environment:
Last Closed: 2016-06-23 04:58:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1287992, 1288963, 1299184    

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