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

Wrong alert on added host on secure cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server

    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

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

              Dates

                Created:
                Updated:
                Resolved: