Failure upgrading RHEV: value too long for type character varying(17)
Issue
- While trying to upgrade RHEV from 3.5 to 3.6, got the following error message:
[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute
- In setup logs:
psql:/usr/share/ovirt-engine/dbscripts/upgrade/03_06_0090_add_mac_pool_ranges_to_storage_pool.sql:42: ERROR: value too long for type character varying(17)
FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine/dbscripts/upgrade/03_06_0090_add_mac_pool_ranges_to_storage_pool.sql
2016-10-01 23:41:15 DEBUG otopi.context context._executeMethod:156 method exception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 146, in _executeMethod
method['method']()
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 291, in _misc
oenginecons.EngineDBEnv.PGPASS_FILE
File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 946, in execute
command=args[0],
RuntimeError: Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute
Environment
- Red Hat Enterprise Virtualization 3.5
- Upgrade
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.