Dmytro Sen created AMBARI-13694:
-----------------------------------
Summary: 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
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)