[ https://issues.apache.org/jira/browse/AMBARI-18285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15452191#comment-15452191 ]
Hudson commented on AMBARI-18285: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5605 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5605/]) AMBARI-18285. Ambari upgrade from 2.4.0.x version fails. (aonishuk) (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a6558f869d1a60a09d9729b39795e44f85e0cb09]) * (edit) ambari-server/src/main/package/rpm/preinstall.sh > Ambari upgrade from 2.4.0.x version fails. > ------------------------------------------- > > Key: AMBARI-18285 > URL: https://issues.apache.org/jira/browse/AMBARI-18285 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.4.1 > > Attachments: AMBARI-18285.patch > > > > nat-s11-4-aiws-1226-5:~ # ambari-server upgrade -v > Using python /usr/bin/python > Upgrading ambari-server > Updating properties in ambari.properties ... > WARNING: Can not find ambari.properties.rpmsave file from previous > version, skipping import of settings > INFO: Can not find ambari-env.sh.rpmsave file from previous version, > skipping restore of environment settings. ambari-env.sh may not include any > user customization. > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > INFO: No mpack replay logs found. Skipping replaying mpack commands > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > Fixing database objects owner > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > INFO: about to run command: ['ambari-sudo.sh', 'su', 'postgres', '-', > '--command=/var/lib/ambari-server/resources/scripts/change_owner.sh -d ambari > -s ambari -o \'"ambari"\''] > INFO: Fixed database objects owner > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > Traceback (most recent call last): > File "/usr/sbin/ambari-server.py", line 754, in <module> > mainBody() > File "/usr/sbin/ambari-server.py", line 725, in mainBody > main(options, args, parser) > File "/usr/sbin/ambari-server.py", line 678, in main > action_obj.execute() > File "/usr/sbin/ambari-server.py", line 69, in execute > self.fn(*self.args, **self.kwargs) > File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", > line 370, in upgrade > retcode = run_schema_upgrade(args) > File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", > line 249, in run_schema_upgrade > db_title = get_db_type(get_ambari_properties()).title > AttributeError: 'NoneType' object has no attribute 'title' > -- This message was sent by Atlassian JIRA (v6.3.4#6332)