Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4376618BAB for ; Thu, 14 Jan 2016 14:25:40 +0000 (UTC) Received: (qmail 79141 invoked by uid 500); 14 Jan 2016 14:25:40 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 79105 invoked by uid 500); 14 Jan 2016 14:25:40 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 79065 invoked by uid 99); 14 Jan 2016 14:25:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 14:25:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D55252C14F7 for ; Thu, 14 Jan 2016 14:25:39 +0000 (UTC) Date: Thu, 14 Jan 2016 14:25:39 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14662) Unable to find current_version while trying to install BigInsights add-on services like BigSheets, BigSQL through Blueprint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > 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 > 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)