[ 
https://issues.apache.org/jira/browse/AMBARI-23370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436210#comment-16436210
 ] 

Aravindan Vijayan commented on AMBARI-23370:
--------------------------------------------

This commit was reverted since this caused a blocker issue in blueprint based 
cluster deployment. Please test with Blueprint based deployment before 
recommitting the change. 


> Download client configs fails due to 'clusterLevelParams' not found
> -------------------------------------------------------------------
>
>                 Key: AMBARI-23370
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23370
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Endre Major
>            Assignee: Endre Major
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> # Install Ambari 2.6.0 with ZooKeeper
> # Upgrade to Ambari 2.7.0 (tested 2.7.0.0-115 with fix from 
> [apache/ambari#608|https://github.com/apache/ambari/pull/608])
> # Try to _Download All Client Configs_
> Result: 500 Server Error
> {noformat}
> Execution of "ambari-python-wrap 
> /var/lib/ambari-server/resources/common-services/ZOOKEEPER/3.4.5/package/scripts/zookeeper_client.py
>  generate_configs 
> /var/lib/ambari-server/data/tmp/ZOOKEEPER_CLIENT3308027289386152157-configuration.json
>  /var/lib/ambari-server/resources/common-services/ZOOKEEPER/3.4.5/package 
> /var/lib/ambari-server/data/tmp/structured-out.json INFO 
> /var/lib/ambari-server/data/tmp" returned 1.
> ...
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-server/resources/common-services/ZOOKEEPER/3.4.5/package/scripts/zookeeper_client.py",
>  line 81, in <module>
>     ZookeeperClient().execute()
>   File 
> "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", 
> line 377, in execute
>     method(env)
>   File 
> "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", 
> line 1072, in generate_configs
>     import params
>   File 
> "/var/lib/ambari-server/resources/common-services/ZOOKEEPER/3.4.5/package/scripts/params.py",
>  line 26, in <module>
>     from params_linux import *
>   File 
> "/var/lib/ambari-server/resources/common-services/ZOOKEEPER/3.4.5/package/scripts/params_linux.py",
>  line 21, in <module>
>     import status_params
>   File 
> "/var/lib/ambari-server/resources/common-services/ZOOKEEPER/3.4.5/package/scripts/status_params.py",
>  line 53, in <module>
>     stack_version_unformatted = 
> str(config['clusterLevelParams']['stack_version'])
>   File 
> "/usr/lib/ambari-server/lib/resource_management/libraries/script/config_dictionary.py",
>  line 73, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in 
> configurations dictionary!")
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to