You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/08/03 18:53:05 UTC

[jira] [Commented] (AMBARI-12560) Ambari-server reset action works incorrectly for external DB

    [ https://issues.apache.org/jira/browse/AMBARI-12560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652097#comment-14652097 ] 

Hudson commented on AMBARI-12560:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3210 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3210/])
AMBARI-12560. Ambari-server reset action works incorrectly for external DB. (Vitaly Brodetskyi via mpapirkovskyy) (mpapyrkovskyy: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2f950f9c2a84359eeb61e119a248240a12457e54)
* ambari-server/src/main/python/ambari_server/serverSetup.py


> Ambari-server reset action works incorrectly for external DB
> ------------------------------------------------------------
>
>                 Key: AMBARI-12560
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12560
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.1
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12560.patch
>
>
> Ambari tries to drop DB schema during reset ever it is external DB, and fails during this process.
> {code}
> ambari-framework-selftest-sle113-8508-split1-re2-5:~ # cat /etc/ambari-server/conf/ambari.properties |grep server.persistence.type
> server.persistence.type=remote
> ambari-framework-selftest-sle113-8508-split1-re2-5:~ # ambari-server reset -s
> Using python  /usr/bin/python2.6
> Resetting ambari-server
> **** WARNING **** You are about to reset and clear the Ambari Server database. This will remove all cluster host and configuration information from the database. You will be required to re-configure the Ambari server and re-run the cluster wizard. 
> Are you SURE you want to perform the reset [yes/no] (yes)? 
> Confirm server reset [yes/no](yes)? 
> Resetting the Server database...
> ERROR: Exiting with exit code 1. 
> REASON: psql: could not connect to server: No such file or directory
> 	Is the server running locally and accepting
> 	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)