Bug 961250 - Able to trigger host UUID generation through gluster cli command
Summary: Able to trigger host UUID generation through gluster cli command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: krishnan parthasarathi
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks: 971661
TreeView+ depends on / blocked
 
Reported: 2013-05-09 08:53 UTC by Kanagaraj
Modified: 2016-04-18 10:07 UTC (History)
14 users (show)

Fixed In Version: glusterfs-3.4.0.10rhs
Doc Type: Enhancement
Doc Text:
Feature: This feature allows the admin to get the uuid of the node (on which the command is executed). Usage: gluster system:: uuid get Reason: This is required because we generate uuid of a node in a lazy manner. ie, we generate a uuid for the node, only on the first volume or peer operation, when the node requires an external identity. Result (if any): With this command, we can force[1] the uuid generation, without a volume or peer operation performed. The uuid is persisted at /var/lib/glusterd/glusterd.info
Clone Of:
: 971661 975684 (view as bug list)
Environment:
Last Closed: 2013-09-23 22:39:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Kanagaraj 2013-05-09 08:53:37 UTC
Description of problem:
UUID of the host is not generated(or deferred) till the time an another host is peer probed or a volume is created. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:

Through should be a gluster cli command to trigger the UUID generation when needeed.

Additional info:

 In RHS-C, currently we are using IP/name(fqdn) of the host for all our operations and uniquely identify a particular host. But we are hitting lot issues due to the hosts having multiple interfaces and hence multiple ip addresses. More specifically when the hosts are peer probed through cli using different interface/bridge/ip and but added to engine with a different ip. So we have decided to go with the gluster UUID of the host for most of the operations and also to uniquely identify a particular host. The uuid will be fetched when the user adds the node to the rhsc and then stored in the database forever. In this case the vdsm reads the uuid file and returns the uuid to engine

Comment 3 Shruti Sampat 2013-06-19 11:54:25 UTC
Verified as fixed in glusterfs-3.4.0.10rhs. UUID being generated and persisted in /var/lib/glusterd/glusterd.info on running the command - 

# gluster system:: uuid get

Comment 4 Scott Haines 2013-09-23 22:39:42 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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html

Comment 5 Scott Haines 2013-09-23 22:43:47 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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html


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