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

Sumit Mohanty commented on AMBARI-14662:
----------------------------------------

{{current_version}} is usually set in the context of rolling upgrade. The only 
version variable that is available during all lifecycle phases is 
{{stack_version}} which is the version part of a stack name.
[~afernandez] is planning to stream line various version parameters available 
to the stack scripts.

> Unable to find current_version while trying to install BigInsights add-on 
> services like BigSheets, BigSQL through Blueprint
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14662
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14662
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.1.0
>            Reporter: raju patel
>            Priority: Blocker
>
> While trying to install BigInsights 4.1 value add-on services i.e BigSheets 
> and BigSql through ambari blueprint, it throws below error:
> odp_current_version = str(config['hostLevelParams']['current_version'])
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
>  line 81, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in 
> configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter 
> 'current_version' was not found in configurations dictionary!
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.1/services/BIGSHEETS/package/scripts/master.py",
>  line 688, in <module>
>     Master().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 218, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.1/services/BIGSHEETS/package/scripts/master.py",
>  line 172, in install
>     import params
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.1/services/BIGSHEETS/package/scripts/params.py",
>  line 29, in <module>
>     odp_current_version           = 
> str(config['hostLevelParams']['current_version'])
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
>  line 81, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in 
> configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter 
> 'current_version' was not found in configurations dictionary!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to