[
https://issues.apache.org/jira/browse/AMBARI-13694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987687#comment-14987687
]
Hudson commented on AMBARI-13694:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.1 #790 (See
[https://builds.apache.org/job/Ambari-branch-2.1/790/])
AMBARI-13694 Code to read keysdir cannot handle space in the front (dsen:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a67b1e12d077ba0e3b6d9b190d6c24a9b5e2a271])
* ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
* ambari-agent/conf/unix/ambari-agent
* ambari-agent/src/test/python/ambari_agent/TestAmbariConfig.py
> Code to read keysdir cannot handle space in the front
> -----------------------------------------------------
>
> Key: AMBARI-13694
> URL: https://issues.apache.org/jira/browse/AMBARI-13694
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.1.2
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.1.3
>
> Attachments: AMBARI-13694.patch
>
>
> It seems that after ambari agent upgrade spaces get added before and after
> {{=}} in the .ini file.
> pre-upgrade
> {{keysdir=/var/lib/ambari-agent/keys}}
> post upgrade
> {{keysdir = /var/lib/ambari-agent/keys}}
> This result in:
> {code}
> chown: cannot access ` /var/lib/ambari-agent/keys': No such file or directory
> ...
> [root@c6401 vagrant]# ambari-agent start
> Verifying Python version compatibility...
> Using python /usr/bin/python2.6
> Checking for previously running Ambari Agent...
> chown: cannot access ` /var/lib/ambari-agent/keys': No such file or directory
> Starting ambari-agent
> Verifying ambari-agent process status...
> Ambari Agent successfully started
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)