[
https://issues.apache.org/jira/browse/AMBARI-13210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907226#comment-14907226
]
Jayush Luniya commented on AMBARI-13210:
----------------------------------------
Branch-2.1
commit 3815ed073a9f62f7811a4c36b0dc42d1b193e831
Author: Jayush Luniya <[email protected]>
Date: Thu Sep 24 15:55:36 2015 -0700
AMBARI-13210: RU - Install version stuck (jluniya)
> RU - Install version stuck
> --------------------------
>
> Key: AMBARI-13210
> URL: https://issues.apache.org/jira/browse/AMBARI-13210
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, ambari-server
> Affects Versions: 2.1.1
> Reporter: Jayush Luniya
> Assignee: Jayush Luniya
> Priority: Critical
> Fix For: 2.1.2
>
>
> Installed HDP 2.3.0.0-2557 on 3 hosts running CentOS with only HDFS, ZK
> RU to HDP 2.3.2.0-2766 finished
> Tried installing HDP 2.3.2.0-2775, which failed on one host and the version
> was stuck on INSTALLING
> The installation command failed, but the DB was never updated.
> I then stopped ambari server, edited the DB by changing the host_version and
> cluster_version states to INSTALL_FAILED, and the retry was able to install
> the bits successfully; however, the DB was again stuck in INSTALLING.
> This is ambari build ambari-server-2.1.1-243 (actually 2.1.2 candidate)
> ambari-server --hash
> 50b2ca590aa52977ecca87d689cf3aef919eda1f (AMBARI-13022 from sept 15)
> {code}
> 2015-09-20 06:50:46,727 - Package Manager failed to install packages. Error:
> Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*'
> --enablerepo=HDP-2.3.2.0-2775,HDP-UTILS-2.3.2.0-2775 rpcbind' returned 1.
> Error: Cannot find a valid baseurl for repo: base
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
> 12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os:
> (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30
> seconds')
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 233, 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 152, in run
> self.run_action(resource, action)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 118, in run_action
> provider_action()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
> line 45, 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/yumrpm.py",
> line 49, in install_package
> shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 70, in inner
> result = function(command, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 92, in checked_call
> tries=tries, try_sleep=try_sleep)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 140, in _call_wrapper
> result = _call(command, **kwargs_copy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 291, in _call
> raise Fail(err_msg)
> Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*'
> --enablerepo=HDP-2.3.2.0-2775,HDP-UTILS-2.3.2.0-2775 rpcbind' returned 1.
> Error: Cannot find a valid baseurl for repo: base
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
> 12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os:
> (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30
> seconds')
> 2015-09-20 06:50:46,960 - Attempting to determine actual version with build
> number.
> 2015-09-20 06:50:46,960 - Old versions: ['2.3.0.0-2557', '2.3.2.0-2766']
> 2015-09-20 06:50:46,979 - New versions: ['2.3.0.0-2557', '2.3.2.0-2766']
> 2015-09-20 06:50:46,980 - Deltas: set([])
> 2015-09-20 06:50:46,980 - Cannot determine a new actual version installed by
> using the delta method.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)