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

Atlas alert present when WE is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Two alerts are critical: Atlas Metadata Server Process, Metadata Server Web UI.
      Atlas alerts are checking wrong port (http not https) when wire encryption is enabled.

      In the file "common-services/ATLAS/0.1.0.2.3/package/scripts/params.py" there is code that sets the curl command that is used to connect to the atlas service during the smoke test. It appears that this code has "http" hard coded.

      if security_enabled:
          smoke_cmd = format('curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null -w "%{{http_code}}" http://{metadata_host}:{metadata_port}/')
      else:
          smoke_cmd = format('curl -s -o /dev/null -w "%{{http_code}}" http://{metadata_host}:{metadata_port}/')
      

      Attachments

        1. AMBARI-15500.patch
          7 kB
          Tom Beerbower

        Issue Links

          Activity

            People

              tbeerbower Tom Beerbower
              tbeerbower Tom Beerbower
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: