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