ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12082) Ambari agent temp directory has wrong permissions on ambari-server host
Date Tue, 23 Jun 2015 16:38:00 GMT

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

Hudson commented on AMBARI-12082:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2980 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2980/])
AMBARI-12082. Ambari agent temp directory has wrong permissions on ambari-server host (rlevas)
(rlevas: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0c98119f5fa09bf884e3c3ed394415bc8776fb74)
* ambari-agent/pom.xml


> Ambari agent temp directory has wrong permissions on ambari-server host
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-12082
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12082
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.1.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12082_01.patch
>
>
> The Ambari agent temp directory (typically /var/lib/ambari-agent/data/tmp) has the incorrect
permissions on the Ambari server host. This is causing web alert errors on SUSE 11.3 for tests
 that do not run as root when Kerberos is enabled.  The issues appears to be masked on other
platforms. 
> The permissions should be 777 but appear to be 655.
> {noformat:title=Ambari server host}
> $ ls -ld /var/lib/ambari-agent/data/tmp
> drwxr-xr-x. 6 root root 4096 Jun 22 23:08 /var/lib/ambari-agent/data/tmp
> {noformat}
> {noformat:title=Ambari agent host}
> # ls -ld /var/lib/ambari-agent/data/tmp
> drwxrwxrwx. 7 root root 4096 Jun 22 23:08 /var/lib/ambari-agent/data/tmp
> {noformat}
> An example of the related errror found in the alert message on a SUSE 11.3 cluster 
> {noformat}
> Connection failed to http://HOST:50070 (Execution of '/usr/bin/kinit -l 5m -c /var/lib/ambari-agent/data/tmp/web_alert_cc_66ba10499e9d406dec0c7f30fda53f8f
-kt /etc/security/keytabs/spnego.service.keytab HTTP/HOST@EXAMPLE.COM > /dev/null' returned
1. kinit(v5): Credentials cache permissions incorrect when initializing cache /var/lib/ambari-agent/data/tmp/web_alert_cc_66ba10499e9d406dec0c7f30fda53f8f)
> {noformat}
> Errors are seen for HDFS and Yarn after Kerberos is enabled on the cluster. 
> *Steps to reproduce:*
> # Install ambari-sever and ambari-agent packages - {{yum -y install ambari-agent ambari-server}}
> ** {noformat}
> # ls -ld /var/lib/ambari-agent/data/tmp/
> drwxrwxrwx. 2 root root 4096 Jun 22 22:33 /var/lib/ambari-agent/data/tmp/
> {noformat}
> # Setup Ambari server - {{ambari-server setup -s}}
> ** {noformat}
> # ls -ld /var/lib/ambari-agent/data/tmp/
> drwxrwxrwx. 2 root root 4096 Jun 22 22:33 /var/lib/ambari-agent/data/tmp/
> {noformat}
> # Start Ambari server - {{ambari-server start}}
> ** {noformat}
> # ls -ld /var/lib/ambari-agent/data/tmp/
> drwxrwxrwx. 2 root root 4096 Jun 22 22:33 /var/lib/ambari-agent/data/tmp/
> {noformat}
> # Create cluster
> ** After 'Confirm Hosts' page completes:  
> ** {noformat}
> # ls -ld /var/lib/ambari-agent/data/tmp/
> drwxr-xr-x. 3 root root 4096 Jun 22 23:47 /var/lib/ambari-agent/data/tmp/
> {noformat}



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

Mime
View raw message