[
https://issues.apache.org/jira/browse/AMBARI-20460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926330#comment-15926330
]
Hadoop QA commented on AMBARI-20460:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12858883/AMBARI-20460.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-server.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/11041//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/11041//console
This message is automatically generated.
> ambari-server restart --debug giving "su: cannot open session: Permission
> denied"
> ---------------------------------------------------------------------------------
>
> Key: AMBARI-20460
> URL: https://issues.apache.org/jira/browse/AMBARI-20460
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.5.0
>
> Attachments: AMBARI-20460.patch
>
>
> 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>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)