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-11370) Agent configs upgrade fails on upgrade 1.6.0 -> 2.0.1
Date Mon, 25 May 2015 16:59:17 GMT

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

Hudson commented on AMBARI-11370:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2701 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2701/])
AMBARI-11370. Agent configs upgrade fails on upgrade 1.6.0 -> 2.0.1 (aonishuk) (aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7102a7765be17338d5d2d4d6ce4558dcfc30e93b)
* ambari-agent/conf/unix/upgrade_agent_configs.py


> Agent configs upgrade fails on upgrade 1.6.0 -> 2.0.1
> -----------------------------------------------------
>
>                 Key: AMBARI-11370
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11370
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> ambari-agent.ini config upgrade fails on upgrade from Ambari 1.6.0 -> 2.0.1.
> (1.7 and 2.0 upgrade is fine)  
> Impact: Server hostname is changed to the default 'localhost' and all other
> custom configs are restored to defaults.  
> Old configs are saved to backup, so user can restore it manually.
>     
>     
>     Running Transaction
>       Updating   : ambari-agent-2.0.1-45.x86_64                                     
                                                                                         
                              1/2 
>     #includedir /etc/sudoers.d
>     Upgrading configs in /etc/ambari-agent/conf/ambari-agent.ini
>     Values will be updated from /etc/ambari-agent/conf/ambari-agent.ini.old except the
following list: [('heartbeat', 'dirs')]
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/upgrade_agent_configs.py", line 44, in <module>
>         agent_config.set(section, property_name, property_val)
>       File "/usr/lib64/python2.6/ConfigParser.py", line 377, in set
>         raise NoSectionError(section)
>     ConfigParser.NoSectionError: No section: 'puppet'
>       Cleanup    : ambari-agent-1.6.0-46.x86_64                                     
                                                                                         
                              2/2 
>       Verifying  : ambari-agent-2.0.1-45.x86_64                                     
                                                                                         
                              1/2 
>       Verifying  : ambari-agent-1.6.0-46.x86_64                                     
                                                                                         
                              2/2 
>     
>     Updated:
>       ambari-agent.x86_64 0:2.0.1-45                                                
                                                                                         
                                  
>     
>     Complete!
>     



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

Mime
View raw message