Re: Review Request 49197: Ambari server setup failed on debian with postgres local db

2016-06-24 Thread Vitalyi Brodetskyi

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


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Червень 24, 2016, 12:43 після полудня, Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49197/
> ---
> 
> (Updated Червень 24, 2016, 12:43 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-17426
> https://issues.apache.org/jira/browse/AMBARI-17426
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> We have tests where we cleanup existing cluster and reinstall Ambari again -
> perform install, setup and start Ambari server. Starting up AMbari server is
> failing with the below erro
> 
> 
> 
> 
> 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.
> 
> 
> Please see the logs [here](http://qelog.hortonworks.com/log/nat-os-d7-luls-
> ambari-blueprints-3/test-logs/ambari-blueprints/artifacts/screenshots/com.hw.a
> mbari.ui.tests.heavyweights.TestSingleNodeClustersViaBlueprint/testA_PrepareCl
> uster/_23_0_54_11_Exceptions_appeared_during_install/test_logs/test_TestSingle
> NodeClustersViaBlueprint_debug.log). We can see that at the beginning Ambari
> server is up and running fine. BUt after cleanup and reinstall server is not
> coming up. Could you please help take a look.
> 
> 
> Diffs
> -
> 
>   ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py 
> 5a3e290 
> 
> Diff: https://reviews.apache.org/r/49197/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Re: Review Request 49197: Ambari server setup failed on debian with postgres local db

2016-06-24 Thread Andrew Onischuk

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

(Updated June 24, 2016, 12:43 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
---

We have tests where we cleanup existing cluster and reinstall Ambari again -
perform install, setup and start Ambari server. Starting up AMbari server is
failing with the below erro




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.


Please see the logs [here](http://qelog.hortonworks.com/log/nat-os-d7-luls-
ambari-blueprints-3/test-logs/ambari-blueprints/artifacts/screenshots/com.hw.a
mbari.ui.tests.heavyweights.TestSingleNodeClustersViaBlueprint/testA_PrepareCl
uster/_23_0_54_11_Exceptions_appeared_during_install/test_logs/test_TestSingle
NodeClustersViaBlueprint_debug.log). We can see that at the beginning Ambari
server is up and running fine. BUt after cleanup and reinstall server is not
coming up. Could you please help take a look.


Diffs (updated)
-

  ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py 5a3e290 

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


Testing
---

mvn clean test


Thanks,

Andrew Onischuk



Review Request 49197: Ambari server setup failed on debian with postgres local db

2016-06-24 Thread Andrew Onischuk

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
---

We have tests where we cleanup existing cluster and reinstall Ambari again -
perform install, setup and start Ambari server. Starting up AMbari server is
failing with the below erro




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.


Please see the logs [here](http://qelog.hortonworks.com/log/nat-os-d7-luls-
ambari-blueprints-3/test-logs/ambari-blueprints/artifacts/screenshots/com.hw.a
mbari.ui.tests.heavyweights.TestSingleNodeClustersViaBlueprint/testA_PrepareCl
uster/_23_0_54_11_Exceptions_appeared_during_install/test_logs/test_TestSingle
NodeClustersViaBlueprint_debug.log). We can see that at the beginning Ambari
server is up and running fine. BUt after cleanup and reinstall server is not
coming up. Could you please help take a look.


Diffs
-

  ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py 
0ff0ba5 
  ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py 5a3e290 

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


Testing
---

mvn clean test


Thanks,

Andrew Onischuk