You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2014/09/09 02:45:29 UTC
[jira] [Created] (AMBARI-7212) Enable security fails for Zookeeper
using HDP 1.3
Alejandro Fernandez created AMBARI-7212:
-------------------------------------------
Summary: Enable security fails for Zookeeper using HDP 1.3
Key: AMBARI-7212
URL: https://issues.apache.org/jira/browse/AMBARI-7212
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 1.7.0
Reporter: Alejandro Fernandez
Assignee: Alejandro Fernandez
Fix For: 1.7.0
Create a cluster with HDP 1.3 and ensure that Zookeeper is running.
Attempt to kerberize the cluster.
When downloading the csv file, the Zookeeper keytab file path is missing.
Upon restarting the service, the agent returns the following error,
{code}
2014-09-08 15:48:50,838 - Error while executing command 'start':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/ZOOKEEPER/package/scripts/zookeeper_server.py", line 40, in start
self.configure(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/ZOOKEEPER/package/scripts/zookeeper_server.py", line 35, in configure
zookeeper(type='server')
File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/ZOOKEEPER/package/scripts/zookeeper.py", line 88, in zookeeper
configFile("zookeeper_jaas.conf", template_name="zookeeper_jaas.conf.j2")
File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/ZOOKEEPER/package/scripts/zookeeper.py", line 105, in configFile
group=params.user_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 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 96, in action_create
content = self._get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 138, in _get_content
return content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 47, in __call__
return self.get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 126, in get_content
rendered = self.template.render(self.context)
File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/ZOOKEEPER/package/templates/zookeeper_jaas.conf.j2", line 26, in top-level template code
principal="{{zk_principal}}";
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 75, in __getattr__
raise Fail("Configuration parameter '"+self.name+"' was not found in configurations dictionary!")
Fail: Configuration parameter 'zookeeper_keytab_path' was not found in configurations dictionary!
{code}
Also, upon navigating to [http://<server>/api/v1/clusters/<cluster_name>/configurations?type=zookeeper-env&tag=<version>]
the zookeeper_keytab_path property is missing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)