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


Ship it!





ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
 (line 117)
<https://reviews.apache.org/r/45145/#comment187449>

    Have you seen the `curl_krb_request` stuff. This may come in handy. It 
helps with managing the credential cache and setting the cache so that it 
doesn't mess with the user's interactive cache. 
    
    Take a look, you might want to incorporrate it.


- Robert Levas


On March 21, 2016, 9:27 p.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45145/
> -----------------------------------------------------------
> 
> (Updated March 21, 2016, 9:27 p.m.)
> 
> 
> 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