Details
-
Bug
-
Status: To Do
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
During deployment, Ambari server setup failed with the following:
<snip>"Checking PostgreSQL...", "Running initdb: This may take upto a minute.", "Initializing database: [ OK ]", "", "About to start PostgreSQL", "Configuring local database...", "Connecting to local database...connection timed out...retrying (1)", "Connecting to local database...connection timed out...retrying (2)", "Connecting to local database...unable to connect to database", "ERROR: psql: FATAL: the database system is starting up", "", "ERROR: Exiting with exit code 2. ", "REASON: Running database init script failed. Exiting."], "warnings": []}
but deployment didn't catch the error.
I'm not sure if the error was suppressed on our end or by Ambari, but deployment should fail if setup errors.