Bug 1109910
Summary: | required users created by setup_cluster.sh do not have same uid across cluster | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rachana Patel <racpatel> |
Component: | rhs-hadoop-install | Assignee: | Jeff Vance <jvance> |
Status: | CLOSED ERRATA | QA Contact: | amainkar |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.0 | CC: | bchilds, dahorak, eboyd, matt, mbukatov, mkudlej, nlevinki, okomarek |
Target Milestone: | Release Candidate | Keywords: | UpcomingRelease, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.34-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-24 11:54:41 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: | 1159155 |
Description
Rachana Patel
2014-06-16 15:28:57 UTC
Code in setup_cluster.sh related to creating users (via useradd and via ldap/ipa) has been removed. Checking rhs-hadoop-install-1_32-1.el6rhs.noarch Scripts automating non-ldap user setup: /usr/share/rhs-hadoop-install/bin/add_users.sh /usr/share/rhs-hadoop-install/bin/add_groups.sh are still shipped in the package. This contradicts the statement in comment 3 and our current documentation. Note: this is the same kind of problem as with BZ 1105149: it's not a good idea to ship unused code to the customers. I forgot about add_users.sh and add_groups.sh -- good find! I've moved these to scripts to the archive github folder. I want to preserve the "user adding/ldap-ipa" code in setup_cluster. What is recommend practice here? I've commented out the call to the related functions and added a comment in these function that they are not used in Denali. But, I'd still like the code to be available if we decide, post-Denali, to automate some aspects of Hadoop user creation. I have deleted all code related to creating the hadoop users. Fixed in version 1.34. Tested with: rhs-hadoop-install-1_34-1.el6rhs.src.rpm (https://brewweb.devel.redhat.com/buildinfo?buildID=371877) comparing with older rhs-hadoop-install-1_33-1.el6rhs.src.rpm (https://brewweb.devel.redhat.com/buildinfo?buildID=371149) In file setup_cluster.sh was previously present "setup_users" function, flags SETUP_LDAP and SETUP_USERS and other stuff related to this. This function is now completely gone and flags used in it too. Arguments --deploy-ldap-srv and --local-auth which setted up mentioned flags are not accepted anymore. Files add_users.sh and add_groups.sh are not there and there is no reference to them. This issue is fixed -> VERIFIED. 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 |