----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57643/#review169018 -----------------------------------------------------------
Ship it! Ship It! - Dmitro Lisnichenko On March 15, 2017, 4:34 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/57643/ > ----------------------------------------------------------- > > (Updated March 15, 2017, 4:34 p.m.) > > > Review request for Ambari and Dmitro Lisnichenko. > > > Bugs: AMBARI-20460 > https://issues.apache.org/jira/browse/AMBARI-20460 > > > Repository: ambari > > > Description > ------- > > The jenkins job is as follows : <http://linux- > jenkins.qe.hortonworks.com:8080/job/Nightly-Start-EC2-Run-HDP/407827/> > > STR : > 1) Execute "ambari-server setup-ldap" > 2) Once LDAP setup goes through fine, call "ambari-server restart --debug " > > The following error pops up : > > > > > /usr/lib64/python2.7/getpass.py:83: GetPassWarning: Can not control echo > on the terminal. > passwd = fallback_getpass(prompt, stream) > Warning: Password input may be echoed. > Enter Manager Password* : > Warning: Password input may be echoed. > Re-enter password: > > [EXIT CODE] > 0 > 2017-02-28 04:13:39,529 INFO > com.hw.ambari.ui.util.cluster_managers.LDAPClusterManager.ambariServerSetupLDAP(): > > Ambari server LDAPS setup process ended > > 2017-02-28 04:13:39,529 INFO > com.hw.ambari.ui.util.cluster_managers.AmbariManager.getStartAmbariServerCommand(): > Trying to restart Ambari server ... > 2017-02-28 04:13:39,530 DEBUG > com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): > Sending commands to host [ctr-e129-1487033772569-27178-01-000003.hwx.site]: > 2017-02-28 04:13:39,530 DEBUG > com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): > Sending command [export AMBARI_JVM_ARGS="-Xms512m -Xmx2048m > -XX:PermSize=1024m -XX:MaxPermSize=1024m"] > 2017-02-28 04:13:39,531 DEBUG > com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): > Sending command [ambari-server restart --debug] > 2017-02-28 04:13:41,753 DEBUG > com.hw.ambari.ui.util.cluster_managers.ProcessData.buildOutputAndErrorStreamData(): > su: cannot open session: Permission denied > 2017-02-28 04:13:59,989 DEBUG > com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): > [OUTPUT STREAM] > Using python /usr/bin/python > Restarting ambari-server > Waiting for server stop... > Ambari Server stopped > Ambari Server running with administrator privileges. > Organizing resource files at /var/lib/ambari-server/resources... > Ambari database consistency check started... > Server PID at: /var/run/ambari-server/ambari-server.pid > Server out at: /var/log/ambari-server/ambari-server.out > Server log at: /var/log/ambari-server/ambari-server.log > Waiting for server start.........Unable to determine server PID. > Retrying... > ......Unable to determine server PID. Retrying... > ......Unable to determine server PID. Retrying... > > > I ran ulimit on the root user : > > > > > [root@ctr-e129-1487033772569-27178-01-000003 ~]# ulimit > unlimited > > > Ran service ambari-server start : > > > > > [root@ctr-e129-1487033772569-27178-01-000003 ~]# service ambari-server > start > Using python /usr/bin/python > Starting ambari-server > Ambari Server running with administrator privileges. > Organizing resource files at /var/lib/ambari-server/resources... > Ambari database consistency check started... > Server PID at: /var/run/ambari-server/ambari-server.pid > Server out at: /var/log/ambari-server/ambari-server.out > Server log at: /var/log/ambari-server/ambari-server.log > Waiting for server start....su: cannot open session: Permission denied > > > The ambari logs don't have any data > > Artifacts : > <http://qelog.hortonworks.com/log/nat-yc-r7-qafs-ambari-api-rbac-8/artifacts/a > rtifacts/screenshots/com.hw.ambari.ui.tests.console.ldap.LDAPRBACSanity/setupL > DAPAndRBACSanity/_28_4_14_3_Couldn_t_create_user_clusteruser_due_to_java_lang_ > NullPointerException/test_logs/test_LDAPRBACSanity_debug.log> > > > Diffs > ----- > > ambari-server/conf/unix/ambari.properties 74a3a09 > ambari-server/src/main/python/ambari_server_main.py 0eb4243 > > > Diff: https://reviews.apache.org/r/57643/diff/1/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
