Bug 1245536

Summary: [RHGS-AMI] Same UUID generated across instances
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anush Shetty <ashetty>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Anush Shetty <ashetty>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, ashetty, asriram, asrivast, divya, jgreguske, jshucart, nlevinki, rcyriac, rhs-bugs, sasundar, sgirijan, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: GlusterD
Fixed In Version: glusterfs-3.7.1-15 Doc Type: Bug Fix
Doc Text:
Previously, on glusterd start, UUID was generated and stored in the /var/lib/glusterd/glusterd.info file. This information was static and identical for every instance created. As a consequence, peer probe between instances failed. With this fix, UUID will only be generated on first probe or during volume creation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 07:13:02 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: 1216951, 1251815    

Comment 3 Anush Shetty 2015-07-28 10:03:12 UTC
Workaround:

Stop glusterd: service glusterd stop

Remove glusterd.info file: rm /var/lib/glusterd/glusterd.info

Start glusterd: service glusterd stop

This needs to be run on all the instances before creating a RHGS cluster.

Comment 6 Anush Shetty 2015-07-28 11:22:06 UTC
Doc text looks good.

Comment 8 Atin Mukherjee 2015-08-08 13:26:47 UTC
Upstream patch is merged now

Comment 10 Atin Mukherjee 2015-08-13 06:49:10 UTC
Upstream patch link : http://review.gluster.org/#/c/11488/
Downstream patch : https://code.engineering.redhat.com/gerrit/55044

Comment 11 SATHEESARAN 2015-08-25 10:36:37 UTC
Tested with glusterfs-3.7.1-12.el7rhgs.

/var/lib/glusterd/glusterd.info file is not generated, when glusterd is installed. This file is generated late now.

The issue is fixed now.

Anush, 

Could you please also confirm the same with the latest RHGS 3.1.1 AMI image ( when AMI is available )

Comment 12 SATHEESARAN 2015-08-31 11:31:47 UTC
(In reply to SATHEESARAN from comment #11)
> Tested with glusterfs-3.7.1-12.el7rhgs.
> 
> /var/lib/glusterd/glusterd.info file is not generated, when glusterd is
> installed. This file is generated late now.
> 
> The issue is fixed now.
> 
> Anush, 
> 
> Could you please also confirm the same with the latest RHGS 3.1.1 AMI image
> ( when AMI is available )

Got information from Anush that there won't be any AMI's available for z-stream releases. Marking this bug as VERIFIED with the comment11

Comment 15 SATHEESARAN 2015-09-04 06:22:14 UTC
This bug was not tested with AMI environment as it was earlier communicated that there won't be any fresh RHGS 3.1.1 AMI images available.

Moving this bug back to ON_QA, as it should be tested with AMI environment only.

Anush,
I am assigning this bug to you, as it needs to be verified with AMI environment.
I have done with testing with glusterd issue and that is no longer seen now ( see comment11 )

Comment 17 Atin Mukherjee 2015-09-14 03:35:37 UTC
*** Bug 1262486 has been marked as a duplicate of this bug. ***

Comment 20 Anush Shetty 2015-09-24 09:59:24 UTC
Verified on RHEL-7.1_HVM-RHGS-3.1u1-20150923-x86_64-12-Access2-GP2 (ami-2d027d48)

Comment 21 Divya 2015-09-28 06:05:53 UTC
Atin,

Please review and sign-off the edited doc text.

Comment 23 errata-xmlrpc 2015-10-05 07:13:02 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-1845.html