ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17404) RU/EU Install packages fails on non-root
Date Thu, 23 Jun 2016 14:04:16 GMT

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

Andrew Onischuk commented on AMBARI-17404:
------------------------------------------

{noformat}
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 148 licence.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [2.230s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.019s]
[INFO] Ambari Server ..................................... SUCCESS [56.946s]
[INFO] Ambari Agent ...................................... SUCCESS [11.113s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:12.148s
[INFO] Finished at: Thu Jun 23 16:44:54 EEST 2016
[INFO] Final Memory: 68M/1103M
[INFO] ------------------------------------------------------------------------
{noformat}

> RU/EU Install packages fails on non-root
> ----------------------------------------
>
>                 Key: AMBARI-17404
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17404
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17404.patch
>
>
>     2016-06-23 13:39:05,672 - Could not install packages. Error: Execution of '/usr/bin/apt-get
-qq check' returned 100. E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
>     E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 166, in actionexecute
>         ret_code = self.install_packages(package_list)
>       File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 400, in install_packages
>         if not verifyDependencies():
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/packages_analyzer.py",
line 309, in verifyDependencies
>         code, out = rmf_shell.checked_call(cmd)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
71, in inner
>         result = function(command, **kwargs)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
93, in checked_call
>         tries=tries, try_sleep=try_sleep)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
141, in _call_wrapper
>         result = _call(command, **kwargs_copy)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
294, in _call
>         raise Fail(err_msg)
>     Fail: Execution of '/usr/bin/apt-get -qq check' returned 100. E: Could not open lock
file /var/lib/dpkg/lock - open (13: Permission denied)
>     E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 469, in <module>
>         InstallPackages().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 280, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 179, in actionexecute
>         raise Fail("Failed to distribute repositories/install packages")
>     resource_management.core.exceptions.Fail: Failed to distribute repositories/install
packages
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message