-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56227/
-----------------------------------------------------------
Review request for Ambari and Jayush Luniya.
Bugs: AMBARI-19851
https://issues.apache.org/jira/browse/AMBARI-19851
Repository: ambari
Description
-------
Found this issue in ST.
Trying to provide setup ambari-server and
[root@ctr-e126-1485243696039-17812-01-000004 ~]# ambari-server setup -s
Using python /usr/bin/python
Setup ambari-server
Nothing was done. Ambari Setup already performed and cannot re-run setup in
silent mode. Use "ambari-server setup" command without -s option to change
Ambari setup.
Trying to start ambari-server
[root@ctr-e126-1485243696039-17812-01-000004 ~]# ambari-server start
Using python /usr/bin/python
Starting ambari-server
ERROR: Exiting with exit code 1.
REASON: Unable to detect a system user for Ambari Server.
- If this is a new setup, then run the "ambari-server setup" command to
create the user
- If this is an upgrade of an existing setup, run the "ambari-server
upgrade" command.
Refer to the Ambari documentation for more information on setup and upgrade.
Ambari-server restart in debug log
2017-02-01 04:36:34,630 DEBUG
com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence():
Sending command [ambari-server restart --debug]
2017-02-01 04:36:35,331 DEBUG
com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence():
[OUTPUT STREAM]
Using python /usr/bin/python
Restarting ambari-server
Ambari Server is not running
ERROR: Exiting with exit code 1.
REASON: Unable to detect a system user for Ambari Server.
- If this is a new setup, then run the "ambari-server setup" command to
create the user
- If this is an upgrade of an existing setup, run the "ambari-server
upgrade" command.
Refer to the Ambari documentation for more information on setup and upgrade.
**ambari-server setup** without -s setup ambari successful and ambari-server
start passed.
artifacts: <http://qelog.hortonworks.com/log/nat-yc-r7-sius-ambari-setup-hw-6
/test-logs/ambari-setup-hw/artifacts/screenshots/com.hw.ambari.ui.tests.consol
e.TestInstallSeparateSSLCertificate/testA_InstallSeparateSSLCertificate/_1_4_4
0_52_Element_has_not_been_found_within_60_seconds__/>
cluster: 172.27.30.144
Diffs
-----
ambari-server/src/main/python/ambari_server/serverConfiguration.py 78f68ef
ambari-server/src/main/python/ambari_server/serverSetup.py 0658d18
Diff: https://reviews.apache.org/r/56227/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk