Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10124

Wrong alert on added host on secure cluster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: ambari-server
    • Labels:

      Description

      STR
      Install HDP
      Enable security
      Add host with datanode

      Result
      For added host there is an alert:
      Connection failed to http://c6404.ambari.apache.org:1022
      Manually this webpage is avaliable

      Expected
      No alert

      Cause
      The error that gets generated is

      Local variable 'error_msg' might be referenced before assignment
      

      Solution
      Fix Python code by initializing error_msg properly.,

        Attachments

        1. AMBARI-10124_01.patch
          0.9 kB
          Robert Levas

          Issue Links

            Activity

              People

              • Assignee:
                rlevas Robert Levas
                Reporter:
                rlevas Robert Levas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: