Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FBA4184DB for ; Mon, 14 Mar 2016 17:25:39 +0000 (UTC) Received: (qmail 35234 invoked by uid 500); 14 Mar 2016 17:25:34 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 35144 invoked by uid 500); 14 Mar 2016 17:25:34 -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 35070 invoked by uid 99); 14 Mar 2016 17:25:34 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2016 17:25:34 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EF17D2C1F61 for ; Mon, 14 Mar 2016 17:25:33 +0000 (UTC) Date: Mon, 14 Mar 2016 17:25:33 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15405) HDP 2.3.4 package install through Ambari on SLES11 hosts fails 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-15405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Lysnichenko updated AMBARI-15405: ---------------------------------------- Component/s: ambari-server > HDP 2.3.4 package install through Ambari on SLES11 hosts fails > -------------------------------------------------------------- > > Key: AMBARI-15405 > URL: https://issues.apache.org/jira/browse/AMBARI-15405 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Attachments: AMBARI-15405.patch > > > # Installing bits for new registered version fails on suse11 if it is having any other additional repo > # This is because of a parsing error and out of index error in ambari-agent's zypper.py file > {code} > 2016-03-10 15:12:19,018 - Package['ranger_2_3_4_0_3485*-admin'] {'use_repos': ['base', 'HDP-2.3.4.0-3485', 'HDP-UTILS-2.3.4.0-3485'], 'skip_repos': []} > 2016-03-10 15:12:19,194 - Package Manager failed to install packages. Error: list index out of range > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 376, in install_packages > skip_repos=[self.REPO_FILE_NAME_PREFIX + "*"] if OSCheck.is_redhat_family() else []) > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 49, in action_install > self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos) > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py", line 45, in install_package > active_base_repos = self.get_active_base_repos() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py", line 78, in get_active_base_repos > if line_list[3].strip() == 'Yes' and line_list[2].strip().startswith("SUSE-"): > IndexError: list index out of range > 2016-03-10 15:12:19,918 - Installation of packages failed. Checking if installation was partially complete > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)