----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55924/#review162954 -----------------------------------------------------------
Ship it! Ship It! - Dmitro Lisnichenko On Jan. 25, 2017, 1:26 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55924/ > ----------------------------------------------------------- > > (Updated Jan. 25, 2017, 1:26 p.m.) > > > Review request for Ambari and Dmitro Lisnichenko. > > > Bugs: AMBARI-19706 > https://issues.apache.org/jira/browse/AMBARI-19706 > > > Repository: ambari > > > Description > ------- > > Commit debug code to able to debug process conflits like below: > > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/SLIDER/0.60.0.2.2/package/scripts/slider_client.py", > line 73, in <module> > SliderClient().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 313, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/SLIDER/0.60.0.2.2/package/scripts/slider_client.py", > line 56, in install > self.install_packages(env) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 604, in install_packages > retry_count=agent_stack_retry_count) > File > "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line > 155, 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 54, 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 59, in install_package > self.checked_call_with_retries(cmd, sudo=True, > logoutput=self.get_logoutput()) > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", > line 86, 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 98, 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/zypper --quiet install --auto-agree-with-licenses --no-confirm > slider_2_6_0_0_390' returned 7. System management is locked by the > application with pid 23158 (/usr/bin/zypper). > Close this application before trying again. > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/PythonExecutor.py dfe361a > > Diff: https://reviews.apache.org/r/55924/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
