ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 31989: Test Kerberos Client (KERBEROS_SERVICE_CHECK) is failed after Ambari only upgrade from 1.6.0 to 2.0.0 when enable securitty (Centos 5.9)
Date Thu, 12 Mar 2015 15:41:37 GMT

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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Березень 12, 2015, 3:35 після полудня, Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31989/
> -----------------------------------------------------------
> 
> (Updated Березень 12, 2015, 3:35 після полудня)
> 
> 
> Review request for Ambari, Emil Anca and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-10043
>     https://issues.apache.org/jira/browse/AMBARI-10043
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> *Cluster*: http://172.18.145.129:8080
> STR:
> 1)Deploy old version with all services
> 2)Make ambari only upgrade to 2.0.0 .
> 3)Enable security
> 
> Expected result:
> Enable security is passed.
> 
> Actual result
> KERBEROS_SERVICE_CHECK is failed after Ambari only upgrade from 1.6.0 to 2.0.0 when enable
securitty
> ```
> {
>   "href" : "http://172.18.145.129:8080/api/v1/clusters/cl1/requests/8/tasks/258",
>   "Tasks" : {
>     "attempt_cnt" : 1,
>     "cluster_name" : "cl1",
>     "command" : "SERVICE_CHECK",
>     "command_detail" : "SERVICE_CHECK KERBEROS",
>     "end_time" : 1426091879341,
>     "error_log" : "/var/lib/ambari-agent/data/errors-258.txt",
>     "exit_code" : 1,
>     "host_name" : "amb-upg160-rhel5oracle1426082627-9.cs1cloud.internal",
>     "id" : 258,
>     "output_log" : "/var/lib/ambari-agent/data/output-258.txt",
>     "request_id" : 8,
>     "role" : "KERBEROS_SERVICE_CHECK",
>     "stage_id" : 4,
>     "start_time" : 1426091872413,
>     "status" : "FAILED",
>     "stderr" : "Traceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py\",
line 61, in <module>\n    KerberosServiceCheck().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 214, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py\",
line 55, in service_check\n    os.remove(ccache_file_path)\nOSError: [Errno 2] No such file
or directory: '/var/lib/ambari-agent/data/tmp/kerberos_service_check_cc_49ae9e4ea129d8216306a4a6e431c812'",
>     "stdout" : "Performing kinit using ambari-qa_vvwbohue@EXAMPLE.COM\n2015-03-11 16:37:59,095
- u\"Execute['/usr/kerberos/bin/kinit -c /var/lib/ambari-agent/data/tmp/kerberos_service_check_cc_49ae9e4ea129d8216306a4a6e431c812
-kt /etc/security/keytabs/kerberos.service_check.vvwbohue.keytab ambari-qa_vvwbohue@EXAMPLE.COM']\"
{}",
>     "structured_out" : { }
>   }
> }
> ```
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py
53ab52f 
> 
> Diff: https://reviews.apache.org/r/31989/diff/
> 
> 
> Testing
> -------
> 
> Manual testing
> 
> 
> Thanks,
> 
> Robert Levas
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message