ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Harp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-5166) ganglia_server.py:configure fails if /var/lib/ganglia/rrds is a symlink
Date Fri, 28 Mar 2014 17:41:15 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-5166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Harp resolved AMBARI-5166.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.1
         Assignee: Michael Harp

Fixed in AMBARI-5264, thanks Vitaly!

> ganglia_server.py:configure fails if /var/lib/ganglia/rrds is a symlink
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-5166
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5166
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: sles11sp1
>            Reporter: Michael Harp
>            Assignee: Michael Harp
>             Fix For: 1.5.1
>
>
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server.py",
line 224, in <module>
>     GangliaServer().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 95, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server.py",
line 34, in install
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server.py",
line 167, in configure
>     server_files()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server.py",
line 210, in server_files
>     action = "delete"
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148,
in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
149, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
115, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 167, in action_delete
>     shutil.rmtree(path)
>   File "/usr/lib64/python2.6/shutil.py", line 197, in rmtree
>     onerror(os.path.islink, path, sys.exc_info())
>   File "/usr/lib64/python2.6/shutil.py", line 195, in rmtree
>     raise OSError("Cannot call rmtree on a symbolic link")
> OSError: Cannot call rmtree on a symbolic link



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message