Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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!
Attachments
Issue Links
- links to