ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15405) HDP 2.3.4 package install through Ambari on SLES11 hosts fails
Date Mon, 14 Mar 2016 17:25:33 GMT

     [ 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)

Mime
View raw message