-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45145/
-----------------------------------------------------------

Review request for Ambari, John Speidel and Robert Levas.


Bugs: AMBARI-15500
    https://issues.apache.org/jira/browse/AMBARI-15500


Repository: ambari


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}/')


Diffs
-----

  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
 c5059dd 
  ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py 
PRE-CREATION 
  ambari-server/src/test/python/stacks/2.3/configs/secure.json b48ae97 

Diff: https://reviews.apache.org/r/45145/diff/


Testing
-------

Manual test Ambari / Atlas service check.

mvn clean test

all pass


Thanks,

Tom Beerbower

Reply via email to