Skip to main content

Upgrade to 7.0 from 6.1, Upgrading database on single node failed with Error: 'NoneType' object is

  • January 24, 2014
  • 2 replies
  • 25 views

duc_luu
Upgrade to 7.0 from 6.1, Upgrading database on single node failed with Error: 'NoneType' object is not subscriptable Traceback (most recent call last): File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/install/__init__.py", line 1032, in run_install _main(options) File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/install/__init__.py", line 925, in _main if not run_upgrades(running_as, options.vertica_dba_user, executor): File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/install/__init__.py", line 90, in run_upgrades return IntegrateSpread.upgrade_integrate_spread(running_as,user,executor) File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/upgrade/IntegrateSpread.py", line 213, in upgrade_integrate_spread if not upgrade_db(pool, db, nodes, clustersettings, profiles, aexec, spreadInfo['port'], userName): File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/upgrade/IntegrateSpread.py", line 273, in upgrade_db 'controlAddress': profiles[host][0],

2 replies

Abhi_1
Forum|alt.badge.img
  • Participating Frequently
  • January 24, 2014
This is a known issue , the installer is unable to get the broadcast ipaddress.
Try the below on all the nodes
ifdown lo
revert to original admintools.conf
move the vspread.conf.preupgrade to vspread.conf
start the installer

Michael_Johnson
I had a similar error doing an upgrade because I had multiple ip addresses on the interface.
Check this with "/sbin/ip -oneline -family inet addr"
You can then remove the extra ip addresses with "ip addr del <ip address> dev <interface ID>"