-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35213/#review87047
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On June 8, 2015, 10:34 a.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35213/
> -----------------------------------------------------------
> 
> (Updated June 8, 2015, 10:34 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, and Nate 
> Cole.
> 
> 
> Bugs: AMBARI-11789
>     https://issues.apache.org/jira/browse/AMBARI-11789
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Can not install packages.
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", 
> line 98, in actionexecute
>     Package(name, use_repos=list(current_repo_files) if 
> OSCheck.is_ubuntu_family() else current_repositories)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 157, 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)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py",
>  line 69, 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 68, in inner
>     result = function(command, **kwargs)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 86, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user, 
> wait_for_finish, timeout, path, sudo, on_new_line)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 204, in _call
>     raise Fail(err_msg)
> Fail: Execution of '/usr/bin/zypper --quiet install 
> --auto-agree-with-licenses --no-confirm --repo 'rhui*' --repo 
> HDP-2.3.0.0-2273 --repo HDP-UTILS-2.3.0.0-2273 datafu' returned 3. Repository 
> 'rhui*' not found by its alias, number, or URI.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py 
> bbcc101 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py 3b3d0dc 
> 
> Diff: https://reviews.apache.org/r/35213/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 266 tests in 6.220s
> 
> OK
> ----------------------------------------------------------------------
> Total run:783
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>

Reply via email to