ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-12094) Nimbus Upgrade Fails Due To Missing kinit Key When Kerberos Is Enabled
Date Tue, 23 Jun 2015 16:35:01 GMT
Jonathan Hurley created AMBARI-12094:

             Summary: Nimbus Upgrade Fails Due To Missing kinit Key When Kerberos Is Enabled
                 Key: AMBARI-12094
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: ambari-2.1.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Blocker
             Fix For: ambari-2.1.0

When upgrading STORM from HDP 2.2 to HDP 2.3 on a secure cluster, the upgrade fails while
attempting to remove storm data:

Code: 1, Out: 2015-06-23 09:52:24,883 - Clearing Storm data from ZooKeeper
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/STORM/",
line 165, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 216, in execute
  File "/var/lib/ambari-agent/cache/common-services/STORM/",
line 66, in delete_storm_zookeeper_data
    kinit_command=format("{kinit_path_local} -kt {smoke_user_keytab} {smokeuser_principal};
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/",
line 89, in format
    return ConfigurationFormatter().format(format_string, args, **result)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/",
line 53, in format
    result_protected = self.vformat(format_string, args, all_params)
  File "/usr/lib64/python2.6/", line 549, in vformat
    result = self._vformat(format_string, args, kwargs, used_args, 2)
  File "/usr/lib64/python2.6/", line 571, in _vformat
    obj, arg_used = self.get_field(field_name, args, kwargs)
  File "/usr/lib64/python2.6/", line 632, in get_field
    obj = self.get_value(first, args, kwargs)
  File "/usr/lib64/python2.6/", line 591, in get_value
    return kwargs[key]
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 50, in __getitem__
    return self._convert_value(self._dict[name])
KeyError: 'kinit_path_local'

Looks like this is a secure cluster but {{kinit_path_local}} is not defined. This is because
STORM uses JAAS internally and should not need to kinit externally. 

This message was sent by Atlassian JIRA

View raw message