Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E9928200D18 for ; Wed, 11 Oct 2017 16:54:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E81581609E4; Wed, 11 Oct 2017 14:54:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 39E541609CA for ; Wed, 11 Oct 2017 16:54:56 +0200 (CEST) Received: (qmail 43310 invoked by uid 500); 11 Oct 2017 14:54:50 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 43288 invoked by uid 99); 11 Oct 2017 14:54:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2017 14:54:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E1A2F196628 for ; Wed, 11 Oct 2017 14:44:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id d0bPNN0Onq1S for ; Wed, 11 Oct 2017 14:44:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E5C5D5FD8E for ; Wed, 11 Oct 2017 14:44:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 39669E257E for ; Wed, 11 Oct 2017 14:44:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6F47A253A2 for ; Wed, 11 Oct 2017 14:44:00 +0000 (UTC) Date: Wed, 11 Oct 2017 14:44:00 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-22205) Install Version Fails On IOP Cluster Due To Missing stack_packages Structure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 Oct 2017 14:54:57 -0000 [ https://issues.apache.org/jira/browse/AMBARI-22205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200386#comment-16200386 ] Jonathan Hurley commented on AMBARI-22205: ------------------------------------------ Yup - we just missed 1 property ... {code} // the 3 properties we need to check and update Set properties = Sets.newHashSet(ConfigHelper.CLUSTER_ENV_STACK_ROOT_PROPERTY, ConfigHelper.CLUSTER_ENV_STACK_TOOLS_PROPERTY, ConfigHelper.CLUSTER_ENV_STACK_FEATURES_PROPERTY); {code} ... need to add {{ConfigHelper.CLUSTER_ENV_STACK_PACKAGES_PROPERTY}} > Install Version Fails On IOP Cluster Due To Missing stack_packages Structure > ---------------------------------------------------------------------------- > > Key: AMBARI-22205 > URL: https://issues.apache.org/jira/browse/AMBARI-22205 > Project: Ambari > Issue Type: Bug > Components: ambari-upgrade > Environment: ambari-server version :- 2.6.0.0-192 > stack upgrade:- BigInsights-4.2.5.0 to HDP-2.6.3.0 > Reporter: Pradarttana > Assignee: Jonathan Hurley > Priority: Blocker > > *Steps to reproduce:-* > 1. Perform ambari upgrade > 2. Register the version. > 3. Install packages > Install packages failed with > {code} > "Cannot find conf-select packages for the {0} stack".format(stack_name)) > resource_management.core.exceptions.Fail: Cannot find conf-select packages for the HDP stack > {code} > stdout:- > {code} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 423, in > InstallPackages().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 367, in execute > method(env) > File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 154, in actionexecute > self._relink_configurations_with_conf_select(stack_id, self.structured_output['actual_version']) > File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 184, in _relink_configurations_with_conf_select > for package_name, directories in conf_select.get_package_dirs().iteritems(): > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py", line 69, in get_package_dirs > "Cannot find conf-select packages for the {0} stack".format(stack_name)) > resource_management.core.exceptions.Fail: Cannot find conf-select packages for the HDP stack > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)