Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E25A7176D8 for ; Mon, 25 May 2015 14:15:17 +0000 (UTC) Received: (qmail 71176 invoked by uid 500); 25 May 2015 14:15:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 71139 invoked by uid 500); 25 May 2015 14:15:17 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 70987 invoked by uid 99); 25 May 2015 14:15:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 May 2015 14:15:17 +0000 Date: Mon, 25 May 2015 14:15:17 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-11370) Agent configs upgrade fails on upgrade 1.6.0 -> 2.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-11370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk resolved AMBARI-11370. -------------------------------------- Resolution: Fixed Committed to trunk > 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 > 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)