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

Review request for Ambari, Emil Anca, Eugene Chekanskiy, and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

A downed host behaves a little differently then a host that is up and in a 
maintenance state.  

It appears that where a downed host is not included in steps to install the 
Kerberos client nor is it included when choosing a host to run the service 
check on. 

However a host that is up and in maintenance mode is not included in steps to 
install the Kerberos client, but may be selected as the host to run the service 
check on. Resulting in this error:

```
2015-03-04 20:58:03,164 - Error while executing command 'service_check':
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 208, in execute
    method(env)
  File 
"/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py",
 line 58, in service_check
    raise Fail(err_msg)
Fail: Failed to execute kinit test due to principal or keytab not found or 
available
```

The error is correct in that the keytab has not been distributed to it, this is 
because the Kerberos Client has not been installed on it.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/metadata/ActionMetadata.java
 8a9799d 

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


Testing
-------

Manual testing


Thanks,

Robert Levas

Reply via email to