ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 31629: Check Kerberos failed after Ambari upgrade 1.7.0->2.0.0
Date Mon, 02 Mar 2015 17:34:43 GMT

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

Review request for Ambari, Dmytro Sen and Robert Levas.


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


Repository: ambari


Description
-------

Kerberos check fails

STR:
1. Install Ambari 1.7.0
2. Enable security
3. Upgrade to Ambari 2.0.0
4. Execute Kerberos Wizard.
Start and Test Services fails
{code}
2015-02-26 22:57:58,558 - 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 37, in service_check
    }, user=params.smoke_user)
  File "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py",
line 316, in test_kinit
    user = user,
  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 152,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
276, in action_run
    raise ex
Fail: Execution of 'kinit -k -t /etc/security/keytabs/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM'
returned 1. kinit: Client not found in Kerberos database while getting initial credentials
{code}
similar error is for zookeeper start.
Manual execution of this command on any node gives the same result:
{code}
/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM;
kinit: Client not found in Kerberos database while getting initial credentials
{code}


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/orm/DBAccessor.java 98e2bbb 
  ambari-server/src/main/java/org/apache/ambari/server/orm/DBAccessorImpl.java 05db3f7 
  ambari-server/src/main/java/org/apache/ambari/server/orm/helpers/dbms/DbmsHelper.java dcef71c

  ambari-server/src/main/java/org/apache/ambari/server/orm/helpers/dbms/GenericDbmsHelper.java
0ee2920 
  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java 3a3e3bb

  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
6db805f 

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


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi


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