Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-188

Setup Ambari Service can fail silently

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dlyle David M. Lyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: