You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Robert Levas <rl...@hortonworks.com> on 2015/02/12 18:58:02 UTC

Review Request 30941: Set Keytab Kerberos Client operation fails

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

Review request for Ambari, Eugene Chekanskiy and Mahadev Konar.


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


Repository: ambari


Description
-------

Was installed cluster with HDFS, MapReduce2, YARN, Tez, ZooKeeper, AMS services. After that was added Kerberos service. Create Principals operation was failed with error:
```
2015-02-09 11:17:13,376 - Error while executing command 'set_keytab':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py", line 59, in set_keytab
    KerberosScript.write_keytab_file()
  File "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py", line 395, in write_keytab_file
    group=group)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 151, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 117, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 133, in action_create
    self.resource.group, mode=self.resource.mode, cd_access=self.resource.cd_access)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 65, in _ensure_metadata
    uid = _coerce_uid(user)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 46, in _coerce_uid
    raise Fail("User %s doesn't exist." % user)
```

Alive cluster: http://ec2-52-1-1-157.compute-1.amazonaws.com:8080/


Diffs
-----

  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json 85011e9 

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


Testing
-------


Thanks,

Robert Levas