ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 21382: Improve handling of groupmod errors and provide ability to skip
Date Tue, 13 May 2014 15:37:20 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21382/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-5748
    https://issues.apache.org/jira/browse/AMBARI-5748


Repository: ambari


Description
-------

Found this on customer deployment. LDAP group exists for nagios.

    
    
    
    #] getent group nagios
    nagios:*:nagios
    

Deploy fails with error **"groupmod nagios" not present in /etc/group**

1) Provide an Misc > Advanced option during install giving people the option
to skip group modifications (basically, don't call groupmod)

[ ] Skip group modifications during install

2) Make sure the error when groupmod fails is clear in the Ambari logs (and
Ambari Web UI) so that folks know groupmod failed, and that a way to get
around this is to check the option in Misc > Advanced to skip groupmod.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py
7c5ac6e 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py
c588ffc 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/global.xml
ca94d38 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py
eeb21e8 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
9ac5667 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
956b155 
  ambari-server/src/test/python/stacks/1.3.2/configs/default.json 078f533 
  ambari-server/src/test/python/stacks/1.3.2/configs/secured.json 6c922cf 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py f68da7b

  ambari-server/src/test/python/stacks/2.0.6/configs/default.json dc61567 
  ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 82b9855 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py e70debb

  ambari-web/app/data/HDP2/global_properties.js 5f6cb5a 
  ambari-web/app/data/global_properties.js 86507c0 

Diff: https://reviews.apache.org/r/21382/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message