
Hi, I am trying to run engine-setup on latest master and it is failing on the database upgrade portion. The relevant part of the log is here. Can anyone help me solve this? psql:/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/common_sp.sql:1117: NOTICE: drop cascades to function fn_db_get_async_tasks() NOTICE: drop cascades to trigger delete_disk_image_dynamic_for_image on table images psql:/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql:57: ERROR: integer out of range FATAL: Cannot execute sql command: --file=/home/awels/ovirt- **FILTERED**/share/ovirt- **FILTERED**/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql 2016-01-05 09:18:21 DEBUG otopi.context context._executeMethod:156 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in _executeMethod method['method']() File "/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt- **FILTERED**/db/schema.py", line 291, in _misc o**FILTERED**cons.EngineDBEnv.PGPASS_FILE File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 946, in execute command=args[0], RuntimeError: Command '/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/schema.sh' failed to execute Thanks, Alexander

On 05 Jan 2016, at 15:27, Alexander Wels <awels@redhat.com> wrote:
Hi,
I am trying to run engine-setup on latest master and it is failing on the database upgrade portion. The relevant part of the log is here. Can anyone help me solve this?
psql:/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/common_sp.sql:1117: NOTICE: drop cascades to function fn_db_get_async_tasks() NOTICE: drop cascades to trigger delete_disk_image_dynamic_for_image on table images psql:/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql:57: ERROR: integer out of range FATAL: Cannot execute sql command: --file=/home/awels/ovirt- **FILTERED**/share/ovirt- **FILTERED**/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql
2016-01-05 09:18:21 DEBUG otopi.context context._executeMethod:156 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in _executeMethod method['method']() File "/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt- **FILTERED**/db/schema.py", line 291, in _misc o**FILTERED**cons.EngineDBEnv.PGPASS_FILE File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 946, in execute command=args[0], RuntimeError: Command '/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/schema.sh' failed to execute
Thanks, Alexander _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

My bad, fix is posted: https://gerrit.ovirt.org/#/c/51420/1 ----- Original Message -----
Hi,
I am trying to run engine-setup on latest master and it is failing on the database upgrade portion. The relevant part of the log is here. Can anyone help me solve this?
psql:/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/common_sp.sql:1117: NOTICE: drop cascades to function fn_db_get_async_tasks() NOTICE: drop cascades to trigger delete_disk_image_dynamic_for_image on table images psql:/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql:57: ERROR: integer out of range FATAL: Cannot execute sql command: --file=/home/awels/ovirt- **FILTERED**/share/ovirt- **FILTERED**/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql
2016-01-05 09:18:21 DEBUG otopi.context context._executeMethod:156 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in _executeMethod method['method']() File "/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt- **FILTERED**/db/schema.py", line 291, in _misc o**FILTERED**cons.EngineDBEnv.PGPASS_FILE File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 946, in execute command=args[0], RuntimeError: Command '/home/awels/ovirt-**FILTERED**/share/ovirt- **FILTERED**/dbscripts/schema.sh' failed to execute
Thanks, Alexander _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (3)
-
Alexander Wels
-
Arik Hadas
-
Michal Skrivanek