Bug 1082718 - install.sh does not handle the case of "hadoop" group users in parsing "getent group hadoop"
Summary: install.sh does not handle the case of "hadoop" group users in parsing "geten...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhs-hadoop-install
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Release Candidate
: ---
Assignee: Jeff Vance
QA Contact: Daniel Horák
URL:
Whiteboard:
Depends On:
Blocks: 1159155
TreeView+ depends on / blocked
 
Reported: 2014-03-31 16:58 UTC by Jeff Vance
Modified: 2014-11-24 11:54 UTC (History)
6 users (show)

Fixed In Version: 0.82-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-24 11:54:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1275 0 normal SHIPPED_LIVE Red Hat Storage Server 3 Hadoop plug-in enhancement update 2014-11-24 16:53:36 UTC

Description Jeff Vance 2014-03-31 16:58:57 UTC
Description of problem:
If there is one or more users following the GID: in the output of the getent group command then install.sh treats the list of users as part of the GID.

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

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Jeff Vance 2014-03-31 18:43:32 UTC
Fixed: https://brewweb.devel.redhat.com//buildinfo?buildID=347151

Comment 3 Daniel Horák 2014-04-08 07:37:32 UTC
Reproduced on rhs-hadoop-install-0_81-1.el6rhs.noarch with 4 nodes, with different users assigned to hadoop group on each node (the hadoop group has same gid 495 on all nodes):
NODE1:
# getent group hadoop
  hadoop:x:495:

NODE1:
# getent group hadoop
  hadoop:x:495:test1,test2

NODE1:
# getent group hadoop
  hadoop:x:495:test1,test2

NODE1:
# getent group hadoop
  hadoop:x:495:test1,test2,test3

# ./install.sh /dev/mapper/vg_brick-lv_brick
    <<< truncated >>>
  ERROR: "hadoop" group has inconsistent GIDs across the cluster. hadoop GIDs: 495 test1,test2 test1,test2,test3

Comment 4 Daniel Horák 2014-04-08 07:40:52 UTC
Tested and verified on RHSS-2.1.bd-20140219.n.0 with rhs-hadoop-install-0_85-1.el6rhs.noarch accordingly to scenario described in comment 3.

The gid is properly parsed from "getent group" command and verified across the cluster.

>>> VERIFIED

Comment 6 errata-xmlrpc 2014-11-24 11:54:23 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/RHEA-2014-1275.html


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