[ 
https://issues.apache.org/jira/browse/METRON-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892593#comment-16892593
 ] 

ATAMEKLO K. Sena commented on METRON-2095:
------------------------------------------

i'am experiencing the same issue.

Any Help here ?

Regards

> MPack Install Failure on Ubuntu
> -------------------------------
>
>                 Key: METRON-2095
>                 URL: https://issues.apache.org/jira/browse/METRON-2095
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Nick Allen
>            Priority: Major
>
> The following error occurs when launching the Ubuntu development environment. 
>  This error occurs on whichever Metron component is installed first.
> For example, in this case the "Metron Alerts UI Install" step failed.
> {code:java}
> Traceback (most recent call last):
> File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.1/package/scripts/alerts_ui_master.py",
>  line 92, in <module>
> AlertsUIMaster().execute()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 375, in execute
> method(env)
> File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.1/package/scripts/alerts_ui_master.py",
>  line 41, in install
> self.install_packages(env)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 821, in install_packages
> retry_count=agent_stack_retry_count)
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 166, in __init__
> self.env.run()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
>  line 53, 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/apt.py",
>  line 75, in wrapper
> return function_to_decorate(self, name, *args[2:])
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py",
>  line 376, in install_package
> self.checked_call_with_retries(cmd, sudo=True, env=INSTALL_CMD_ENV, 
> logoutput=self.get_logoutput())
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
>  line 266, in checked_call_with_retries
> return self._call_with_retries(cmd, is_checked=True, **kwargs)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries
> code, out = func(cmd, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 72, in inner
> result = function(command, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 102, in checked_call
> tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 150, in _call_wrapper
> result = _call(command, **kwargs_copy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 303, in _call
> raise ExecutionFailed(err_msg, code, out, err)
> resource_management.core.exceptions.ExecutionFailed: Execution of 
> '/usr/bin/apt-get -q -o Dpkg::Options::=--force-confdef 
> --allow-unauthenticated --assume-yes install metron-hbase-server' returned 
> 100. Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to locate package metron-hbase-server
> Traceback (most recent call last):
> File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.1/package/scripts/alerts_ui_master.py",
>  line 92, in <module>
> AlertsUIMaster().execute()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 375, in execute
> method(env)
> File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.1/package/scripts/alerts_ui_master.py",
>  line 41, in install
> self.install_packages(env)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 821, in install_packages
> retry_count=agent_stack_retry_count)
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 166, in __init__
> self.env.run()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
>  line 53, 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/apt.py",
>  line 75, in wrapper
> return function_to_decorate(self, name, *args[2:])
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py",
>  line 376, in install_package
> self.checked_call_with_retries(cmd, sudo=True, env=INSTALL_CMD_ENV, 
> logoutput=self.get_logoutput())
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
>  line 266, in checked_call_with_retries
> return self._call_with_retries(cmd, is_checked=True, **kwargs)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries
> code, out = func(cmd, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 72, in inner
> result = function(command, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 102, in checked_call
> tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 150, in _call_wrapper
> result = _call(command, **kwargs_copy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", 
> line 303, in _call
> raise ExecutionFailed(err_msg, code, out, err){code}
> This likely was introduced by 
> [https://github.com/apache/metron/pull/1365|#1365].  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to